2011-11-17 06:42:31 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2011/11/17 11:42:31 jasper Exp $
|
2011-09-23 04:10:49 -04:00
|
|
|
|
|
|
|
# XXX fix building with glib2 >= 2.29 (G_CONST_RETURN is deprecated)
|
|
|
|
CFLAGS += "-DG_CONST_RETURN=const"
|
2009-10-11 07:31:13 -04:00
|
|
|
|
|
|
|
COMMENT = plugin framework library
|
|
|
|
|
2009-11-30 17:28:06 -05:00
|
|
|
VERSION = 0.2.2
|
2009-10-11 07:31:13 -04:00
|
|
|
DISTNAME = ethos-${VERSION}
|
2011-11-04 05:18:43 -04:00
|
|
|
REVISION = 11
|
2009-10-11 07:31:13 -04:00
|
|
|
|
2009-11-30 17:28:06 -05:00
|
|
|
SHARED_LIBS= ethos-1.0 1.0 \
|
2009-10-11 07:31:13 -04:00
|
|
|
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
|
2009-10-11 09:37:47 -04:00
|
|
|
CONFIGURE_ARGS = --disable-shave \
|
2010-09-28 16:13:38 -04:00
|
|
|
--disable-glibtest \
|
2011-04-07 07:17:08 -04:00
|
|
|
--enable-introspection
|
2009-10-11 09:37:47 -04:00
|
|
|
|
2009-11-30 17:28:06 -05:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2011-11-17 06:42:31 -05:00
|
|
|
USE_LIBTOOL = Yes
|
2009-10-11 07:31:13 -04:00
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
|
|
|
MODULES = lang/python \
|
2009-12-22 06:01:24 -05:00
|
|
|
devel/gettext \
|
|
|
|
textproc/intltool
|
2009-10-11 07:31:13 -04:00
|
|
|
|
2011-04-07 07:17:08 -04:00
|
|
|
BUILD_DEPENDS +=devel/gobject-introspection \
|
|
|
|
${RUN_DEPENDS}
|
2009-10-19 08:11:12 -04:00
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
RUN_DEPENDS += x11/py-gtk2
|
2009-10-19 08:11:12 -04:00
|
|
|
|
2009-10-11 07:31:13 -04:00
|
|
|
LIB_DEPENDS = ${MODPY_LIB_DEPENDS} \
|
2010-11-15 14:45:56 -05:00
|
|
|
x11/gtk+2
|
2009-10-11 07:31:13 -04:00
|
|
|
|
2011-11-04 05:18:43 -04:00
|
|
|
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes
|
2009-10-11 07:31:13 -04:00
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
2010-09-30 03:21:18 -04:00
|
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 gdk_pixbuf-2.0
|
2010-04-02 12:02:27 -04:00
|
|
|
WANTLIB += pcre pixman-1 png pthread-stubs xcb z ffi
|
2010-11-08 04:57:39 -05:00
|
|
|
WANTLIB += ${MODPY_WANTLIB} gtk-x11-2.0 gdk-x11-2.0
|
2011-11-04 05:18:43 -04:00
|
|
|
WANTLIB += GL gthread-2.0 xcb-render xcb-shm
|
2009-10-11 07:31:13 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|