![]() ![]() | ![]() |
Remove USE_DIRS from pkgsrc. Shared directories can now be created independently by the pacakges needing them and will be removed automatically by pkg_delete when empty. Packages needing empty directories can use the @pkgdir command in PLIST. Discussed and ok'd in thread starting at http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
# $NetBSD: Makefile,v 1.47 2009/07/22 09:01:46 wiz Exp $ # DISTNAME= gnome-menus-2.26.2 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-menus/2.26/} EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gnome.org/ COMMENT= Implementation of the desktop menu specification for GNOME PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes USE_TOOLS+= gmake intltool msgfmt pkg-config USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes CONFIGURE_ARGS+= --disable-python INSTALL_MAKE_FLAGS+= ${MAKE_FLAGS} menudir=${EXAMPLEDIR} PKGCONFIG_OVERRIDE+= ${WRKSRC}/libmenu/libgnome-menu.pc.in EXAMPLEDIR= ${PREFIX}/share/examples/gnome-menus/xdg/menus OWN_DIRS= ${PKG_SYSCONFDIR}/xdg/menus CONF_FILES= ${EXAMPLEDIR}/applications.menu \ ${PKG_SYSCONFDIR}/xdg/menus/applications.menu CONF_FILES+= ${EXAMPLEDIR}/settings.menu \ ${PKG_SYSCONFDIR}/xdg/menus/settings.menu SUBST_CLASSES+= paths SUBST_STAGE.paths= pre-configure SUBST_MESSAGE.paths= Fixing paths to installation prefix. SUBST_FILES.paths= layout/*.menu SUBST_SED.paths= -e 's|/usr/|${PREFIX}/|g' SUBST_SED.paths+= -e 's|/etc/X11/applnk|${PREFIX}/share/kde/applnk/|g' BUILDLINK_API_DEPENDS.glib2+= glib2>=2.6.0 .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../mk/fam.buildlink3.mk" .include "../../mk/bsd.pkg.mk"