summaryrefslogtreecommitdiffstats
path: root/devel/anjuta/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-06-05 23:04:21 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-06-05 23:04:21 +0800
commitc5961348f066dd5c5deb94780a569882056d2b47 (patch)
tree13bedbb1c73759296c4ef7fad0e43b0f6130b762 /devel/anjuta/Makefile
parent6019c8db803a6e18fd99eeab2ba7abccdde93330 (diff)
downloadmarcuscom-ports-c5961348f066dd5c5deb94780a569882056d2b47.tar
marcuscom-ports-c5961348f066dd5c5deb94780a569882056d2b47.tar.gz
marcuscom-ports-c5961348f066dd5c5deb94780a569882056d2b47.tar.bz2
marcuscom-ports-c5961348f066dd5c5deb94780a569882056d2b47.tar.lz
marcuscom-ports-c5961348f066dd5c5deb94780a569882056d2b47.tar.xz
marcuscom-ports-c5961348f066dd5c5deb94780a569882056d2b47.tar.zst
marcuscom-ports-c5961348f066dd5c5deb94780a569882056d2b47.zip
UPdate to 2.5.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11026 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/anjuta/Makefile')
-rw-r--r--devel/anjuta/Makefile95
1 files changed, 95 insertions, 0 deletions
diff --git a/devel/anjuta/Makefile b/devel/anjuta/Makefile
new file mode 100644
index 000000000..4d08ed374
--- /dev/null
+++ b/devel/anjuta/Makefile
@@ -0,0 +1,95 @@
+# New ports collection makefile for: anjuta
+# Date created: 31 March 2001
+# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= anjuta
+PORTVERSION= 2.5.0
+CATEGORIES= devel gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Integrated Development Environment for C and C++
+
+BUILD_DEPENDS= autogen:${PORTSDIR}/devel/autogen \
+ bash:${PORTSDIR}/shells/bash \
+ neato:${PORTSDIR}/graphics/graphviz
+LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
+ gbf-1.2:${PORTSDIR}/devel/gnome-build \
+ gladeui-1.7:${PORTSDIR}/devel/glade3 \
+ neon.26:${PORTSDIR}/www/neon26 \
+ devhelp-1.0:${PORTSDIR}/devel/devhelp
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
+ autogen:${PORTSDIR}/devel/autogen \
+ neato:${PORTSDIR}/graphics/graphviz \
+ libtool:${PORTSDIR}/devel/libtool15 \
+ ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
+
+USE_BZIP2= yes
+USE_AUTOTOOLS= autotools:run
+USE_GMAKE= yes
+USE_GETTEXT= yes
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+USE_GNOME= gnomeprefix gnomehack libgnomeprintui libgnomeui vte \
+ gtksourceview2
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --enable-plugin-symbol-db
+USE_LDCONFIG= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
+GCONF_SCHEMAS= anjuta-build-basic-autotools-plugin.schemas \
+ anjuta-cvs-plugin.schemas anjuta-document-manager.schemas \
+ anjuta-editor-scintilla.schemas anjuta-language-cpp-java.schemas \
+ anjuta-message-manager-plugin.schemas \
+ anjuta-editor-sourceview.schemas \
+ anjuta-symbol-browser-plugin.schemas \
+ anjuta-terminal-plugin.schemas anjuta.schemas
+
+MAN1= anjuta.1 anjuta_launcher.1
+
+OPTIONS= SVN "Build subversion plugins" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_SVN)
+BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion
+RUN_DEPENDS+= svn:${PORTSDIR}/devel/subversion
+USE_APACHE= 2.0+
+
+CONFIGURE_ARGS+=--with-subversion-dir=${LOCALBASE}/bin \
+ --with-svn-include=${LOCALBASE}/include \
+ --with-svn-lib=${LOCALBASE}/lib \
+ --with-apr-config=${LOCALBASE}/bin/apr-1-config \
+ --with-apu-config=${LOCALBASE}/bin/apu-1-config
+PLIST_SUB+= SVN=""
+.else
+CONFIGURE_ARGS+=--disable-plugin-subversion
+PLIST_SUB+= SVN="@comment "
+.endif
+
+post-configure:
+ @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash| ; \
+ s|/usr/local|${PREFIX}|' \
+ ${WRKSRC}/global-tags/create_global_tags.sh.in
+ @${REINPLACE_CMD} -e 's|PKG_PATH|PKG_CONFIG_PATH|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|make|gmake|g' \
+ ${WRKSRC}/plugins/build-basic-autotools/build-basic-autotools.c
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in AUTHORS COPYING ChangeLog FUTURE INSTALL NEWS README \
+ doc/ScintillaDoc.html TODO
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+ @-update-mime-database ${PREFIX}/share/mime
+
+.include <bsd.port.post.mk>