diff options
author | Andrey Slusar <anray@FreeBSD.org> | 2006-07-09 17:18:22 +0000 |
---|---|---|
committer | Andrey Slusar <anray@FreeBSD.org> | 2006-07-09 17:18:22 +0000 |
commit | 168283dd266f874549e098bb4b653c4e33758c58 (patch) | |
tree | 90574bee0480c96a1a9c5bf682140e1afecefd18 /editors/semi/Makefile | |
parent | Enable installation when EMACS_PORT_NAME is emacs22 - for 20-22 gnu (diff) |
- Enable installation when EMACS_PORT_NAME is emacs22 - for 20-22 gnu
emacsen use the one pkg-plist file. [1]
- Use the one pkg-descr for all master/slave ports.
PR: ports/99916 [1]
Submitted by: Toni Schmidbauer <toni@stderror.at> [1]
Reworked by: anray [1]
Notes
Notes:
svn path=/head/; revision=167285
Diffstat (limited to 'editors/semi/Makefile')
-rw-r--r-- | editors/semi/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/editors/semi/Makefile b/editors/semi/Makefile index b4c075e8335d..105bcb21db36 100644 --- a/editors/semi/Makefile +++ b/editors/semi/Makefile @@ -30,15 +30,11 @@ SEMI_COOKIE= semi-${EMACS_PORT_NAME}-${SEMI_TRUNK}.FreeBSD-packages SEMI_LISPDIR= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR} SEMI_VERSION_SPECIFIC_LISPDIR= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR} -.if (${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 @@ -51,6 +47,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} == "emacs20") || (${EMACS_PORT_NAME} == "emacs21") || (${EMACS_PORT_NAME} == "emacs22") +PLIST= ${PKGDIR}/pkg-plist.emacs20 +.endif # depends on flim BUILD_DEPENDS+= ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim${DEPPORT_SUFFIX} RUN_DEPENDS+= ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim${DEPPORT_SUFFIX} |