summaryrefslogtreecommitdiff
path: root/sysutils/cvsreport
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 18:25:46 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 18:25:46 +0000
commitb13c4cf8ad4ea4fdb93fdeb04057c075d6a2216b (patch)
tree573447bd0c6aec9980a97a9ff03955555d174e5c /sysutils/cvsreport
parentce566a034de6fa584b172bd8d2bc60f588e109a8 (diff)
downloadpkgsrc-b13c4cf8ad4ea4fdb93fdeb04057c075d6a2216b.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/cvsreport')
-rw-r--r--sysutils/cvsreport/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/cvsreport/Makefile b/sysutils/cvsreport/Makefile
index 547c1477733..4b3eceb7d08 100644
--- a/sysutils/cvsreport/Makefile
+++ b/sysutils/cvsreport/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/01/07 09:14:11 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2010/01/27 18:25:46 joerg Exp $
#
DISTNAME= cvsreport-0.3.5
@@ -9,12 +9,16 @@ MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://home.gna.org/cvsreport/
COMMENT= Message reports from CVS activity
+PKG_DESTDIR_SUPPORT= user-destdir
+
REPLACE_PERL+= cvsreport
USE_TOOLS+= perl:run
NO_BUILD= yes
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/cvsreport ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/cvsreport.1 ${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_SCRIPT} ${WRKSRC}/cvsreport ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/cvsreport.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../mk/bsd.pkg.mk"