openbsd-ports/devel/ethos/Makefile
landry d69e4e7cbd Update to ethos 0.2.2, upstream fixed tarball so we can remove the
bundled headers in files. Tweak CONFIGURE_ENV to correctly find
libintl.h, bump ethos major as a function was renamed.
ok jasper@
2009-11-30 22:28:06 +00:00

49 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2009/11/30 22:28:06 landry Exp $
COMMENT = plugin framework library
VERSION = 0.2.2
DISTNAME = ethos-${VERSION}
SHARED_LIBS= ethos-1.0 1.0 \
ethos-ui-1.0 0.0
CATEGORIES = devel
HOMEPAGE = http://git.dronelabs.com/ethos/about/
MASTER_SITES = http://ftp.dronelabs.com/sources/ethos/0.2/
# LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --disable-shave \
--disable-glibtest
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LIBTOOL = Yes
USE_GMAKE = Yes
MODULES = lang/python \
devel/gettext
BUILD_DEPENDS += ${RUN_DEPENDS}
RUN_DEPENDS += ::x11/py-gtk2
LIB_DEPENDS = ${MODPY_LIB_DEPENDS} \
gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread-stubs xcb z
.include <bsd.port.mk>