pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/w3 Unify the PLIST.emacs and PLIST.xemacs files by...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0639f637b33
branches:  trunk
changeset: 511009:b0639f637b33
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Apr 08 04:42:10 2006 +0000

description:
Unify the PLIST.emacs and PLIST.xemacs files by taking advantage of some
PLIST_SUBST variables provided by emacs.mk.  Also move the info file
entries into the PLIST.

diffstat:

 www/w3/Makefile     |   21 ++++--
 www/w3/PLIST        |  135 ++++++++++++++++++++++++++++++++++++++++++++++++++
 www/w3/PLIST.emacs  |  132 -------------------------------------------------
 www/w3/PLIST.xemacs |  139 ----------------------------------------------------
 4 files changed, 148 insertions(+), 279 deletions(-)

diffs (truncated from 456 to 300 lines):

diff -r ef174dbea544 -r b0639f637b33 www/w3/Makefile
--- a/www/w3/Makefile   Sat Apr 08 04:30:18 2006 +0000
+++ b/www/w3/Makefile   Sat Apr 08 04:42:10 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/03/04 21:31:04 jlam Exp $
+# $NetBSD: Makefile,v 1.21 2006/04/08 04:42:10 jlam Exp $
 
 DISTNAME=      w3-4.0pre.47
 PKGNAME=       ${EMACS_PKGNAME_PREFIX}w3-4.0b47
@@ -10,16 +10,21 @@
 HOMEPAGE=      http://www.cs.indiana.edu/elisp/w3/docs.html
 COMMENT=       World Wide Web browser for Emacs
 
