aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2007-07-17 01:07:45 +0800
committernobutaka <nobutaka@FreeBSD.org>2007-07-17 01:07:45 +0800
commit791813cd56384d774bddd1fac091f2045e5b8b40 (patch)
treec3419043d471dedf169183e7c8daecd0a0b3f229 /Mk
parent9ef0d6c34fca1b2aeb97b7eab878294e903455cb (diff)
downloadfreebsd-ports-gnome-791813cd56384d774bddd1fac091f2045e5b8b40.tar.gz
freebsd-ports-gnome-791813cd56384d774bddd1fac091f2045e5b8b40.tar.zst
freebsd-ports-gnome-791813cd56384d774bddd1fac091f2045e5b8b40.zip
Reflect upgrade of editors/emacs.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.emacs.mk21
1 files changed, 19 insertions, 2 deletions
diff --git a/Mk/bsd.emacs.mk b/Mk/bsd.emacs.mk
index ed6ea940f005..9e3e590685b9 100644
--- a/Mk/bsd.emacs.mk
+++ b/Mk/bsd.emacs.mk
@@ -1,5 +1,5 @@
#
-# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.65 2007-05-27 17:43:21 anray Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.66 2007-07-16 17:07:45 nobutaka Exp $
#
# bsd.emacs.mk - 19990829 Shigeyuki Fukushima.
#
@@ -102,7 +102,7 @@ EMACS_VER= 21.3
EMACS_MAJOR_VER= 21
EMACS_LIBDIR?= share/${EMACS_NAME}
EMACS_LIBDIR_WITH_VER?= share/${EMACS_NAME}/${EMACS_VER}
-EMACS_PORTSDIR= ${PORTSDIR}/editors/emacs
+EMACS_PORTSDIR= ${PORTSDIR}/editors/emacs21
EMACS_COMMON_PORT= NO
EMACS_HAS_MULE= YES
EMACS_NO_SUBDIRSEL= NO
@@ -115,6 +115,23 @@ PLIST?= ${PKGDIR}/pkg-plist.${EMACS_PORT_NAME}
# Emacs-22.x
.elif (${EMACS_PORT_NAME} == "emacs22")
EMACS_NAME= emacs
+EMACS_VER= 22.1
+EMACS_MAJOR_VER= 22
+EMACS_LIBDIR?= share/${EMACS_NAME}
+EMACS_LIBDIR_WITH_VER?= share/${EMACS_NAME}/${EMACS_VER}
+EMACS_PORTSDIR= ${PORTSDIR}/editors/emacs
+EMACS_COMMON_PORT= NO
+EMACS_HAS_MULE= YES
+EMACS_NO_SUBDIRSEL= NO
+.if (${EMACS_MASTERDIR_PKGFILES} == "YES")
+COMMENTFILE?= ${PKGDIR}/pkg-comment.${EMACS_PORT_NAME}
+DESCR?= ${PKGDIR}/pkg-descr.${EMACS_PORT_NAME}
+PLIST?= ${PKGDIR}/pkg-plist.${EMACS_PORT_NAME}
+.endif
+
+# Emacs-22.x (development version)
+.elif (${EMACS_PORT_NAME} == "emacs-devel")
+EMACS_NAME= emacs
EMACS_VER= 22.0.99
EMACS_MAJOR_VER= 22
EMACS_LIBDIR?= share/${EMACS_NAME}