openbsd-ports/x11/gnome/menus/Makefile

42 lines
945 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.54 2011/09/28 08:21:01 jasper Exp $
SHARED_ONLY= Yes
COMMENT= implementation of the FreeDesktop Desktop Menu Spec
GNOME_PROJECT= gnome-menus
GNOME_VERSION= 3.2.0.1
SHARED_LIBS += gnome-menu-3 0.0 # 0.0
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2009-10-11 06:05:34 -04:00
WANTLIB += ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += pcre z
MODULES= devel/gettext \
2011-09-26 07:03:12 -04:00
lang/python \
x11/gnome
MODGNOME_DESKTOP_FILE= Yes
2011-09-12 03:28:52 -04:00
RUN_DEPENDS= devel/gobject-introspection
LIB_DEPENDS= devel/glib2
2011-09-20 16:52:45 -04:00
MODGNOME_TOOLS= goi
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
2011-09-12 03:28:52 -04:00
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>