summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjlam <jlam>1999-09-08 03:08:02 +0000
committerjlam <jlam>1999-09-08 03:08:02 +0000
commite7db7e7010fde96e9bb61b39e6aa12b880fb5564 (patch)
tree09ce5d0db00b625e7a35f0cb957b56961236709c /print
parent62280453184719f647e5fee9826e6ded75c6f659 (diff)
downloadpkgsrc-e7db7e7010fde96e9bb61b39e6aa12b880fb5564.tar.gz
Fix installation of example files.
Diffstat (limited to 'print')
-rw-r--r--print/stylewriter/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/print/stylewriter/Makefile b/print/stylewriter/Makefile
index 085f62200aa..76c4261000f 100644
--- a/print/stylewriter/Makefile
+++ b/print/stylewriter/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/09/04 15:56:04 jlam Exp $
+# $NetBSD: Makefile,v 1.2 1999/09/08 03:08:02 jlam Exp $
#
DISTNAME= stylewriter
@@ -46,13 +46,14 @@ post-install:
done
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/stylewriter
- for PRINTCAP in printcap printcap.a4; do \
+ (cd ${WRKSRC}; \
+ for PRINTCAP in printcap printcap.a4; do \
${SED} ${PRINTCAP_SED} \
< $${PRINTCAP} > ${WRKDIR}/$${PRINTCAP}; \
${INSTALL_DATA} ${WRKDIR}/$${PRINTCAP} \
${PREFIX}/share/examples/stylewriter; \
${RM} ${WRKDIR}/$${PRINTCAP}; \
- done
+ done)
${INSTALL_DATA} ${WRKSRC}/styl.ppd ${PREFIX}/share/examples/stylewriter
${INSTALL_DATA_DIR} /var/spool/lpd/stylps