aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2002-01-02 22:05:49 +0800
committeryoichi <yoichi@FreeBSD.org>2002-01-02 22:05:49 +0800
commitafee0aeea6424f47365f878dea5c6ef9d383e19b (patch)
treed311773b2c52d6e2bbb2053718baa07aefddfeaa /devel
parent899922ec4b4d3e4bf11cc6ed21cbbb7454b809a1 (diff)
downloadfreebsd-ports-gnome-afee0aeea6424f47365f878dea5c6ef9d383e19b.tar.gz
freebsd-ports-gnome-afee0aeea6424f47365f878dea5c6ef9d383e19b.tar.zst
freebsd-ports-gnome-afee0aeea6424f47365f878dea5c6ef9d383e19b.zip
Rewrite the dependency for master/slave'ization.
PR: ports/33469 Submitted by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/semantic/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/devel/semantic/Makefile b/devel/semantic/Makefile
index 75beb6862ef7..b8b6a8c483c9 100644
--- a/devel/semantic/Makefile
+++ b/devel/semantic/Makefile
@@ -7,6 +7,7 @@
PORTNAME= semantic
PORTVERSION= 1.4.b13
+PORTREVISION= 1
CATEGORIES= devel elisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cedet
@@ -15,13 +16,16 @@ DISTNAME= ${PORTNAME}-1.4beta13
MAINTAINER= fuyuki@mj.0038.net
-BUILD_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/eieio/eieio.el:${PORTSDIR}/devel/eieio
-BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/speedbar/speedbar.el:${PORTSDIR}/editors/speedbar
-RUN_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/eieio/eieio.el:${PORTSDIR}/devel/eieio
-RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/speedbar/speedbar.el:${PORTSDIR}/editors/speedbar
-
EMACS_PORT_NAME?= emacs21
+.if ${EMACS_PORT_NAME} != "emacs21"
+PORTNAMESUFFIX= ${PKGNAMESUFFIX}
+.endif
+
+BUILD_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/eieio/eieio.el:${PORTSDIR}/devel/eieio${PORTNAMESUFFIX} \
+ ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/speedbar/speedbar.el:${PORTSDIR}/editors/speedbar${PORTNAMESUFFIX}
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
USE_GMAKE= yes
MAKE_ARGS= LOADPATH=