summaryrefslogtreecommitdiff
path: root/devel/syncdir
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 17:45:33 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 17:45:33 +0000
commit4c8382aec039aefeebaf1aaac5cd7985337ed917 (patch)
tree620d08cc8bf79f9bacb7746632192670c7d6350d /devel/syncdir
parent3a62565eb9471348d02d74145e302b5675905a43 (diff)
downloadpkgsrc-4c8382aec039aefeebaf1aaac5cd7985337ed917.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/syncdir')
-rw-r--r--devel/syncdir/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/syncdir/Makefile b/devel/syncdir/Makefile
index 45c36fa284f..1f90e84ee6a 100644
--- a/devel/syncdir/Makefile
+++ b/devel/syncdir/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/09/28 20:52:20 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/03 17:45:37 jlam Exp $
#
DISTNAME= syncdir-1.0
@@ -11,6 +11,7 @@ HOMEPAGE= http://untroubled.org/syncdir/
COMMENT= Implementation of open, link, rename, and unlink
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
@@ -24,6 +25,6 @@ do-build:
do-install:
cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} \
- -c libsyncdir.la ${PREFIX}/lib/libsyncdir.la
+ -c libsyncdir.la ${DESTDIR}${PREFIX}/lib/libsyncdir.la
.include "../../mk/bsd.pkg.mk"