diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /editors/xemacs | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'editors/xemacs')
-rw-r--r-- | editors/xemacs/Makefile | 4 | ||||
-rw-r--r-- | editors/xemacs/Makefile.common | 3 | ||||
-rw-r--r-- | editors/xemacs/PLIST | 6 | ||||
-rw-r--r-- | editors/xemacs/options.mk | 7 |
4 files changed, 11 insertions, 9 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile index 06706897df3..385585a7f60 100644 --- a/editors/xemacs/Makefile +++ b/editors/xemacs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.83 2007/02/15 14:27:48 joerg Exp $ +# $NetBSD: Makefile,v 1.84 2008/04/12 22:43:00 jlam Exp $ .include "../../editors/xemacs/Makefile.common" @@ -9,7 +9,7 @@ CONFIGURE_ARGS+= --site-includes=${BUILDLINK_DIR}/include:${BUILDLINK_X11_DIR}/i CONFIGURE_ARGS+= --site-libraries=${BUILDLINK_DIR}/lib:${BUILDLINK_X11_DIR} CONFIGURE_ARGS+= --site-runtime-libraries=${LOCALBASE}/lib:${X11BASE}/lib -PLIST_SUBST+= X11ONLY="" +PLIST.x11= yes .include "../../graphics/jpeg/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" diff --git a/editors/xemacs/Makefile.common b/editors/xemacs/Makefile.common index 408c0a77014..8573465893d 100644 --- a/editors/xemacs/Makefile.common +++ b/editors/xemacs/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.19 2007/04/20 15:05:22 joerg Exp $ +# $NetBSD: Makefile.common,v 1.20 2008/04/12 22:43:00 jlam Exp $ DISTNAME= xemacs-21.4.17 CATEGORIES= editors @@ -17,6 +17,7 @@ USE_TOOLS+= gtar DIST_SUBDIR= xemacs EXTRA_FILES= ${DISTNAME}-elc.tar.gz ${DISTNAME}-info.tar.gz EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +PLIST_VARS+= x11 PLIST_SUBST+= DISTNAME=${DISTNAME:Q} FILES_SUBST+= DISTNAME=${DISTNAME:Q} MESSAGE_SUBST+= DISTNAME="${DISTNAME}" diff --git a/editors/xemacs/PLIST b/editors/xemacs/PLIST index 3fb3763c492..76100c4737b 100644 --- a/editors/xemacs/PLIST +++ b/editors/xemacs/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.14 2007/02/15 14:27:48 joerg Exp $ +@comment $NetBSD: PLIST,v 1.15 2008/04/12 22:43:00 jlam Exp $ bin/${DISTNAME} bin/ellcc bin/gnuattach @@ -1040,7 +1040,7 @@ lib/${DISTNAME}/lisp/mule/arabic.elc lib/${DISTNAME}/lisp/mule/auto-autoloads.el${ELSUFX} lib/${DISTNAME}/lisp/mule/auto-autoloads.elc lib/${DISTNAME}/lisp/mule/canna-leim.el${ELSUFX} -${FOR_MULE}lib/${DISTNAME}/lisp/mule/canna-leim.elc +${PLIST.mule}lib/${DISTNAME}/lisp/mule/canna-leim.elc lib/${DISTNAME}/lisp/mule/chinese.el${ELSUFX} lib/${DISTNAME}/lisp/mule/chinese.elc lib/${DISTNAME}/lisp/mule/custom-load.el${ELSUFX} @@ -1086,7 +1086,7 @@ lib/${DISTNAME}/lisp/mule/mule-misc.elc lib/${DISTNAME}/lisp/mule/mule-tty-init.el${ELSUFX} lib/${DISTNAME}/lisp/mule/mule-tty-init.elc lib/${DISTNAME}/lisp/mule/mule-x-init.el${ELSUFX} -${X11ONLY}lib/${DISTNAME}/lisp/mule/mule-x-init.elc +${PLIST.x11}lib/${DISTNAME}/lisp/mule/mule-x-init.elc lib/${DISTNAME}/lisp/mule/thai-xtis-chars.el${ELSUFX} lib/${DISTNAME}/lisp/mule/thai-xtis-chars.elc lib/${DISTNAME}/lisp/mule/thai-xtis.el${ELSUFX} diff --git a/editors/xemacs/options.mk b/editors/xemacs/options.mk index 4eb5482f54f..9637db8758a 100644 --- a/editors/xemacs/options.mk +++ b/editors/xemacs/options.mk @@ -1,10 +1,12 @@ -# $NetBSD: options.mk,v 1.6 2006/05/31 18:22:23 ghen Exp $ +# $NetBSD: options.mk,v 1.7 2008/04/12 22:43:00 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs PKG_SUPPORTED_OPTIONS= ldap xface canna .include "../../mk/bsd.options.mk" +PLIST_VARS+= mule + .if !empty(PKG_OPTIONS:Mldap) CONFIGURE_ARGS+= --with-ldap . include "../../databases/openldap-client/buildlink3.mk" @@ -22,8 +24,7 @@ CONFIGURE_ARGS+= --without-xface .if !empty(PKG_OPTIONS:Mcanna) . include "../../inputmethod/canna-lib/buildlink3.mk" CONFIGURE_ARGS+= --with-canna -PLIST_SUBST+= FOR_MULE='' +PLIST.mule= yes .else CONFIGURE_ARGS+= --without-canna -PLIST_SUBST+= FOR_MULE='@comment ' .endif |