40 lines
986 B
Makefile
40 lines
986 B
Makefile
# $OpenBSD: Makefile,v 1.15 2007/12/15 18:21:38 jasper Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= implementation of the FreeDesktop Desktop Menu Spec
|
|
|
|
GNOME_PROJECT= gnome-menus
|
|
GNOME_VERSION= 2.20.2
|
|
PKGNAME= ${DISTNAME}p0
|
|
SHARED_LIBS += gnome-menu 3.10 # .3.18
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= m rpcsvc stdc++ c pthread pcre
|
|
|
|
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>
|