aboutsummaryrefslogtreecommitdiff
path: root/print/dvips
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2000-03-03 22:07:17 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2000-03-03 22:07:17 +0000
commit6c6ff752f63e1d113c8c019403b39247e34cc0f7 (patch)
treee4d2badc24ce43a28d34224cdca9a374eae6a47a /print/dvips
parent0ee70b01f8d8365d40b692ccb116f9d8b9287d41 (diff)
downloadports-6c6ff752f63e1d113c8c019403b39247e34cc0f7.tar.gz
ports-6c6ff752f63e1d113c8c019403b39247e34cc0f7.zip
Do not create temporary files in ${SCRIPTDIR}. Use ${WRKDIR}.
Use ${INSTALL_DATA} instead of 'install -c -m 644'
Notes
Notes: svn path=/head/; revision=26510
Diffstat (limited to 'print/dvips')
-rw-r--r--print/dvips/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/print/dvips/Makefile b/print/dvips/Makefile
index e069905481cf..d5f2626c343e 100644
--- a/print/dvips/Makefile
+++ b/print/dvips/Makefile
@@ -22,12 +22,13 @@ pre-install:
post-install:
@${MKDIR} ${PREFIX}/share/texmf/fonts/vf ${PREFIX}/share/texmf/fonts/tfm ${PREFIX}/share/texmf/tex/latex
- @install -c -m 644 ${WRKDIR}/dvips576/dvips/*.sty ${PREFIX}/share/texmf/tex/latex
- @install -c -m 644 ${WRKDIR}/dvips576/PSlatex/*.sty ${PREFIX}/share/texmf/tex/latex
- @install -c -m 644 ${WRKDIR}/dvips576/PStfms/*.tfm ${PREFIX}/share/texmf/fonts/tfm
- @install -c -m 644 ${WRKDIR}/dvips576/PSvfs/*.vf ${PREFIX}/share/texmf/fonts/vf
+ @${INSTALL_DATA} ${WRKDIR}/dvips576/dvips/*.sty ${PREFIX}/share/texmf/tex/latex
+ @${INSTALL_DATA} ${WRKDIR}/dvips576/PSlatex/*.sty ${PREFIX}/share/texmf/tex/latex
+ @${INSTALL_DATA} ${WRKDIR}/dvips576/PStfms/*.tfm ${PREFIX}/share/texmf/fonts/tfm
+ @${INSTALL_DATA} ${WRKDIR}/dvips576/PSvfs/*.vf ${PREFIX}/share/texmf/fonts/vf
+ @if [ -f ${WRKDIR}/post-install ]; then ${SH} ${WRKDIR}/post-install; fi
pre-clean:
- @${RM} -f ${SCRIPTDIR}/post-install
+ @${RM} -f ${WRKDIR}/post-install
.include <bsd.port.mk>