pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/mule * Remove *.orig files prior to installati...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/553fd0796de6
branches:  trunk
changeset: 510574:553fd0796de6
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Mar 31 15:34:44 2006 +0000

description:
* Remove *.orig files prior to installation so that they aren't installed
  during the install phase.

* Remove *.orig entries from the PLIST.

* Move info file entries to the PLIST.

Bump PKGREVISION to 4 for PLIST changes.

diffstat:

 editors/mule/Makefile |  30 +++++++++++-------------------
 editors/mule/PLIST    |  27 +++++++++++++++++++++++----
 2 files changed, 34 insertions(+), 23 deletions(-)

diffs (128 lines):

diff -r ace623a8fcdd -r 553fd0796de6 editors/mule/Makefile
--- a/editors/mule/Makefile     Fri Mar 31 15:19:57 2006 +0000
+++ b/editors/mule/Makefile     Fri Mar 31 15:34:44 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.37 2006/03/05 16:27:25 jlam Exp $
+# $NetBSD: Makefile,v 1.38 2006/03/31 15:34:44 jlam Exp $
 
 DISTNAME=      mule-2.3
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    editors
 MASTER_SITES=  ftp://ftp.m17n.org/pub/mule/
 
@@ -15,14 +15,14 @@
 CHECK_WRKREF_SKIP+=    ${PREFIX}/bin/mule
 CHECK_WRKREF_SKIP+=    ${PREFIX}/bin/mule-19.28
 
-WRKSRC=                ${WRKDIR}/mule
-GNU_CONFIGURE= yes
+WRKSRC=                        ${WRKDIR}/mule
+USE_TOOLS+=            gmake makeinfo
+GNU_CONFIGURE=         yes
 GNU_CONFIGURE_MANDIR=  ${PREFIX}/${PKGMANDIR}/man1
-USE_TOOLS+=    gmake makeinfo
 
 .include "../../mk/bsd.prefs.mk"
 
-CFLAGS+=-g
+CFLAGS+=       -g
 
 CONFIGURE_ARGS+=       ${MACHINE_ARCH}--${LOWER_OPSYS} --with-x --with-x-toolkit=lucid
 CONFIGURE_ARGS+=       --terminal-face --mcpath --canna-libraries=${PREFIX}/lib
@@ -33,14 +33,14 @@
 
 .include "options.mk"
 
-INFO_FILES=    CCL ISO2022 R2L XFONT antenews-jp canna-jp cl dired-x
-INFO_FILES+=   egg egg-jp emacs forms gnus kbd-trans languages m2ps mule
-INFO_FILES+=   mule-jp quail sc terminology vip
-
-MAN1=          coco.1 ctags.1 etags.1 m2ps.1 mule.1
+INFO_FILES=    # PLIST
 
 .include "../../mk/x11.buildlink3.mk"
 
+# Remove original versions of patched files so that aren't installed.
+post-build:
+       ${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM} -f
+
 # Fix character mapping for pkgsrc/fonts/intlfonts
 post-install:
        ${SED} \
@@ -49,13 +49,5 @@
                -e 's/jiskan24/j83-48/' \
                < ${WRKSRC}/etc/CHARSETS > ${PREFIX}/lib/mule/19.28/etc/CHARSETS
        #diff -u                ${WRKSRC}/etc/CHARSETS ${PREFIX}/lib/mule/19.28/etc/CHARSETS
-.for f in info/CCL.orig info/ISO2022.orig info/R2L.orig info/XFONT.orig \
-info/antenews-jp.orig info/canna-jp.orig info/egg-jp-1.orig \
-info/egg-jp-2.orig info/egg-jp.orig info/egg.orig info/kbd-trans.orig \
-info/languages.orig info/m2ps.orig info/mule-jp-1.orig info/mule-jp-2.orig \
-info/mule-jp-3.orig info/mule-jp.orig info/mule.orig info/quail.orig \
-info/terminology.orig
-       ${RM} ${PREFIX}/${f}
-.endfor
 
 .include "../../mk/bsd.pkg.mk"
diff -r ace623a8fcdd -r 553fd0796de6 editors/mule/PLIST
--- a/editors/mule/PLIST        Fri Mar 31 15:19:57 2006 +0000
+++ b/editors/mule/PLIST        Fri Mar 31 15:34:44 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2006/01/04 20:35:08 joerg Exp $
+@comment $NetBSD: PLIST,v 1.9 2006/03/31 15:34:44 jlam Exp $
 bin/any2ps
 bin/b2m
 bin/coco
@@ -9,6 +9,28 @@
 bin/mule
 bin/mule-19.28
 bin/rcs-checkin
+info/CCL
+info/ISO2022
+info/R2L
+info/XFONT
+info/antenews-jp
+info/canna-jp
+info/cl
+info/dired-x
+info/egg
+info/egg-jp
+info/emacs
+info/forms
+info/gnus
+info/kbd-trans
+info/languages
+info/m2ps
+info/mule
+info/mule-jp
+info/quail
+info/sc
+info/terminology
+info/vip
 man/man1/coco.1
 man/man1/ctags.1
 man/man1/etags.1
@@ -301,7 +323,6 @@
 lib/mule/19.28/lisp/egg.elc
 lib/mule/19.28/lisp/eggrc-sj3
 lib/mule/19.28/lisp/eggrc-wnn
-lib/mule/19.28/lisp/eggrc-wnn.orig
 lib/mule/19.28/lisp/ehelp.el
 lib/mule/19.28/lisp/ehelp.elc
 lib/mule/19.28/lisp/electric.el
@@ -400,7 +421,6 @@
 lib/mule/19.28/lisp/inf-lisp.el
 lib/mule/19.28/lisp/inf-lisp.elc
 lib/mule/19.28/lisp/info.el
-lib/mule/19.28/lisp/info.el.orig
 lib/mule/19.28/lisp/info.elc
 lib/mule/19.28/lisp/informat.el
 lib/mule/19.28/lisp/informat.elc
@@ -752,7 +772,6 @@
 lib/mule/19.28/lisp/spook.el
 lib/mule/19.28/lisp/spook.elc
 lib/mule/19.28/lisp/startup.el
-lib/mule/19.28/lisp/startup.el.orig
 lib/mule/19.28/lisp/startup.elc
 lib/mule/19.28/lisp/studly.el
 lib/mule/19.28/lisp/studly.elc



Home | Main Index | Thread Index | Old Index