summaryrefslogtreecommitdiff
path: root/print/pcps
diff options
context:
space:
mode:
Diffstat (limited to 'print/pcps')
-rw-r--r--print/pcps/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/print/pcps/Makefile b/print/pcps/Makefile
index 6c92462e647..4c20c65df85 100644
--- a/print/pcps/Makefile
+++ b/print/pcps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/02/22 19:27:03 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2008/06/12 02:14:43 joerg Exp $
#
DISTNAME= pcps840
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.swreg.org/soft_shop/695/shopscr3.shtml
COMMENT= Converts text files to PostScript(tm)
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
MAKE_FILE= makefile
BUILD_TARGET=
@@ -22,7 +24,7 @@ RESTRICTED= This is shareware for your evaluation and subsequent payment
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/pcps share/examples/pcps
CONF_FILES+= ${PREFIX}/share/examples/pcps/pcps.cfg ${PREFIX}/bin/pcps.cfg
@@ -30,13 +32,11 @@ post-patch:
${SED} "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/pcps.1 > ${WRKDIR}/pcps.1
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/pcps ${PREFIX}/bin/pcps
- @${INSTALL_MAN} ${WRKDIR}/pcps.1 ${PREFIX}/${PKGMANDIR}/man1
- @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pcps
- @${INSTALL_DATA} ${WRKSRC}/license.doc ${PREFIX}/share/doc/pcps
- @${INSTALL_DATA} ${WRKSRC}/register.doc ${PREFIX}/share/doc/pcps
- @${INSTALL_DATA} ${WRKSRC}/pcps.man ${PREFIX}/share/doc/pcps
- @${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pcps
- @${INSTALL_DATA} ${FILESDIR}/pcps.cfg ${PREFIX}/share/examples/pcps/pcps.cfg
+ @${INSTALL_PROGRAM} ${WRKSRC}/pcps ${DESTDIR}${PREFIX}/bin/pcps
+ @${INSTALL_MAN} ${WRKDIR}/pcps.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ @${INSTALL_DATA} ${WRKSRC}/license.doc ${DESTDIR}${PREFIX}/share/doc/pcps
+ @${INSTALL_DATA} ${WRKSRC}/register.doc ${DESTDIR}${PREFIX}/share/doc/pcps
+ @${INSTALL_DATA} ${WRKSRC}/pcps.man ${DESTDIR}${PREFIX}/share/doc/pcps
+ @${INSTALL_DATA} ${FILESDIR}/pcps.cfg ${DESTDIR}${PREFIX}/share/examples/pcps/pcps.cfg
.include "../../mk/bsd.pkg.mk"