freebsd-ports/devel/anjuta/Makefile
Joe Marcus Clarke 610ae56816 Presenting GNOME 2.24 for FreeBSD.
See http://library.gnome.org/misc/release-notes/2.24/ for the general
release notes.  On the FreeBSD front, this release introduces Fuse support
in HAL, adds multi-CPU support to libgtop, WebKit updates, and fixes some
long-standing seahorse and gnome-keyring bugs.  The documentation updates
to the website are forthcoming.

This release features commits by adamw, ahze, kwm, mezz, and myself.  It would
not have been possible without are contributors and testers:

Alexander Loginov
Craig Butler [1]
Dmitry Marakasov [6]
Eric L. Chen
Joseph S. Atkinson
Kris Moore
Lapo Luchini [7]
Nikos Ntarmos
Pawel Worach
Romain Tartiere
TAOKA Fumiyoshi [3]
Yasuda Keisuke
Zyl
aZ [4]
bf [2] [5]
Florent Thoumie
Peter Wemm
pluknet

PR:		125857 [1]
		126993 [2]
		130031 [3]
		127399 [4]
		127661 [5]
		124302 [6]
		129570 [7]
		129936
		123790
2009-01-10 05:22:13 +00:00

115 lines
3.4 KiB
Makefile

# New ports collection makefile for: anjuta
# Date created: 31 March 2001
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/devel/anjuta/Makefile,v 1.32 2008/11/27 02:17:34 marcus Exp $
#
PORTNAME= anjuta
PORTVERSION= 2.24.2
PORTREVISION= 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.28:${PORTSDIR}/www/neon28 \
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 libgnomeui vte gtksourceview2
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG= yes
GCONF_SCHEMAS= anjuta-build-basic-autotools-plugin.schemas \
anjuta-cvs-plugin.schemas anjuta-document-manager.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 plugin" off \
SYMBOL "Build experimental symbol-db plugin" off \
SCINTILLA "Build scintilla plugin" 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
.if defined(WITH_SCINTILLA)
USE_GNOME+= libgnomeprintui
CONFIGURE_ARGS+=--enable-plugin-scintilla
GCONF_SCHEMAS+= anjuta-editor-scintilla.schemas
PLIST_SUB+= SCINTILLA=""
.else
#CONFIGURE_ARGS+=--disable-plugin-scintilla
PLIST_SUB+= SCINTILLA="@comment "
.endif
.if defined(WITH_SYMBOL)
USE_GNOME+= libgda4
CONFIGURE_ARGS+=--enable-plugin-symbol-db
GCONF_SCHEMAS+= anjuta-symbol-db.schemas
PLIST_SUB+= SYMBOL=""
.else
CONFIGURE_ARGS+=--disable-plugin-symbol-db
PLIST_SUB+= SYMBOL="@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/plugin.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>