From 168a3246f0e3c46b0ef3b5dcf5d18607cff1583f Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 12 Jun 2008 02:14:13 +0000 Subject: Add DESTDIR support. --- print/psjoin/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'print/psjoin/Makefile') 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" -- cgit v1.2.3