summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2013-02-17 07:36:54 +0000
committerdholland <dholland@pkgsrc.org>2013-02-17 07:36:54 +0000
commit64b61d04415412e6e647334666bc7e889030ed6d (patch)
tree7586c84d91b994f75c9a11bce02dcd46276e4ccc /editors
parentf7de5b5e1e1fbe96a76127b9fd2a6aeb6dfb5dd7 (diff)
downloadpkgsrc-64b61d04415412e6e647334666bc7e889030ed6d.tar.gz
nox11 version of the meta-package in editors/emacs. This will always
build the nox11 version of the emacs type in EMACS_TYPE.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs-nox11/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/emacs-nox11/Makefile b/editors/emacs-nox11/Makefile
new file mode 100644
index 00000000000..f68697c8c6d
--- /dev/null
+++ b/editors/emacs-nox11/Makefile
@@ -0,0 +1,18 @@
+DISTNAME= emacs-nox11-${MY_EMACS_VERSION}
+MYPKGREVISION= 0 # Do not remove this when zero
+
+# XXX: must set this before including bsd.prefs.mk or it doesn't work.
+META_PACKAGE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+#
+# Force a nox11 EMACS_TYPE. This way a bulk build will generate
+# emacs meta-packages for use both with and without X.
+#
+
+.if empty(EMACS_TYPE:M*nox)
+MY_EMACS_TYPE= ${EMACS_TYPE}nox
+.endif
+
+.include "../../editors/emacs/Makefile.common"