![]() ![]() | ![]() |
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.34 2009/07/22 09:01:26 wiz Exp $ STELLA_VERSION= 2.8.4 DISTNAME= stella-${STELLA_VERSION}-src PKGNAME= stella-${STELLA_VERSION} CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stella/} MAINTAINER= dillo@NetBSD.org HOMEPAGE= http://stella.sourceforge.net/ COMMENT= Multi-platform Atari 2600 VCS emulator LICENSE= gnu-gpl-v2 PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_LANGUAGES= c c++ USE_TOOLS+= gmake UNLIMIT_RESOURCES= datasize HAS_CONFIGURE= YES CONFIGURE_ARGS+= --prefix=${PREFIX:Q} .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" GCC_REQD+= 3.0 .endif .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../devel/SDL/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../mk/bsd.pkg.mk"