summaryrefslogtreecommitdiff
path: root/print/psjoin/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit168a3246f0e3c46b0ef3b5dcf5d18607cff1583f (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /print/psjoin/Makefile
parent63309a20a533bc79929c9bd5b3bf872561762300 (diff)
downloadpkgsrc-168a3246f0e3c46b0ef3b5dcf5d18607cff1583f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'print/psjoin/Makefile')
-rw-r--r--print/psjoin/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/print/psjoin/Makefile b/print/psjoin/Makefile
index 85aa643c922..95aacdc83f6 100644
--- a/print/psjoin/Makefile
+++ b/print/psjoin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/02/22 19:27:05 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:43 joerg Exp $
#
DISTNAME= psjoin
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://homepage3.nifty.com/tsato/tools/psjoin.html
COMMENT= Concatenate PostScript files
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= ${PKGNAME_NOREV}
NO_BUILD= yes
REPLACE_PERL= psjoin
@@ -20,6 +22,6 @@ WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/psjoin ${PREFIX}/bin/psjoin
+ ${INSTALL_SCRIPT} ${WRKDIR}/psjoin ${DESTDIR}${PREFIX}/bin/psjoin
.include "../../mk/bsd.pkg.mk"