summaryrefslogtreecommitdiff
path: root/devel/apel
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2004-03-25 03:16:25 +0000
committeruebayasi <uebayasi@pkgsrc.org>2004-03-25 03:16:25 +0000
commitc40fadd982efc8cbc117b707eb0d05104e1c5592 (patch)
tree26ac2b0ca253f638210823010ff3218c923c9a56 /devel/apel
parent395672dd700df449f2143588fe121b7273f5e211 (diff)
downloadpkgsrc-c40fadd982efc8cbc117b707eb0d05104e1c5592.tar.gz
* 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 (limited to 'devel/apel')
-rw-r--r--devel/apel/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/devel/apel/Makefile b/devel/apel/Makefile
index 3cff5b7fa02..656c7e71dab 100644
--- a/devel/apel/Makefile
+++ b/devel/apel/Makefile
@@ -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 @@ COMMENT= Portable Emacs Library
#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 @@ EMACS_VERSIONS_ACCEPTED= emacs21 emacs20 xemacs214 xemacs215
.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