diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2009-12-20 20:19:24 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2009-12-20 20:19:24 +0000 |
commit | 3cb246682f28b75689c85870b686a29b45b6b32f (patch) | |
tree | 25fea46b8099aeac2b4f386af51ec828fed0777f /Mk | |
parent | 282b2097dada0fc35c2badb14110a379a54177b7 (diff) | |
download | ports-3cb246682f28b75689c85870b686a29b45b6b32f.tar.gz ports-3cb246682f28b75689c85870b686a29b45b6b32f.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.emacs.mk | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/Mk/bsd.emacs.mk b/Mk/bsd.emacs.mk index c076204fe4e3..e5001f13e54a 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.81 2009-06-23 15:05:31 pgollucci Exp $ +# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.82 2009-12-20 20:19:14 bsam Exp $ # # bsd.emacs.mk - 19990829 Shigeyuki Fukushima. # @@ -7,7 +7,7 @@ Emacs_Include= bsd.emacs.mk Emacs_Include_MAINTAINER= ports@FreeBSD.org -EMACS_PORT_NAME?= emacs22 +EMACS_PORT_NAME?= emacs23 # # This file for ports which depend on emacs family. @@ -87,6 +87,23 @@ EMACS_VER= 22.3 EMACS_MAJOR_VER= 22 EMACS_LIBDIR?= share/${EMACS_NAME} EMACS_LIBDIR_WITH_VER?= share/${EMACS_NAME}/${EMACS_VER} +EMACS_PORTSDIR= ${PORTSDIR}/editors/emacs22 +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-23.x +.elif (${EMACS_PORT_NAME} == "emacs23") +EMACS_NAME= emacs +EMACS_VER= 23.1 +EMACS_MAJOR_VER= 23 +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 @@ -191,7 +208,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: emacs21 emacs22 emacs-devel" + @${ECHO} " Emacs family: emacs21 emacs22 emacs23 emacs-devel" @${ECHO} " XEmacs family: xemacs21 xemacs21-mule xemacs-devel" @${ECHO} " xemacs-devel-mule xemacs-mule-xft" @${FALSE} |