summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/pcps/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/print/pcps/Makefile b/print/pcps/Makefile
index 96abb06f603..2da485785b2 100644
--- a/print/pcps/Makefile
+++ b/print/pcps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/09/09 20:36:45 agc Exp $
+# $NetBSD: Makefile,v 1.5 2001/12/04 11:54:31 wiz Exp $
#
DISTNAME= pcps840
@@ -21,9 +21,12 @@ RESTRICTED= This is shareware for your evaluation and subsequent payment
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}
+post-patch:
+ ${SED} "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/pcps.1 > ${WRKDIR}/pcps.1
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/pcps ${PREFIX}/bin/pcps
- @${INSTALL_MAN} ${FILESDIR}/pcps.1 ${PREFIX}/man/man1
+ @${INSTALL_MAN} ${WRKDIR}/pcps.1 ${PREFIX}/man/man1
@${INSTALL_DATA} ${FILESDIR}/pcps.cfg ${PREFIX}/bin/pcps.cfg
@${INSTALL_DATA_DIR} ${WRKSRC}/license.doc ${PREFIX}/share/doc/pcps
@${INSTALL_DATA} ${WRKSRC}/license.doc ${PREFIX}/share/doc/pcps