summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorasau <asau>2009-12-11 16:57:12 +0000
committerasau <asau>2009-12-11 16:57:12 +0000
commit031d28f13c0a6e8222ad0aa593bdcef37cd2c239 (patch)
tree95ca92154853da6ffe086c52593c227a909a1a3f /devel
parent7e2c77d34a357814ed245ac1889c016ea413a851 (diff)
downloadpkgsrc-031d28f13c0a6e8222ad0aa593bdcef37cd2c239.tar.gz
Support staged installation.
Diffstat (limited to 'devel')
-rw-r--r--devel/cvsclone/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/cvsclone/Makefile b/devel/cvsclone/Makefile
index 49627f80985..e1473368ba5 100644
--- a/devel/cvsclone/Makefile
+++ b/devel/cvsclone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/12 10:16:05 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/12/11 17:01:35 asau Exp $
#
DISTNAME= cvsclone
@@ -12,6 +12,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Clone a CVS repository using the :pserver: access method
DIST_SUBDIR= ${PKGNAME_NOREV}
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin
WRKSRC= ${WRKDIR}
USE_TOOLS+= lex
@@ -23,8 +24,8 @@ do-build:
cd ${WRKSRC} && ${HEAD} -88 cvsclone.l > README.txt
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cvsclone ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cvsclone
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/cvsclone
+ ${INSTALL_PROGRAM} ${WRKSRC}/cvsclone ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cvsclone
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/cvsclone
.include "../../mk/bsd.pkg.mk"