47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.47 2011/09/12 12:04:17 jasper Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= implementation of the FreeDesktop Desktop Menu Spec
|
|
|
|
GNOME_PROJECT= gnome-menus
|
|
GNOME_VERSION= 3.0.1
|
|
REVISION= 2
|
|
|
|
SHARED_LIBS += gnome-menu 5.2 # .6.13
|
|
|
|
# GPLv2/LGPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
WANTLIB += m pcre util z glib-2.0 gio-2.0 gmodule-2.0 gobject-2.0
|
|
WANTLIB += gthread-2.0 ${MODPY_WANTLIB}
|
|
|
|
MODULES= devel/gettext \
|
|
lang/python \
|
|
x11/gnome
|
|
|
|
DESKTOP_FILES= Yes
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= devel/gobject-introspection
|
|
LIB_DEPENDS= ${MODPY_LIB_DEPENDS} \
|
|
devel/glib2
|
|
|
|
CONFIGURE_ARGS+= --enable-introspection
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
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>
|