pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/apel * Use a right PLIST file for XEmacs.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e76ceb197319
branches:  trunk
changeset: 471296:e76ceb197319
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Thu Mar 25 03:16:25 2004 +0000

description:
* Use a right PLIST file for XEmacs.
* Don't depend on xemacs-packages.

While files of xemacs-packages are installed into
        ${PREFIX}/lib/xemacs/xemacs-packages,
individual Emacs lisp packages use
        ${PREFIX}/lib/xemacs/site-packages,
so these are never overwritten.

Let's think that these two parts are separate.  Individual Emacs lisp
packages depend on another individual ones, never need to depend on
xemacs-packages.  This should make things simpler.

diffstat:

 devel/apel/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 3d50eedb401e -r e76ceb197319 devel/apel/Makefile
--- a/devel/apel/Makefile       Thu Mar 25 01:50:05 2004 +0000
+++ b/devel/apel/Makefile       Thu Mar 25 03:16:25 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/09/12 02:49:44 minoura Exp $
+# $NetBSD: Makefile,v 1.9 2004/03/25 03:16:25 uebayasi Exp $
 
 DISTNAME=      apel-10.6
 CATEGORIES=    devel
@@ -11,6 +11,8 @@
 #CONFLICTS+=   apel-*
 #CONFLICTS+=   xemacs-apel-*
 
+PLIST_SRC=     ${PKGDIR}/PLIST.${EMACS_FLAVOR}
+
 MAKE_FLAGS+=   EMACS=${EMACS_FLAVOR}
 MAKE_FLAGS+=   LISPDIR=${EMACS_LISPPREFIX}
 MAKE_FLAGS+=   VERSION_SPECIFIC_LISPDIR=${EMACS_LISPPREFIX}
@@ -22,13 +24,10 @@
 .if ${EMACS_FLAVOR} == "emacs"
 ALL_TARGET=    elc
 INSTALL_TARGET=        install
-PLIST_SRC=     ${PKGDIR}/PLIST.emacs
 .else  # ${EMACS_FLAVOR} == "xemacs"
-ALL_TARGET=
+ALL_TARGET=    package
 INSTALL_TARGET=        install-package
-PLIST_SRC=     ${PKGDIR}/PLIST.xemacs
 MAKE_FLAGS+=   PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
-DEPENDS+=      xemacs-packages-*:../../editors/xemacs-packages
 .endif
 
 DOCDIR=                ${PREFIX}/share/doc/apel



Home | Main Index | Thread Index | Old Index