summaryrefslogtreecommitdiff
path: root/sysutils/user_darwin
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 20:28:15 +0000
committerjoerg <joerg>2010-01-27 20:28:15 +0000
commitc1e5e8651859f0372a822a547f7c0e84c21c7d91 (patch)
treef8452a5a42e2853e51f88791e637257e9a3dd29d /sysutils/user_darwin
parent421b62249224782194f639056abbe84953bd8967 (diff)
downloadpkgsrc-c1e5e8651859f0372a822a547f7c0e84c21c7d91.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/user_darwin')
-rw-r--r--sysutils/user_darwin/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/user_darwin/Makefile b/sysutils/user_darwin/Makefile
index 5c4b8dc0c51..f54442ca50f 100644
--- a/sysutils/user_darwin/Makefile
+++ b/sysutils/user_darwin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2009/04/14 22:35:45 schmonz Exp $
+# $NetBSD: Makefile,v 1.9 2010/01/27 20:30:24 joerg Exp $
#
DISTNAME= user-20071026
@@ -9,6 +9,8 @@ DISTFILES= # empty
MAINTAINER= schmonz@NetBSD.org
COMMENT= Limited NetBSD-compatible useradd/groupadd commands
+PKG_DESTDIR_SUPPORT= user-destdir
+
ONLY_FOR_PLATFORM= Darwin-*-*
PKG_INSTALLATION_TYPES= overwrite pkgviews
@@ -19,9 +21,9 @@ NO_BUILD= yes
INSTALLATION_DIRS= sbin
do-install:
- ${INSTALL_SCRIPT} ${FILESDIR}/useradd.sh ${PREFIX}/sbin/useradd
- ${INSTALL_SCRIPT} ${FILESDIR}/userdel.sh ${PREFIX}/sbin/userdel
- ${INSTALL_SCRIPT} ${FILESDIR}/groupadd.sh ${PREFIX}/sbin/groupadd
- ${INSTALL_SCRIPT} ${FILESDIR}/groupdel.sh ${PREFIX}/sbin/groupdel
+ ${INSTALL_SCRIPT} ${FILESDIR}/useradd.sh ${DESTDIR}${PREFIX}/sbin/useradd
+ ${INSTALL_SCRIPT} ${FILESDIR}/userdel.sh ${DESTDIR}${PREFIX}/sbin/userdel
+ ${INSTALL_SCRIPT} ${FILESDIR}/groupadd.sh ${DESTDIR}${PREFIX}/sbin/groupadd
+ ${INSTALL_SCRIPT} ${FILESDIR}/groupdel.sh ${DESTDIR}${PREFIX}/sbin/groupdel
.include "../../mk/bsd.pkg.mk"