openbsd-ports/x11/gnome/menus/Makefile

46 lines
1.0 KiB
Makefile
Raw Normal View History

2011-07-26 11:36:26 -04:00
# $OpenBSD: Makefile,v 1.45 2011/07/26 15:36:27 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= implementation of the FreeDesktop Desktop Menu Spec
GNOME_PROJECT= gnome-menus
2010-11-17 06:29:30 -05:00
GNOME_VERSION= 2.30.5
2011-07-26 11:36:26 -04:00
REVISION= 2
2010-04-20 11:14:28 -04:00
SHARED_LIBS += gnome-menu 5.1 # .6.6
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2009-10-11 06:05:34 -04:00
WANTLIB += m pcre util z glib-2.0 gio-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0
WANTLIB += ${MODPY_WANTLIB}
MODULES= devel/gettext \
lang/python \
x11/gnome
DESKTOP_FILES= Yes
BUILD_DEPENDS= devel/gobject-introspection
2009-10-11 17:21:47 -04:00
LIB_DEPENDS= ${MODPY_LIB_DEPENDS} \
2010-11-22 03:36:47 -05:00
devel/glib2
RUN_DEPENDS= x11/py-gtk2>=2.10.3
CONFIGURE_ARGS+= --enable-introspection
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lm"
pre-configure:
${SUBST_CMD} ${WRKSRC}/layout/applications.menu
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-menus
mv ${WRKINST}${SYSCONFDIR}/* ${PREFIX}/share/examples/gnome-menus
.include <bsd.port.mk>