summaryrefslogtreecommitdiff
path: root/textproc/diffsplit
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 22:12:02 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 22:12:02 +0000
commit921766b82d6a394ca21cac4e193fc216bc85e401 (patch)
treeeb697236b88a0e0f3c64233fefd83f6a1ac70a49 /textproc/diffsplit
parent4bfe9df7bedd460731d20c4318755b035e723030 (diff)
downloadpkgsrc-921766b82d6a394ca21cac4e193fc216bc85e401.tar.gz
user-destdir support
Diffstat (limited to 'textproc/diffsplit')
-rw-r--r--textproc/diffsplit/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/diffsplit/Makefile b/textproc/diffsplit/Makefile
index 81dece28b3e..a4f1abb1914 100644
--- a/textproc/diffsplit/Makefile
+++ b/textproc/diffsplit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/03/13 16:03:08 ginsbach Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/07 22:12:32 joerg Exp $
# FreeBSD Id: ports/textproc/diffsplit/Makefile,v 1.7 2006/12/22 13:43:54 barner Exp
DISTNAME= diffsplit
@@ -13,15 +13,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pathname.com/~quinlan/software/diffsplit/
COMMENT= Splits a unified diff into pieces which patch one file each
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= YES
WRKSRC= ${WRKDIR}
REPLACE_PERL= diffsplit
USE_TOOLS+= perl:run
+INSTALLATION_DIRS= bin
+
do-extract:
${CP} ${DISTDIR}/${DIST_SUBDIR}/diffsplit ${WRKDIR}
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/diffsplit ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/diffsplit ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"