summaryrefslogtreecommitdiff
path: root/print/stylewriter
diff options
context:
space:
mode:
authorjlam <jlam>1999-09-08 03:08:02 +0000
committerjlam <jlam>1999-09-08 03:08:02 +0000
commitb941bc40e0e2ca596ea814c310885d594de36114 (patch)
tree09ce5d0db00b625e7a35f0cb957b56961236709c /print/stylewriter
parente4508e04a682b2141be3c235eca3b6588a967f64 (diff)
downloadpkgsrc-b941bc40e0e2ca596ea814c310885d594de36114.tar.gz
Fix installation of example files.
Diffstat (limited to 'print/stylewriter')
-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