openbsd-ports/x11/e17/ecore/Makefile
ajacoutot 0bbbd35e32 register-plist did not catch the devel/glib2 -main -> empty change.
espie asked me in such a nice way to fix this that I'm bumping all ports
that have a direct dependency on glib2.
2012-09-01 14:36:56 +00:00

48 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2012/09/01 14:36:58 ajacoutot Exp $
COMMENT = core event/X abstraction layer
DISTNAME = ecore-1.0.0
REVISION = 2
EPOCH = 2
SO_VERSION = 1.0
# NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues.
.for _lib in ecore ecore_con ecore_evas ecore_file ecore_imf \
ecore_imf_evas ecore_input ecore_input_evas ecore_ipc ecore_x
SHARED_LIBS += ${_lib} ${SO_VERSION}
.endfor
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES = devel/gettext
USE_LIBTOOL = Yes
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xss Xtst cares crypto curl
WANTLIB += eet eina evas expat fontconfig freetype fribidi glib-2.0 idn
WANTLIB += jpeg m pcre ssl xcb z
LIB_DEPENDS = devel/glib2 \
devel/fribidi \
net/curl \
net/libcares \
x11/e17/evas>=1.0
CONFIGURE_ARGS += --disable-doc \
--disable-gnutls \
--enable-cares
# perf ?
# --with-internal-maximum-log-level=2
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
.include <bsd.port.mk>