summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-05-30 14:43:03 +0000
committerminskim <minskim@pkgsrc.org>2005-05-30 14:43:03 +0000
commit90f616a6a6cd6fe405995d05955a417a730a95e9 (patch)
tree1ca53b34cf6e525b6393e28b72d1a54a8065f746 /textproc
parent698947e0d2fb4eafc2bee6a3ef320dfa6ca22a6d (diff)
downloadpkgsrc-90f616a6a6cd6fe405995d05955a417a730a95e9.tar.gz
Remove empty files generated through distribution patches at
post-patch, rather than install and delete at post-install.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/jade/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/textproc/jade/Makefile b/textproc/jade/Makefile
index 52144646ff4..b0c7fd1dc55 100644
--- a/textproc/jade/Makefile
+++ b/textproc/jade/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2005/05/22 20:08:35 jlam Exp $
+# $NetBSD: Makefile,v 1.39 2005/05/30 14:43:03 minskim Exp $
DISTNAME= jade-1.2.1
PKGREVISION= 9
@@ -33,6 +33,7 @@ CXXFLAGS+= ${CFLAGS}
post-patch:
@${CHMOD} -R +w ${WRKSRC}
@${FIND} ${WRKSRC} -name '*.orig' -size 0c -type f -exec ${RM} {} \;
+ @${FIND} ${WRKSRC} -name '*.orig_dist' -size 0c -type f -exec ${RM} {} \;
post-install:
@for prog in jade nsgmls sgmlnorm spam spent sx; do \
@@ -46,9 +47,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/jadedoc/*.htm ${PREFIX}/share/doc/jade
${INSTALL_DATA_DIR} ${PREFIX}/share/sgml/jade
${INSTALL_DATA} ${WRKSRC}/dsssl/* ${PREFIX}/share/sgml/jade
-# avoid installing files generated through distribution patches
- ${RM} -f ${PREFIX}/share/sgml/jade/FOT.tex.orig_dist
- ${RM} -f ${PREFIX}/share/sgml/jade/demoMaster.tex.orig_dist
# Installed by print/tex-jadetex
${RM} ${PREFIX}/share/sgml/jade/*jadetex.*