2011-07-26 11:36:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.45 2011/07/26 15:36:27 ajacoutot Exp $
|
2005-04-12 17:20:02 -04:00
|
|
|
|
2007-05-09 17:13:54 -04:00
|
|
|
SHARED_ONLY= Yes
|
2005-04-12 17:20:02 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
COMMENT= implementation of the FreeDesktop Desktop Menu Spec
|
2007-05-09 17:13:54 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
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
|
2009-11-14 11:39:44 -05:00
|
|
|
|
2010-04-20 11:14:28 -04:00
|
|
|
SHARED_LIBS += gnome-menu 5.1 # .6.6
|
2007-05-09 17:13:54 -04:00
|
|
|
|
2008-11-21 13:14:12 -05:00
|
|
|
# GPLv2/LGPLv2
|
2005-04-12 17:20:02 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-10-11 06:05:34 -04:00
|
|
|
|
2010-07-25 04:15:32 -04:00
|
|
|
WANTLIB += m pcre util z glib-2.0 gio-2.0 gmodule-2.0 gobject-2.0
|
|
|
|
WANTLIB += gthread-2.0
|
2010-10-24 11:53:55 -04:00
|
|
|
WANTLIB += ${MODPY_WANTLIB}
|
2005-04-12 17:20:02 -04:00
|
|
|
|
2007-05-09 17:13:54 -04:00
|
|
|
MODULES= devel/gettext \
|
2007-07-05 18:50:10 -04:00
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
2005-04-12 17:20:02 -04:00
|
|
|
|
2008-02-03 15:45:40 -05:00
|
|
|
DESKTOP_FILES= Yes
|
|
|
|
|
2011-04-07 04:32:01 -04:00
|
|
|
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
|
2005-04-12 17:20:02 -04:00
|
|
|
|
2011-04-07 04:32:01 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-introspection
|
2005-04-12 17:20:02 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2009-04-26 07:01:04 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lm"
|
2007-05-09 17:13:54 -04:00
|
|
|
|
|
|
|
pre-configure:
|
2009-01-07 14:46:05 -05:00
|
|
|
${SUBST_CMD} ${WRKSRC}/layout/applications.menu
|
2005-04-12 17:20:02 -04:00
|
|
|
|
|
|
|
post-install:
|
2007-05-09 17:13:54 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-menus
|
|
|
|
mv ${WRKINST}${SYSCONFDIR}/* ${PREFIX}/share/examples/gnome-menus
|
2005-04-12 17:20:02 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|