- Enable installation when EMACS_PORT_NAME is emacs22 - for 21,22 gnu

emacsen use the one pkg-plist file. [1]
- Use the one pkg-descr for all master/slave ports.

PR:		ports/99917 [1]
Submitted by:	Toni Schmidbauer <toni@stderror.at> [1]
Reworked by:	anray [1]
This commit is contained in:
Andrey Slusar 2006-07-09 17:18:50 +00:00
parent 168283dd26
commit ddce68ae29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167286
4 changed files with 11 additions and 35 deletions

View file

@ -28,15 +28,12 @@ FLIM_COOKIE= flim-${EMACS_PORT_NAME}-${FLIM_TRUNK}.FreeBSD-packages
FLIM_LISPDIR= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}
FLIM_VERSION_SPECIFIC_LISPDIR= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}
.if (${PORTCLASS} == "master")
PORTCLASS?= master
USE_EMACS= yes
EMACS_PORT_NAME= emacs21
DEPPORT_SUFFIX=
.else
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
.endif
EMACS_PORT_NAME?= emacs21
EMACS_MASTERDIR_PKGFILES=YES
DESCR= ${PKGDIR}/pkg-descr
# target name for make build
ALL_TARGET?= elc
@ -49,6 +46,14 @@ MAKE_ARGS+= PREFIX="${LOCALBASE}" \
.include <bsd.port.pre.mk>
.if defined(EMACS_PORT_NAME)
.if ${EMACS_PORT_NAME} == "emacs21"
DEPPORT_SUFFIX=
.else
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
.endif
.if (${EMACS_PORT_NAME} == "emacs21") || (${EMACS_PORT_NAME} == "emacs22")
PLIST= ${PKGDIR}/pkg-plist.emacs21
.endif
# depends on apel (case of xemacs-21.x or later)
.if defined(EMACS_PACKAGESDIR)
BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/apel/emu.el:${PORTSDIR}/editors/xemacs-packages

View file

@ -7,7 +7,4 @@ FLIM, message representation or encoding emacs lisp library for emacs20.
- MIME library
- mailcap parser and utility
FLIM is installed the following directory tree:
${LOCALBASE}/share/emacs/20.7/site-lisp/flim/
Ported by shige@FreeBSD.ORG

View file

@ -1,13 +0,0 @@
FLIM, message representation or encoding emacs lisp library for emacs21.
FLIM is a library to provide basic features about message
representation or encoding. It consists of following
modules:
- STD 11 (RFC 822) parser and utility
- MIME library
- mailcap parser and utility
FLIM is installed the following directory tree:
${LOCALBASE}/share/emacs/21.3/site-lisp/flim/
Ported by shige@FreeBSD.ORG

View file

@ -1,13 +0,0 @@
FLIM, message representation or encoding emacs lisp library for xemacs21-mule.
FLIM is a library to provide basic features about message
representation or encoding. It consists of following
modules:
- STD 11 (RFC 822) parser and utility
- MIME library
- mailcap parser and utility
FLIM is installed the following directory tree:
${LOCALBASE}/share/xemacs/site-packages/lisp/flim/
Ported by shige@FreeBSD.ORG