![]() ![]() | ![]() |
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-thunderbird.common,v 1.47 2009/07/22 09:01:35 wiz Exp $ # used by mail/thunderbird/Makefile # used by mail/thunderbird-gtk1/Makefile MOZILLA_BIN= thunderbird-bin MOZ_VER= 2.0.0.22 EXTRACT_SUFX= .tar.bz2 DISTNAME= thunderbird-${MOZ_VER}-source CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${MOZ_VER}/source/} HOMEPAGE= http://www.mozilla.com/en-US/thunderbird/ CONFIGURE_ENV+= MOZ_THUNDERBIRD=1 MAKE_ENV+= MOZ_THUNDERBIRD=1 DISTINFO_FILE= ${.CURDIR}/../../mail/thunderbird/distinfo PATCHDIR= ${.CURDIR}/../../mail/thunderbird/patches CONFIGURE_ARGS+= --enable-application=mail CONFIGURE_ARGS+= --enable-debug=-g CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/chrome/app-chrome.manifest CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/compreg.dat CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/xpti.dat .PHONY: install-desktop post-install: install-desktop install-desktop: ${SED} \ -e 's|@MOZILLA@|${MOZILLA}|g' \ -e 's|@MOZILLA_NAME@|Thunderbird|g' \ -e 's|@MOZILLA_ICON@|${MOZILLA}.xpm|g' \ < ${.CURDIR}/../../mail/thunderbird/files/thunderbird.desktop.in \ > ${WRKDIR}/${MOZILLA}.desktop ${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop \ ${DESTDIR:Q}${PREFIX:Q}/share/applications/${MOZILLA}.desktop ${LN} -sf ${DESTDIR:Q}${PREFIX:Q}/lib/${MOZILLA}/chrome/icons/default/default.xpm \ ${DESTDIR:Q}${PREFIX:Q}/share/pixmaps/${MOZILLA}.xpm INSTALLATION_DIRS+= share/applications share/pixmaps PKG_DESTDIR_SUPPORT= user-destdir .include "../../www/seamonkey/Makefile.common"