summaryrefslogtreecommitdiff
path: root/print/texlive
diff options
context:
space:
mode:
authorminskim <minskim>2009-08-08 11:05:35 +0000
committerminskim <minskim>2009-08-08 11:05:35 +0000
commit86e3d6086efd3f435b9462e4de8da75c366349b6 (patch)
tree45e83f1c0a3215cbc6f1d0e36936336ea4c1a146 /print/texlive
parentba361ec6bd19d78390d0bc88dfd22c9437d750b2 (diff)
downloadpkgsrc-86e3d6086efd3f435b9462e4de8da75c366349b6.tar.gz
Make sure that .orig files are not installed.
Diffstat (limited to 'print/texlive')
-rw-r--r--print/texlive/module.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/print/texlive/module.mk b/print/texlive/module.mk
index 57bdc1b4418..325eec47b16 100644
--- a/print/texlive/module.mk
+++ b/print/texlive/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.7 2009/08/01 07:04:27 minskim Exp $
+# $NetBSD: module.mk,v 1.8 2009/08/08 11:05:35 minskim Exp $
#
# This Makefile fragment is inteded to be included by packages that build
# TeX Live 2008 packages.
@@ -75,6 +75,7 @@ _texlive-install:
${DESTDIR}${PREFIX}/share/doc/texmf; \
fi
if [ -d ${WRKSRC}/bin ]; then \
+ ${FIND} ${WRKSRC}/bin -name \*.orig -exec ${RM} {} \; ; \
${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin; \
for script in ${WRKSRC}/bin/*; do \
${INSTALL_SCRIPT} $$script ${DESTDIR}${PREFIX}/bin; \