openbsd-ports/x11/gnome/menus/Makefile
ajacoutot 0070e11661 Use @unexec-delete instead of @unexec for the *-update-* goos and remove
@unexec for theme ports.

prodded by espie@ after me whining at the ports system ;)
discussed with espie@ sthen@ landry@
2009-12-21 18:03:17 +00:00

42 lines
955 B
Makefile

# $OpenBSD: Makefile,v 1.32 2009/12/21 18:03:19 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= implementation of the FreeDesktop Desktop Menu Spec
GNOME_PROJECT= gnome-menus
GNOME_VERSION= 2.28.0.1
PKGNAME= ${DISTNAME}p4
SHARED_LIBS += gnome-menu 5.0 # .6.2
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m pcre util
MODULES= devel/gettext \
lang/python \
x11/gnome
DESKTOP_FILES= Yes
LIB_DEPENDS= ${MODPY_LIB_DEPENDS} \
glib-2.0,gio-2.0,gmodule-2.0,gobject-2.0::devel/glib2
RUN_DEPENDS= :py-gtk2->=2.10.3:x11/py-gtk2
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>