pkgsrc/pkgtools/mksandbox/Makefile
jperkin be6bed6b44 mksandbox-1.3:
- Add /usr/sfw to SunOS mount dirs, required for certain binaries on
   newer releases.
 - Mount proper instances of /dev and /dev/fd on SunOS rather than relying
   on devfsadm and ucblinks, the latter of which does not exist on newer
   releases.
 - Do not create /var/games if the games user does not exist.
2013-07-24 22:16:26 +00:00

32 lines
833 B
Makefile

# $NetBSD: Makefile,v 1.7 2013/07/24 22:16:26 jperkin Exp $
DISTNAME= mksandbox-1.3
CATEGORIES= pkgtools
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= agc@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/docs/pkgsrc/bulk.html#setting-up-a-sandbox
COMMENT= Tool for creating sandboxes
LICENSE= 2-clause-bsd
WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_LANGUAGES= # none
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
do-extract:
cd ${FILESDIR} && cp mksandbox mksandbox.8 ${WRKSRC}/
.include "../../mk/bsd.prefs.mk"
SUBST_CLASSES+= up
SUBST_STAGE.up= do-configure
SUBST_FILES.up= mksandbox mksandbox.8
SUBST_SED.up+= -e 's,/usr/pkgsrc,${PKGSRCDIR},g'
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mksandbox ${DESTDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/mksandbox.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.include "../../mk/bsd.pkg.mk"