1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Obey default EMACS_PORT_NAME defined in bsd.emacs.mk.

Reported by:	pav
This commit is contained in:
Hajimu UMEMOTO 2007-07-21 15:29:19 +00:00
parent cf5d8266ed
commit 50331801bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195992
2 changed files with 8 additions and 6 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= tamago
PORTVERSION= ${EGG_DEBIAN_VER}
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= editors elisp
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/e/egg
@ -28,12 +28,13 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_EMACS= yes
EMACS_PORT_NAME?= emacs21
WRKSRC= ${WRKDIR}/egg-4.0.6+0.20041122cvs
ELISPDIR= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp
PLIST_SUB= ELISPDIR="${EMACS_LIBDIR_WITH_VER}/site-lisp"
.include <bsd.port.pre.mk>
.if ${EMACS_PORT_NAME} == emacs21 || ${EMACS_PORT_NAME} == emacs22
PLIST_SUB+= HAS_JISX0213=""
.else
@ -58,4 +59,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -7,7 +7,7 @@
PORTNAME= tamago
PORTVERSION= ${EGG_DEBIAN_VER}
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= editors elisp
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/e/egg
@ -28,12 +28,13 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_EMACS= yes
EMACS_PORT_NAME?= emacs21
WRKSRC= ${WRKDIR}/egg-4.0.6+0.20041122cvs
ELISPDIR= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp
PLIST_SUB= ELISPDIR="${EMACS_LIBDIR_WITH_VER}/site-lisp"
.include <bsd.port.pre.mk>
.if ${EMACS_PORT_NAME} == emacs21 || ${EMACS_PORT_NAME} == emacs22
PLIST_SUB+= HAS_JISX0213=""
.else
@ -58,4 +59,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
.include <bsd.port.post.mk>