summaryrefslogtreecommitdiffstats
path: root/devel/anjuta/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-12-14 04:33:06 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-12-14 04:33:06 +0800
commitadd412923c6b9f44597ef5d8e586c6999d04aeae (patch)
tree5d32a289fcd54f74eafa89ee31136ad75fb70c89 /devel/anjuta/Makefile
parent16adc0b8b480aadfbffe2443d6ba9bdcc9d52c08 (diff)
downloadmarcuscom-ports-add412923c6b9f44597ef5d8e586c6999d04aeae.tar
marcuscom-ports-add412923c6b9f44597ef5d8e586c6999d04aeae.tar.gz
marcuscom-ports-add412923c6b9f44597ef5d8e586c6999d04aeae.tar.bz2
marcuscom-ports-add412923c6b9f44597ef5d8e586c6999d04aeae.tar.lz
marcuscom-ports-add412923c6b9f44597ef5d8e586c6999d04aeae.tar.xz
marcuscom-ports-add412923c6b9f44597ef5d8e586c6999d04aeae.tar.zst
marcuscom-ports-add412923c6b9f44597ef5d8e586c6999d04aeae.zip
Chase pcre update. Remove library versioning from ports that still mention pcre.1.
While here update to new header format and convert to OptionsNG. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17164 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/anjuta/Makefile')
-rw-r--r--devel/anjuta/Makefile41
1 files changed, 19 insertions, 22 deletions
diff --git a/devel/anjuta/Makefile b/devel/anjuta/Makefile
index a552ef402..c9f53b527 100644
--- a/devel/anjuta/Makefile
+++ b/devel/anjuta/Makefile
@@ -1,10 +1,6 @@
-# New ports collection makefile for: anjuta
-# Date created: 31 March 2001
-# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
-#
+# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
-# $MCom: ports/devel/anjuta/Makefile,v 1.70 2012/09/01 23:02:09 mezz Exp $
-#
+# $MCom: ports/devel/anjuta/Makefile,v 1.71 2012/09/03 16:30:19 mezz Exp $
PORTNAME= anjuta
PORTVERSION= 2.32.1.1
@@ -19,10 +15,10 @@ COMMENT= Integrated Development Environment for C and C++
BUILD_DEPENDS= autogen:${PORTSDIR}/devel/autogen \
bash:${PORTSDIR}/shells/bash \
p5-Locale-gettext>=1.05:${PORTSDIR}/devel/p5-Locale-gettext
-LIB_DEPENDS= pcre.1:${PORTSDIR}/devel/pcre \
- gladeui-1.10:${PORTSDIR}/devel/glade3 \
- unique-1.0.2:${PORTSDIR}/x11-toolkits/unique \
- gdl-1.3:${PORTSDIR}/x11-toolkits/gdl
+LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre \
+ gladeui-1:${PORTSDIR}/devel/glade3 \
+ unique-1.0:${PORTSDIR}/x11-toolkits/unique \
+ gdl-1:${PORTSDIR}/x11-toolkits/gdl
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
autogen:${PORTSDIR}/devel/autogen \
${LOCALBASE}/share/autotools:${PORTSDIR}/devel/autotools \
@@ -64,16 +60,17 @@ GCONF_SCHEMAS= anjuta-build-basic-autotools-plugin.schemas \
MAN1= anjuta.1 anjuta-launcher.1
-OPTIONS= SVN "Build subversion plugin" off \
- DEVHELP "Build devhelp plugin" on \
- GRAPHVIZ "Build inheritance plugin" on
+OPTIONS_DEFINE= SVN DEVHELP GRAPHVIZ
+OPTIONS_DEFAULT=DEVHELP GRAPHVIZ
+DEVHELP_DESC= Devhelp support
+GRAPHVIZ_DESC= inheritance plugin
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_SVN)
+.if ${PORT_OPTIONS:MSVN}
BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion
-LIB_DEPENDS+= apr-1.4:${PORTSDIR}/devel/apr1
-LIB_DEPENDS+= neon.27:${PORTSDIR}/www/neon29
+LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr1
+LIB_DEPENDS+= neon:${PORTSDIR}/www/neon29
RUN_DEPENDS+= svn:${PORTSDIR}/devel/subversion
PLIST_SUB+= SVN=""
.else
@@ -81,8 +78,8 @@ CONFIGURE_ARGS+=--disable-plugin-subversion
PLIST_SUB+= SVN="@comment "
.endif
-.if defined(WITH_DEVHELP)
-LIB_DEPENDS+= devhelp-2.1:${PORTSDIR}/devel/devhelp
+.if ${PORT_OPTIONS:MDEVHELP}
+LIB_DEPENDS+= devhelp-2:${PORTSDIR}/devel/devhelp
PLIST_SUB+= DEVHELP=""
.else
CONFIGURE_ARGS+=--disable-plugin-devhelp
@@ -92,7 +89,7 @@ CONFIGURE_ARGS+=--disable-plugin-devhelp
PLIST_SUB+= DEVHELP=""
.endif
-.if defined(WITH_GRAPHVIZ)
+.if ${PORT_OPTIONS:MGRAPHVIZ}
CONFIGURE_ARGS+=--enable-graphviz
BUILD_DEPENDS+= neato:${PORTSDIR}/graphics/graphviz
RUN_DEPENDS+= neato:${PORTSDIR}/graphics/graphviz
@@ -113,7 +110,7 @@ post-configure:
${WRKSRC}/plugins/symbol-db/symbol-db-prefs.h
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in AUTHORS COPYING ChangeLog FUTURE INSTALL NEWS README \
doc/ScintillaDoc.html TODO
@@ -122,4 +119,4 @@ post-install:
.endif
@-update-mime-database ${PREFIX}/share/mime
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>