PREFIX substitution is already done

This commit is contained in:
naddy 2002-11-13 17:20:41 +00:00
parent 07c0fb54fc
commit 9fcc98be13
2 changed files with 6 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2002/11/13 17:15:48 naddy Exp $
# $OpenBSD: Makefile,v 1.20 2002/11/13 17:20:41 naddy Exp $
COMMENT= "print multiple pages per sheet on PostScript printer"
@ -36,7 +36,6 @@ NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/mpage ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/mpage.1 ${PREFIX}/man/man1
perl -pi -e 's!%%PREFIX%%!${TRUEPREFIX}!' ${PREFIX}/man/man1/mpage.1
${INSTALL_DATA_DIR} ${PREFIX}/share/mpage
${INSTALL_DATA} ${WRKSRC}/Encodings/* ${PREFIX}/share/mpage

View File

@ -1,15 +1,12 @@
$OpenBSD: patch-mpage_1_in,v 1.1 2002/11/13 17:15:49 naddy Exp $
--- mpage.1.in.orig Mon Nov 11 06:55:55 2002
+++ mpage.1.in Mon Nov 11 06:57:45 2002
@@ -539,9 +539,9 @@ and
$OpenBSD: patch-mpage_1_in,v 1.2 2002/11/13 17:20:42 naddy Exp $
--- mpage.1.in.orig Sun Oct 20 20:50:58 2002
+++ mpage.1.in Wed Nov 13 18:19:15 2002
@@ -539,7 +539,7 @@ and
environment variables.
.SH FILES
-/usr/tmp/mpageXXXXXX
+/tmp/mpageXXXXXX
.br
-PREFIX/share/mpage
+%%PREFIX%%/share/mpage
PREFIX/share/mpage
.SH BUGS
.PP