summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authordholland <dholland>2013-02-17 07:36:54 +0000
committerdholland <dholland>2013-02-17 07:36:54 +0000
commit52fd130245266b42e5a7e9ea71a2f16d5b820107 (patch)
tree7586c84d91b994f75c9a11bce02dcd46276e4ccc /editors
parentc443fdc2b07c686c7ff37bd9c22a117acfec9dc8 (diff)
downloadpkgsrc-52fd130245266b42e5a7e9ea71a2f16d5b820107.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"