openbsd-ports/x11/gnome/menus/Makefile
jasper 7af8f3fbb2 convert these gnome ports to use the new x11/gnome module.
this module is now mature enough to be used in new ports too.

feedback and ok martynas@
2007-07-05 22:50:10 +00:00

39 lines
956 B
Makefile

# $OpenBSD: Makefile,v 1.11 2007/07/05 22:50:11 jasper Exp $
SHARED_ONLY= Yes
COMMENT= implementation of the FreeDesktop Desktop Menu Spec
GNOME_PROJECT= gnome-menus
GNOME_VERSION= 2.18.2
SHARED_LIBS += gnome-menu 3.9 # .3.9
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m rpcsvc stdc++ c pthread
MODULES= devel/gettext \
lang/python \
x11/gnome
LIB_DEPENDS= glib-2.0.>=0::devel/glib2 \
fam.>=0::sysutils/fam
RUN_DEPENDS= :py-gtk2->=2.10.3:x11/py-gtk2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lm" \
PYTHON="${MODPY_BIN}"
pre-configure:
perl -pi -e 's,!!MODPY_BIN!!,${MODPY_BIN},' \
${WRKSRC}/simple-editor/gmenu-simple-editor.in
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-menus
mv ${WRKINST}${SYSCONFDIR}/* ${PREFIX}/share/examples/gnome-menus
.include <bsd.port.mk>