summaryrefslogtreecommitdiff
path: root/security/sfs/Makefile
diff options
context:
space:
mode:
authorobache <obache>2011-03-19 08:29:20 +0000
committerobache <obache>2011-03-19 08:29:20 +0000
commit0b4a44c72be312d9b912c0d41b37cbd9bc969d7f (patch)
tree083d69bf42dc26438af72c6cde193ee1419456d4 /security/sfs/Makefile
parenta00affb8675f85e5374f69ce530accbf56ad8e49 (diff)
downloadpkgsrc-0b4a44c72be312d9b912c0d41b37cbd9bc969d7f.tar.gz
Marked as USER_DESTDIR ready.
Diffstat (limited to 'security/sfs/Makefile')
-rw-r--r--security/sfs/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/sfs/Makefile b/security/sfs/Makefile
index 3f2fe701799..cf304eadcb2 100644
--- a/security/sfs/Makefile
+++ b/security/sfs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2010/03/24 19:43:28 asau Exp $
+# $NetBSD: Makefile,v 1.36 2011/03/19 08:29:20 obache Exp $
#
DISTNAME= sfs-0.7.2
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fs.net/sfswww/
COMMENT= Secure, global, self-certifying network file system
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
SFS_USER?= sfs
@@ -45,9 +47,9 @@ SFSEXAMPLEDIR= ${PREFIX}/share/examples/sfs
MESSAGE_SUBST+= SFSDIR=${SFS_ROOT} SFSEXAMPLEDIR=${SFSEXAMPLEDIR}
post-install:
- ${INSTALL_DATA_DIR} ${SFSEXAMPLEDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${SFSEXAMPLEDIR}
@${SED} -e 's|@SFSDIR@|${SFS_ROOT}|g' ${FILESDIR}/sfsrwsd_config.sample \
- > ${SFSEXAMPLEDIR}/sfsrwsd_config.sample
+ > ${DESTDIR}${SFSEXAMPLEDIR}/sfsrwsd_config.sample
.include "../../devel/gmp/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"