aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2006-04-01 21:04:33 +0000
committerAndrey Slusar <anray@FreeBSD.org>2006-04-01 21:04:33 +0000
commit540d63721b7903a0fe23d06f1fe950abf22b7c78 (patch)
tree63df7d992ee450fe056c3fb40d6a0ef056c1364f /Mk
parentdd5d092029107c878f3b5a83ee4f753f29ee0327 (diff)
downloadports-540d63721b7903a0fe23d06f1fe950abf22b7c78.tar.gz
ports-540d63721b7903a0fe23d06f1fe950abf22b7c78.zip
Notes
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 d2eb6f3ee968..667c8b516c3a 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.54 2006-04-01 17:31:34 anray Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.55 2006-04-01 21:04:33 anray Exp $
#
# bsd.emacs.mk - 19990829 Shigeyuki Fukushima.
#
@@ -112,6 +112,23 @@ DESCR?= ${PKGDIR}/pkg-descr.${EMACS_PORT_NAME}
PLIST?= ${PKGDIR}/pkg-plist.${EMACS_PORT_NAME}
.endif
+# Emacs-22.x
+.elif (${EMACS_PORT_NAME} == "emacs22")
+EMACS_NAME= emacs
+EMACS_VER= 22.0.50
+EMACS_MAJOR_VER= 22
+EMACS_LIBDIR?= share/${EMACS_NAME}
+EMACS_LIBDIR_WITH_VER?= share/${EMACS_NAME}/${EMACS_VER}
+EMACS_PORTSDIR= ${PORTSDIR}/editors/emacs-devel
+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
+
# Mule-19.x
.elif (${EMACS_PORT_NAME} == "mule")
EMACS_NAME= mule
@@ -201,7 +218,7 @@ PLIST?= ${PKGDIR}/pkg-plist.${EMACS_PORT_NAME}
check-makevars::
@${ECHO} "Makefile error: Bad value of EMACS_PORT_NAME: ${EMACS_PORT_NAME}."
@${ECHO} "Valid values are:"
- @${ECHO} " Emacs family: emacs19 mule emacs20 emacs21"
+ @${ECHO} " Emacs family: emacs19 mule emacs20 emacs21 emacs22"
@${ECHO} " XEmacs family: xemacs xemacs20 xemacs21 xemacs21-mule"
@${ECHO} " xemacs-devel xemacs-devel-mule"
@${FALSE}