pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/jade Remove empty files generated through dis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13f2cbdb9cfa
branches:  trunk
changeset: 494778:13f2cbdb9cfa
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon May 30 14:43:03 2005 +0000

description:
Remove empty files generated through distribution patches at
post-patch, rather than install and delete at post-install.

diffstat:

 textproc/jade/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 9aadbd00dae0 -r 13f2cbdb9cfa textproc/jade/Makefile
--- a/textproc/jade/Makefile    Mon May 30 14:18:24 2005 +0000
+++ b/textproc/jade/Makefile    Mon May 30 14:43:03 2005 +0000
@@ -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 @@
 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 @@
        ${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.*
 



Home | Main Index | Thread Index | Old Index