summaryrefslogtreecommitdiff
path: root/devel/cvsup-gui-bin
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
commite655762fb793a09bcd629a5ee8889dfe5b1550a0 (patch)
tree620d08cc8bf79f9bacb7746632192670c7d6350d /devel/cvsup-gui-bin
parent2d370b7fe4d16560d65355fc39f74d9ef5e1f0c9 (diff)
downloadpkgsrc-e655762fb793a09bcd629a5ee8889dfe5b1550a0.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/cvsup-gui-bin')
-rw-r--r--devel/cvsup-gui-bin/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/cvsup-gui-bin/Makefile b/devel/cvsup-gui-bin/Makefile
index 99e75ecf5fa..3fd296d4913 100644
--- a/devel/cvsup-gui-bin/Makefile
+++ b/devel/cvsup-gui-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/08/23 18:20:30 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:34 jlam Exp $
DISTNAME= cvsup-gui-static-16.1.h
PKGNAME= ${DISTNAME:C/static/bin/}
@@ -18,6 +18,8 @@ DEPENDS+= cvsup-bin>=${CVSUP_VERSION}:../../devel/cvsup-bin
EMUL_PLATFORMS= netbsd-i386
EMUL_REQD= netbsd>=1.5
+PKG_DESTDIR_SUPPORT= user-destdir
+
# XXX Remove the following line on next update; see PR 25255 for details
DIST_SUBDIR= cvsup-i386-1.6
@@ -28,6 +30,6 @@ BUILD_DIRS= # empty
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/cvsup ${PREFIX}/bin/cvsup-gui
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/cvsup ${DESTDIR}${PREFIX}/bin/cvsup-gui
.include "../../mk/bsd.pkg.mk"