summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordholland <dholland>2012-06-16 21:04:16 +0000
committerdholland <dholland>2012-06-16 21:04:16 +0000
commit94c7a926af89f33f7a310104d23b1838b2ffa485 (patch)
tree98cf338c9587f67c1fba4de130efb1f2aa861131
parentbf0c27d453f88658f1c0b5a5b6281cd8ca7de6b3 (diff)
downloadpkgsrc-94c7a926af89f33f7a310104d23b1838b2ffa485.tar.gz
Add emacs24-nox11 package, based on emacs-nox11 (which is currently
emacs23) but attached to emacs24.
-rw-r--r--editors/emacs24-nox11/Makefile18
-rw-r--r--editors/emacs24-nox11/buildlink3.mk16
-rw-r--r--editors/emacs24-nox11/version.mk7
3 files changed, 41 insertions, 0 deletions
diff --git a/editors/emacs24-nox11/Makefile b/editors/emacs24-nox11/Makefile
new file mode 100644
index 00000000000..c7444ceef22
--- /dev/null
+++ b/editors/emacs24-nox11/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2012/06/16 21:04:16 dholland Exp $
+
+PKGNAME= ${DISTNAME:S/-/-nox11-/}
+
+CONFLICTS+= emacs-[0-9]*
+
+FILESDIR= ${.CURDIR}/../../editors/emacs24/files
+PATCHDIR= ${.CURDIR}/../../editors/emacs24/patches
+PKGDIR= ${.CURDIR}/../../editors/emacs24
+
+.include "../../editors/emacs24/Makefile.common"
+
+CONFIGURE_ARGS+= --without-dbus --without-m17n-flt --without-otf \
+ --without-rsvg --without-x --without-xft \
+ --without-gif --without-jpeg --without-png \
+ --without-tiff --without-xpm
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/emacs24-nox11/buildlink3.mk b/editors/emacs24-nox11/buildlink3.mk
new file mode 100644
index 00000000000..f83466e03df
--- /dev/null
+++ b/editors/emacs24-nox11/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2012/06/16 21:04:16 dholland Exp $
+#
+
+BUILDLINK_TREE+= emacs-nox11
+
+.if !defined(EMACS_NOX11_BUILDLINK3_MK)
+EMACS_NOX11_BUILDLINK3_MK:=
+
+.include "../../editors/emacs/modules.mk"
+BUILDLINK_API_DEPENDS.emacs-nox11+= ${_EMACS_REQD}
+BUILDLINK_PKGSRCDIR.emacs-nox11?= ${_EMACS_PKGDIR}
+
+BUILDLINK_CONTENTS_FILTER.emacs-nox11= ${EGREP} '.*\.el$$|.*\.elc$$'
+.endif # EMACS_NOX11_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -emacs-nox11
diff --git a/editors/emacs24-nox11/version.mk b/editors/emacs24-nox11/version.mk
new file mode 100644
index 00000000000..709de6fb63f
--- /dev/null
+++ b/editors/emacs24-nox11/version.mk
@@ -0,0 +1,7 @@
+# $NetBSD: version.mk,v 1.1 2012/06/16 21:04:16 dholland Exp $
+
+_EMACS_FLAVOR= emacs24
+_EMACS_REQD= emacs24-nox11>=24.1<25
+
+_EMACS_VERSION_MAJOR= 24
+_EMACS_VERSION_MINOR= 1