-CONFIGURE_ARGS+=--enable-site-install
-
 # included in xemacs-packages
 EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
 .include "../../mk/emacs.mk"
 
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-emacs
-CONFIGURE_ARGS+=--with-lispdir=${EMACS_LISPPREFIX}/w3
-INFO_FILES=    w3.info w3-faq.info
-PLIST_SRC=     ${PKGDIR}/PLIST.emacs
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --with-emacs
+CONFIGURE_ARGS+=       --enable-site-install
+CONFIGURE_ARGS+=       --with-lispdir=${EMACS_LISPPREFIX}/w3
+INFO_FILES=            # PLIST
+
+.if ${EMACS_FLAVOR} == "xemacs"
+ETCDIR=                        ${EMACS_LISPPREFIX:H}/etc/w3
+.else
+ETCDIR=                        ${PREFIX}/share/w3
+.endif
+PLIST_SUBST+=          ETCDIR=${ETCDIR:S/^${PREFIX}\///:Q}
 
 .include "../../mk/bsd.pkg.mk"
diff -r ef174dbea544 -r b0639f637b33 www/w3/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/w3/PLIST      Sat Apr 08 04:42:10 2006 +0000
@@ -0,0 +1,135 @@
+@comment $NetBSD: PLIST,v 1.1 2006/04/08 04:42:10 jlam Exp $
+${ETCDIR}/default.css
+${EMACS_INFOPREFIX}/w3-faq.info
+${EMACS_INFOPREFIX}/w3.info
+${EMACS_LISPPREFIX}/w3/auto-autoloads.el
+${EMACS_LISPPREFIX}/w3/auto-autoloads.elc
+${EMACS_LISPPREFIX}/w3/base64.el
+${EMACS_LISPPREFIX}/w3/base64.elc
+${EMACS_LISPPREFIX}/w3/css.el
+${EMACS_LISPPREFIX}/w3/css.elc
+${EMACS_LISPPREFIX}/w3/custom-load.el
+${EMACS_LISPPREFIX}/w3/custom-load.elc
+${EMACS_LISPPREFIX}/w3/devices.el
+${EMACS_LISPPREFIX}/w3/devices.elc
+${EMACS_LISPPREFIX}/w3/docomp.el
+${EMACS_LISPPREFIX}/w3/dsssl-flow.el
+${EMACS_LISPPREFIX}/w3/dsssl-flow.elc
+${EMACS_LISPPREFIX}/w3/dsssl.el
+${EMACS_LISPPREFIX}/w3/dsssl.elc
+${EMACS_LISPPREFIX}/w3/font.el
+${EMACS_LISPPREFIX}/w3/font.elc
+${EMACS_LISPPREFIX}/w3/images.el
+${EMACS_LISPPREFIX}/w3/images.elc
+${EMACS_LISPPREFIX}/w3/md5.el
+${EMACS_LISPPREFIX}/w3/md5.elc
+${EMACS_LISPPREFIX}/w3/mm.el
+${EMACS_LISPPREFIX}/w3/mm.elc
+${EMACS_LISPPREFIX}/w3/mule-sysdp.el
+${EMACS_LISPPREFIX}/w3/mule-sysdp.elc
+${EMACS_LISPPREFIX}/w3/socks.el
+${EMACS_LISPPREFIX}/w3/socks.elc
+${EMACS_LISPPREFIX}/w3/ssl.el
+${EMACS_LISPPREFIX}/w3/ssl.elc
+${EMACS_LISPPREFIX}/w3/url-auth.el
+${EMACS_LISPPREFIX}/w3/url-auth.elc
+${EMACS_LISPPREFIX}/w3/url-cache.el
+${EMACS_LISPPREFIX}/w3/url-cache.elc
+${EMACS_LISPPREFIX}/w3/url-cid.el
+${EMACS_LISPPREFIX}/w3/url-cookie.el
+${EMACS_LISPPREFIX}/w3/url-cookie.elc
+${EMACS_LISPPREFIX}/w3/url-file.el
+${EMACS_LISPPREFIX}/w3/url-file.elc
+${EMACS_LISPPREFIX}/w3/url-gopher.el
+${EMACS_LISPPREFIX}/w3/url-gopher.elc
+${EMACS_LISPPREFIX}/w3/url-gw.el
+${EMACS_LISPPREFIX}/w3/url-gw.elc
+${EMACS_LISPPREFIX}/w3/url-http.el
+${EMACS_LISPPREFIX}/w3/url-http.elc
+${EMACS_LISPPREFIX}/w3/url-irc.el
+${EMACS_LISPPREFIX}/w3/url-irc.elc
+${EMACS_LISPPREFIX}/w3/url-ldap.el
+${EMACS_LISPPREFIX}/w3/url-ldap.elc
+${EMACS_LISPPREFIX}/w3/url-mail.el
+${EMACS_LISPPREFIX}/w3/url-mail.elc
+${EMACS_LISPPREFIX}/w3/url-misc.el
+${EMACS_LISPPREFIX}/w3/url-misc.elc
+${EMACS_LISPPREFIX}/w3/url-news.el
+${EMACS_LISPPREFIX}/w3/url-news.elc
+${EMACS_LISPPREFIX}/w3/url-nfs.el
+${EMACS_LISPPREFIX}/w3/url-nfs.elc
+${EMACS_LISPPREFIX}/w3/url-ns.el
+${EMACS_LISPPREFIX}/w3/url-ns.elc
+${EMACS_LISPPREFIX}/w3/url-parse.el
+${EMACS_LISPPREFIX}/w3/url-parse.elc
+${EMACS_LISPPREFIX}/w3/url-vars.el
+${EMACS_LISPPREFIX}/w3/url-vars.elc
+${EMACS_LISPPREFIX}/w3/url.el
+${EMACS_LISPPREFIX}/w3/url.elc
+${EMACS_LISPPREFIX}/w3/w3-about.el
+${EMACS_LISPPREFIX}/w3/w3-about.elc
+${EMACS_LISPPREFIX}/w3/w3-auto.el
+${EMACS_LISPPREFIX}/w3/w3-auto.elc
+${EMACS_LISPPREFIX}/w3/w3-cfg.el
+${EMACS_LISPPREFIX}/w3/w3-cfg.elc
+${EMACS_LISPPREFIX}/w3/w3-cus.el
+${EMACS_LISPPREFIX}/w3/w3-cus.elc
+${EMACS_LISPPREFIX}/w3/w3-display.el
+${EMACS_LISPPREFIX}/w3/w3-display.elc
+${EMACS_LISPPREFIX}/w3/w3-e19.el
+${EMACS_LISPPREFIX}/w3/w3-e19.elc
+${EMACS_LISPPREFIX}/w3/w3-e20.el
+${EMACS_LISPPREFIX}/w3/w3-e20.elc
+${EMACS_LISPPREFIX}/w3/w3-e21.el
+${EMACS_LISPPREFIX}/w3/w3-e21.elc
+${EMACS_LISPPREFIX}/w3/w3-elisp.el
+${EMACS_LISPPREFIX}/w3/w3-elisp.elc
+${EMACS_LISPPREFIX}/w3/w3-emulate.el
+${EMACS_LISPPREFIX}/w3/w3-emulate.elc
+${EMACS_LISPPREFIX}/w3/w3-forms.el
+${EMACS_LISPPREFIX}/w3/w3-forms.elc
+${EMACS_LISPPREFIX}/w3/w3-hot.el
+${EMACS_LISPPREFIX}/w3/w3-hot.elc
+${EMACS_LISPPREFIX}/w3/w3-hotindex.el
+${EMACS_LISPPREFIX}/w3/w3-hotindex.elc
+${EMACS_LISPPREFIX}/w3/w3-imap.el
+${EMACS_LISPPREFIX}/w3/w3-imap.elc
+${EMACS_LISPPREFIX}/w3/w3-java.el
+${EMACS_LISPPREFIX}/w3/w3-java.elc
+${EMACS_LISPPREFIX}/w3/w3-jscript.el
+${EMACS_LISPPREFIX}/w3/w3-jscript.elc
+${EMACS_LISPPREFIX}/w3/w3-keyword.el
+${EMACS_LISPPREFIX}/w3/w3-keyword.elc
+${EMACS_LISPPREFIX}/w3/w3-latex.el
+${EMACS_LISPPREFIX}/w3/w3-latex.elc
+${EMACS_LISPPREFIX}/w3/w3-menu.el
+${EMACS_LISPPREFIX}/w3/w3-menu.elc
+${EMACS_LISPPREFIX}/w3/w3-mouse.el
+${EMACS_LISPPREFIX}/w3/w3-mouse.elc
+${EMACS_LISPPREFIX}/w3/w3-parse.el
+${EMACS_LISPPREFIX}/w3/w3-parse.elc
+${EMACS_LISPPREFIX}/w3/w3-print.el
+${EMACS_LISPPREFIX}/w3/w3-print.elc
+${EMACS_LISPPREFIX}/w3/w3-props.el
+${EMACS_LISPPREFIX}/w3/w3-props.elc
+${EMACS_LISPPREFIX}/w3/w3-script.el
+${EMACS_LISPPREFIX}/w3/w3-script.elc
+${EMACS_LISPPREFIX}/w3/w3-speak-table.el
+${EMACS_LISPPREFIX}/w3/w3-speak-table.elc
+${EMACS_LISPPREFIX}/w3/w3-speak.el
+${EMACS_LISPPREFIX}/w3/w3-speak.elc
+${EMACS_LISPPREFIX}/w3/w3-style.el
+${EMACS_LISPPREFIX}/w3/w3-style.elc
+${EMACS_LISPPREFIX}/w3/w3-sysdp.el
+${EMACS_LISPPREFIX}/w3/w3-toolbar.el
+${EMACS_LISPPREFIX}/w3/w3-toolbar.elc
+${EMACS_LISPPREFIX}/w3/w3-vars.el
+${EMACS_LISPPREFIX}/w3/w3-vars.elc
+${EMACS_LISPPREFIX}/w3/w3-widget.el
+${EMACS_LISPPREFIX}/w3/w3-widget.elc
+${EMACS_LISPPREFIX}/w3/w3-xemac.el
+${EMACS_LISPPREFIX}/w3/w3-xemac.elc
+${EMACS_LISPPREFIX}/w3/w3.el
+${EMACS_LISPPREFIX}/w3/w3.elc
+@dirrm ${EMACS_LISPPREFIX}/w3
+@unexec ${RMDIR} -p %D/${ETCDIR} 2>/dev/null || ${TRUE}
diff -r ef174dbea544 -r b0639f637b33 www/w3/PLIST.emacs
--- a/www/w3/PLIST.emacs        Sat Apr 08 04:30:18 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,132 +0,0 @@
-@comment $NetBSD: PLIST.emacs,v 1.5 2004/03/11 15:39:39 seb Exp $
-share/default.css
-share/emacs/site-lisp/w3/auto-autoloads.el
-share/emacs/site-lisp/w3/auto-autoloads.elc
-share/emacs/site-lisp/w3/base64.el
-share/emacs/site-lisp/w3/base64.elc
-share/emacs/site-lisp/w3/css.el
-share/emacs/site-lisp/w3/css.elc
-share/emacs/site-lisp/w3/custom-load.el
-share/emacs/site-lisp/w3/custom-load.elc
-share/emacs/site-lisp/w3/devices.el
-share/emacs/site-lisp/w3/devices.elc
-share/emacs/site-lisp/w3/docomp.el
-share/emacs/site-lisp/w3/dsssl-flow.el
-share/emacs/site-lisp/w3/dsssl-flow.elc
-share/emacs/site-lisp/w3/dsssl.el
-share/emacs/site-lisp/w3/dsssl.elc
-share/emacs/site-lisp/w3/font.el
-share/emacs/site-lisp/w3/font.elc
-share/emacs/site-lisp/w3/images.el
-share/emacs/site-lisp/w3/images.elc
-share/emacs/site-lisp/w3/md5.el
-share/emacs/site-lisp/w3/md5.elc
-share/emacs/site-lisp/w3/mm.el
-share/emacs/site-lisp/w3/mm.elc
-share/emacs/site-lisp/w3/mule-sysdp.el
-share/emacs/site-lisp/w3/mule-sysdp.elc
-share/emacs/site-lisp/w3/socks.el
-share/emacs/site-lisp/w3/socks.elc
-share/emacs/site-lisp/w3/ssl.el
-share/emacs/site-lisp/w3/ssl.elc
-share/emacs/site-lisp/w3/url-auth.el
-share/emacs/site-lisp/w3/url-auth.elc
-share/emacs/site-lisp/w3/url-cache.el
-share/emacs/site-lisp/w3/url-cache.elc
-share/emacs/site-lisp/w3/url-cid.el
-share/emacs/site-lisp/w3/url-cookie.el
-share/emacs/site-lisp/w3/url-cookie.elc
-share/emacs/site-lisp/w3/url-file.el
-share/emacs/site-lisp/w3/url-file.elc
-share/emacs/site-lisp/w3/url-gopher.el
-share/emacs/site-lisp/w3/url-gopher.elc
-share/emacs/site-lisp/w3/url-gw.el
-share/emacs/site-lisp/w3/url-gw.elc
-share/emacs/site-lisp/w3/url-http.el
-share/emacs/site-lisp/w3/url-http.elc
-share/emacs/site-lisp/w3/url-irc.el
-share/emacs/site-lisp/w3/url-irc.elc
-share/emacs/site-lisp/w3/url-ldap.el
-share/emacs/site-lisp/w3/url-ldap.elc
-share/emacs/site-lisp/w3/url-mail.el
-share/emacs/site-lisp/w3/url-mail.elc
-share/emacs/site-lisp/w3/url-misc.el
-share/emacs/site-lisp/w3/url-misc.elc
-share/emacs/site-lisp/w3/url-news.el
-share/emacs/site-lisp/w3/url-news.elc
-share/emacs/site-lisp/w3/url-nfs.el
-share/emacs/site-lisp/w3/url-nfs.elc
-share/emacs/site-lisp/w3/url-ns.el
-share/emacs/site-lisp/w3/url-ns.elc
-share/emacs/site-lisp/w3/url-parse.el
-share/emacs/site-lisp/w3/url-parse.elc
-share/emacs/site-lisp/w3/url-vars.el
-share/emacs/site-lisp/w3/url-vars.elc
-share/emacs/site-lisp/w3/url.el
-share/emacs/site-lisp/w3/url.elc
-share/emacs/site-lisp/w3/w3-about.el
-share/emacs/site-lisp/w3/w3-about.elc
-share/emacs/site-lisp/w3/w3-auto.el
-share/emacs/site-lisp/w3/w3-auto.elc
-share/emacs/site-lisp/w3/w3-cfg.el
-share/emacs/site-lisp/w3/w3-cfg.elc
-share/emacs/site-lisp/w3/w3-cus.el
-share/emacs/site-lisp/w3/w3-cus.elc
-share/emacs/site-lisp/w3/w3-display.el
-share/emacs/site-lisp/w3/w3-display.elc
-share/emacs/site-lisp/w3/w3-e19.el
-share/emacs/site-lisp/w3/w3-e19.elc
-share/emacs/site-lisp/w3/w3-e20.el
-share/emacs/site-lisp/w3/w3-e20.elc
-share/emacs/site-lisp/w3/w3-e21.el
-share/emacs/site-lisp/w3/w3-e21.elc
-share/emacs/site-lisp/w3/w3-elisp.el
-share/emacs/site-lisp/w3/w3-elisp.elc
-share/emacs/site-lisp/w3/w3-emulate.el
-share/emacs/site-lisp/w3/w3-emulate.elc
-share/emacs/site-lisp/w3/w3-forms.el
-share/emacs/site-lisp/w3/w3-forms.elc
-share/emacs/site-lisp/w3/w3-hot.el
-share/emacs/site-lisp/w3/w3-hot.elc
-share/emacs/site-lisp/w3/w3-hotindex.el
-share/emacs/site-lisp/w3/w3-hotindex.elc
-share/emacs/site-lisp/w3/w3-imap.el
-share/emacs/site-lisp/w3/w3-imap.elc
-share/emacs/site-lisp/w3/w3-java.el
-share/emacs/site-lisp/w3/w3-java.elc
-share/emacs/site-lisp/w3/w3-jscript.el
-share/emacs/site-lisp/w3/w3-jscript.elc
-share/emacs/site-lisp/w3/w3-keyword.el
-share/emacs/site-lisp/w3/w3-keyword.elc
-share/emacs/site-lisp/w3/w3-latex.el
-share/emacs/site-lisp/w3/w3-latex.elc
-share/emacs/site-lisp/w3/w3-menu.el
-share/emacs/site-lisp/w3/w3-menu.elc
-share/emacs/site-lisp/w3/w3-mouse.el
-share/emacs/site-lisp/w3/w3-mouse.elc
-share/emacs/site-lisp/w3/w3-parse.el
-share/emacs/site-lisp/w3/w3-parse.elc
-share/emacs/site-lisp/w3/w3-print.el
-share/emacs/site-lisp/w3/w3-print.elc
-share/emacs/site-lisp/w3/w3-props.el
-share/emacs/site-lisp/w3/w3-props.elc
-share/emacs/site-lisp/w3/w3-script.el
-share/emacs/site-lisp/w3/w3-script.elc
-share/emacs/site-lisp/w3/w3-speak-table.el
-share/emacs/site-lisp/w3/w3-speak-table.elc
-share/emacs/site-lisp/w3/w3-speak.el
-share/emacs/site-lisp/w3/w3-speak.elc
-share/emacs/site-lisp/w3/w3-style.el



Home | Main Index | Thread Index | Old Index