summaryrefslogtreecommitdiff
path: root/editors/emacs-nox11
diff options
context:
space:
mode:
authordholland <dholland>2013-02-17 07:36:54 +0000
committerdholland <dholland>2013-02-17 07:36:54 +0000
commit3476aac81d68fe9290e39f63035eae83dfee141b (patch)
tree7586c84d91b994f75c9a11bce02dcd46276e4ccc /editors/emacs-nox11
parentd8bcec69632713a0344ded6d90d1e436baafdaf1 (diff)
downloadpkgsrc-3476aac81d68fe9290e39f63035eae83dfee141b.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/emacs-nox11')
-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"