diff options
author | wiz <wiz> | 2001-12-04 11:54:31 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-12-04 11:54:31 +0000 |
commit | 71fc67ceadb426075c59f187e04580d644d18b1b (patch) | |
tree | 4eca85e2eb5cccb65a5d37b2b9fcabf9d714c968 /print | |
parent | 7b3bda661afcbe1620828be913d80c6e4466da82 (diff) | |
download | pkgsrc-71fc67ceadb426075c59f187e04580d644d18b1b.tar.gz |
Replace PREFIX in pcps.1 with real prefix.
Diffstat (limited to 'print')
-rw-r--r-- | print/pcps/Makefile | 7 |
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 |