summaryrefslogtreecommitdiff
path: root/devel/unidiff
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/unidiff
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/unidiff')
-rw-r--r--devel/unidiff/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/unidiff/Makefile b/devel/unidiff/Makefile
index 535a8e4909f..59331e435ec 100644
--- a/devel/unidiff/Makefile
+++ b/devel/unidiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/01/07 09:13:51 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 17:45:38 jlam Exp $
#
DISTNAME= part01
@@ -14,14 +14,16 @@ COMMENT= Converts between uni-diffs and context diffs
BUILD_DEPENDS+= gsharutils>=4.2.1:../../archivers/gsharutils
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${PREFIX}/bin/gunshar
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/unify ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/unipatch ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/unify.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/unify ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/unipatch ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/unify.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"