freebsd-ports/devel/anjuta/Makefile
Joe Marcus Clarke f76d32b8e8 Presenting GNOME 2.28.1 for FreeBSD. The official release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.28/ .
Officially, this is mostly a polishing release in preparation for GNOME 3.0
due in about a year.

On the FreeBSD front, though, a lot went into this release.  Major thanks
goes to kwm and avl who did a lot of the porting work for this release.
In particular, kwm brought in Evolution MAPI support for better Microsoft
Exchange integration.  Avl made sure that the new gobject introspection
repository ports were nicely compartmentalized so that large dependencies
aren't brought in wholesale.

But, every GNOME team member (ahze, avl, bland, kwm, mezz, and myself)
contributed to this release.

Other major improvements include an updated HAL with better volume
probing code, ufsid integration, and support for volume names containing
spaces (big thanks to J.R. Oldroyd); a new WebKit; updated AbiWord;
an updated Gimp; and a preview of the new GNOME Shell project (thanks to
Pawel Worach).

The FreeBSD GNOME Team would like to that the following additional
contributors to this release whose patches and testing really helped
make it a success:

Andrius Morkunas
Dominique Goncalves
Eric L. Chen
J.R. Oldroyd
Joseph S. Atkinson
Li
Pawel Worach
Romain Tartière
Thomas Vogt
Yasuda Keisuke
Rui Paulo
Martin Wilke
(and an extra shout out to miwi and pav for pointyhat runs)

We would like to send this release out to Alexander Loginov (avl) in
hopes that he feels better soon.

PR:		136676
		136967
		138872 (obsolete with new epiphany-webkit)
		139160
		134737
		139941
		140097
		140838
		140929
2009-11-28 20:06:37 +00:00

121 lines
3.6 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.49 2009/10/19 19:29:48 kwm Exp $
#
PORTNAME= anjuta
PORTVERSION= 2.28.1.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 \
p5-gettext>=1.05:${PORTSDIR}/devel/p5-Locale-gettext
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
gladeui-1.9:${PORTSDIR}/devel/glade3 \
neon.28:${PORTSDIR}/www/neon28 \
unique-1.0.2:${PORTSDIR}/x11-toolkits/unique \
gdl-1.3:${PORTSDIR}/x11-toolkits/gdl
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
autogen:${PORTSDIR}/devel/autogen \
p5-gettext>=1.05:${PORTSDIR}/devel/p5-Locale-gettext \
libtool:${PORTSDIR}/devel/libtool22 \
${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme \
exctags:${PORTSDIR}/devel/ctags
USE_BZIP2= yes
USE_AUTOTOOLS= autotools:run
USE_GMAKE= yes
USE_GETTEXT= yes
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
USE_PERL5= yes
USE_GNOME= gnomeprefix gnomehack vte gtksourceview2 libgda4
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-debug-manager.schemas \
anjuta-document-manager.schemas \
anjuta-editor-sourceview.schemas \
anjuta-language-cpp-java.schemas \
anjuta-message-manager-plugin.schemas \
anjuta-symbol-db.schemas \
anjuta-terminal-plugin.schemas \
file-manager.schemas \
preferences.schemas
MAN1= anjuta.1 anjuta-launcher.1
OPTIONS= SVN "Build subversion plugin" off \
DEVHELP "Build devhelp plugin" on
.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+
## Test if we got apache 20 or 22.
.if exists(${LOCALBASE}/include/apache22/httpd.h)
APR_CONFIG=${LOCALBASE}/bin/apr-1-config
APU_CONFIG=${LOCALBASE}/bin/apu-1-config
.else
APR_CONFIG=${LOCALBASE}/lib/apache2/apr-config
APU_CONFIG=${LOCALBASE}/lib/apache2/apu-config
.endif
CONFIGURE_ENV+= APR_CFLAGS="`${APR_CONFIG} --includes`" \
APR_LIBS="`${APU_CONFIG} --libs`" \
APR_UTILS_CFLAGS="`${APU_CONFIG} --includes`" \
APR_UTILS_LIBS="`${APU_CONFIG} --libs`" \
CONFIGURE_ARGS+=--with-subversion-dir=${LOCALBASE}/bin \
--with-svn-include=${LOCALBASE}/include \
--with-svn-lib=${LOCALBASE}/lib
PLIST_SUB+= SVN=""
.else
CONFIGURE_ARGS+=--disable-plugin-subversion
PLIST_SUB+= SVN="@comment "
.endif
.if defined(WITH_DEVHELP)
LIB_DEPENDS+= devhelp-1.1:${PORTSDIR}/devel/devhelp
PLIST_SUB+= DEVHELP=""
.else
CONFIGURE_ARGS+=--disable-plugin-devhelp
# XXX Even if we disable the devhelp plugin it gets build and installed.
# See if versions beyond 2.26.1.0 still do this.
#PLIST_SUB+= DEVHELP="@comment "
PLIST_SUB+= DEVHELP=""
.endif
post-configure:
@${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
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/plugins/symbol-db/plugin.h \
${WRKSRC}/plugins/symbol-db/symbol-db-prefs.h
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>