summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz>2008-10-26 23:52:11 +0000
committerwiz <wiz>2008-10-26 23:52:11 +0000
commita03d51ffbe21b55214b083f03800d71627eaa71c (patch)
treecbdd4d0263b62f97f54ed590b99aa84c8ebee52f /devel
parent00f873a66a1182f60960e60d55c7dc951deb3162 (diff)
downloadpkgsrc-a03d51ffbe21b55214b083f03800d71627eaa71c.tar.gz
Add user-destdir support, from Aleksey Cheusov in PR 38522.
Diffstat (limited to 'devel')
-rw-r--r--devel/cvsps/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/cvsps/Makefile b/devel/cvsps/Makefile
index 1767e939d34..bfe42d46d1e 100644
--- a/devel/cvsps/Makefile
+++ b/devel/cvsps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2007/02/17 20:59:48 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2008/10/26 23:52:11 wiz Exp $
#
DISTNAME= cvsps-2.1
@@ -11,6 +11,7 @@ HOMEPAGE= http://www.cobite.com/cvsps/
COMMENT= Generates 'patchset' information from a CVS repository
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
@@ -18,6 +19,7 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
LIBS.SunOS+= -lnsl -lsocket
MAKE_ENV+= LIBS=${LIBS:M*:Q}
+MAKE_ENV+= prefix=${DESTDIR}${PREFIX}
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"