diff options
author | jlam <jlam@pkgsrc.org> | 1999-09-08 03:08:02 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 1999-09-08 03:08:02 +0000 |
commit | d9229398794fcfd5dff6a9cd49db0f4dec59da35 (patch) | |
tree | 09ce5d0db00b625e7a35f0cb957b56961236709c /print | |
parent | 56c08b7b12cc2a83428fbdea4f2c15bd631b7342 (diff) | |
download | pkgsrc-d9229398794fcfd5dff6a9cd49db0f4dec59da35.tar.gz |
Fix installation of example files.
Diffstat (limited to 'print')
-rw-r--r-- | print/stylewriter/Makefile | 7 |
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 |