summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorminskim <minskim>2005-05-30 14:43:03 +0000
committerminskim <minskim>2005-05-30 14:43:03 +0000
commitd494b81df96869a88ab109e7e1b6e0c02fc4bf11 (patch)
tree1ca53b34cf6e525b6393e28b72d1a54a8065f746 /textproc
parentf894e028c73ca411f5892b850fd5dae32ff935c0 (diff)
downloadpkgsrc-d494b81df96869a88ab109e7e1b6e0c02fc4bf11.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.*