summaryrefslogtreecommitdiff
path: root/editors/emacs21
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /editors/emacs21
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'editors/emacs21')
-rw-r--r--editors/emacs21/Makefile.common6
-rw-r--r--editors/emacs21/PLIST4
2 files changed, 5 insertions, 5 deletions
diff --git a/editors/emacs21/Makefile.common b/editors/emacs21/Makefile.common
index e11b358332e..b1e13faa22c 100644
--- a/editors/emacs21/Makefile.common
+++ b/editors/emacs21/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2007/10/29 12:38:02 uebayasi Exp $
+# $NetBSD: Makefile.common,v 1.3 2008/04/12 22:43:00 jlam Exp $
DISTNAME= emacs-${EMACSVERSION}a
@@ -49,11 +49,11 @@ LDFLAGS+= -Wl,-z,nocombreloc
CPPFLAGS+= -DDFLY_PRE_17_CRT
.endif
+PLIST_VARS+= fns.el
.if ${OPSYS} == "Darwin"
-PLIST_SUBST+= FNS_EL="@comment "
PLIST_SUBST+= DOCTAIL=""
.else
-PLIST_SUBST+= FNS_EL=""
+PLIST.fns.el= yes
PLIST_SUBST+= DOCTAIL="-${EMACSVERSION}.1"
.endif
diff --git a/editors/emacs21/PLIST b/editors/emacs21/PLIST
index 91caf1d9c8b..d39b92d0b78 100644
--- a/editors/emacs21/PLIST
+++ b/editors/emacs21/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2007/10/29 12:37:13 uebayasi Exp $
+@comment $NetBSD: PLIST,v 1.6 2008/04/12 22:43:00 jlam Exp $
bin/emacs
bin/emacs-${EMACSVERSION}
bin/emacs-b2m
@@ -12,7 +12,7 @@ libexec/emacs/${EMACSVERSION}/${MACHINE_GNU_PLATFORM}/cvtmail
libexec/emacs/${EMACSVERSION}/${MACHINE_GNU_PLATFORM}/digest-doc
libexec/emacs/${EMACSVERSION}/${MACHINE_GNU_PLATFORM}/emacsserver
libexec/emacs/${EMACSVERSION}/${MACHINE_GNU_PLATFORM}/fakemail
-${FNS_EL}libexec/emacs/${EMACSVERSION}/${MACHINE_GNU_PLATFORM}/fns-${EMACSVERSION}.1.el
+${PLIST.fns.el}libexec/emacs/${EMACSVERSION}/${MACHINE_GNU_PLATFORM}/fns-${EMACSVERSION}.1.el
libexec/emacs/${EMACSVERSION}/${MACHINE_GNU_PLATFORM}/hexl
libexec/emacs/${EMACSVERSION}/${MACHINE_GNU_PLATFORM}/movemail
libexec/emacs/${EMACSVERSION}/${MACHINE_GNU_PLATFORM}/profile