aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2000-03-04 06:07:17 +0800
committerjmz <jmz@FreeBSD.org>2000-03-04 06:07:17 +0800
commite806883f106623333f742996a0512becfacbea6e (patch)
treec6b75d32f8616193ee728a23d44da7598317ff5d /print
parentfb14a21d76f4a29efdab086fe7276e55cbba3d35 (diff)
downloadfreebsd-ports-gnome-e806883f106623333f742996a0512becfacbea6e.tar.gz
freebsd-ports-gnome-e806883f106623333f742996a0512becfacbea6e.tar.zst
freebsd-ports-gnome-e806883f106623333f742996a0512becfacbea6e.zip
Do not create temporary files in ${SCRIPTDIR}. Use ${WRKDIR}.
Use ${INSTALL_DATA} instead of 'install -c -m 644'
Diffstat (limited to 'print')
-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>