2001-03-31 18:10:34 +02:00
|
|
|
# New ports collection makefile for: anjuta
|
|
|
|
# Date created: 31 March 2001
|
|
|
|
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2007-10-25 01:37:25 +02:00
|
|
|
# $MCom: ports/devel/anjuta/Makefile,v 1.13 2007/09/07 05:03:33 marcus Exp $
|
2001-03-31 18:10:34 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= anjuta
|
2007-12-17 07:49:10 +01:00
|
|
|
PORTVERSION= 2.2.3
|
2001-03-31 18:10:34 +02:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= anjuta
|
|
|
|
|
2001-05-18 17:07:46 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-02-22 02:38:54 +01:00
|
|
|
COMMENT= Integrated Development Environment for C and C++
|
2001-03-31 18:10:34 +02:00
|
|
|
|
2007-07-08 10:21:31 +02:00
|
|
|
BUILD_DEPENDS= autogen:${PORTSDIR}/devel/autogen \
|
|
|
|
bash:${PORTSDIR}/shells/bash \
|
|
|
|
neato:${PORTSDIR}/graphics/graphviz
|
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
|
2007-09-07 07:01:40 +02:00
|
|
|
gbf-1.1:${PORTSDIR}/devel/gnome-build \
|
2007-10-25 01:37:25 +02:00
|
|
|
gladeui-1.7:${PORTSDIR}/devel/glade3 \
|
2007-07-08 10:21:31 +02:00
|
|
|
devhelp-1.0:${PORTSDIR}/devel/devhelp
|
2007-08-12 03:40:26 +02:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
|
2007-07-08 10:21:31 +02:00
|
|
|
autogen:${PORTSDIR}/devel/autogen \
|
|
|
|
neato:${PORTSDIR}/graphics/graphviz \
|
2007-07-16 00:28:09 +02:00
|
|
|
libtool:${PORTSDIR}/devel/libtool15 \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
|
2001-03-31 18:10:34 +02:00
|
|
|
|
2007-07-08 10:21:31 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_XLIB= yes
|
2007-08-12 03:40:26 +02:00
|
|
|
USE_AUTOTOOLS= autotools:run
|
2001-03-31 18:10:34 +02:00
|
|
|
USE_GMAKE= yes
|
2006-05-16 00:23:04 +02:00
|
|
|
USE_GETTEXT= yes
|
2007-07-08 10:21:31 +02:00
|
|
|
INSTALLS_OMF= yes
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehack libgnomeprintui libgnomeui vte \
|
|
|
|
gtksourceview
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-03-31 18:10:34 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-01-07 06:29:31 +01:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2007-07-08 10:21:31 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-03-31 18:10:34 +02:00
|
|
|
|
2004-01-07 06:29:31 +01:00
|
|
|
MAN1= anjuta.1 anjuta_launcher.1
|
2003-10-11 06:41:33 +02:00
|
|
|
|
2007-07-08 10:21:31 +02:00
|
|
|
OPTIONS= SVN "Build subversion plugins" off
|
|
|
|
|
2005-09-10 04:26:48 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-07-08 10:21:31 +02:00
|
|
|
.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 "
|
2005-09-10 04:26:48 +02:00
|
|
|
.endif
|
|
|
|
|
2004-10-17 08:44:54 +02:00
|
|
|
post-configure:
|
2007-07-08 10:21:31 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash| ; \
|
2007-10-25 01:37:25 +02:00
|
|
|
s|/usr/local|${PREFIX}|' \
|
2007-07-08 10:21:31 +02:00
|
|
|
${WRKSRC}/global-tags/create_global_tags.sh
|
2007-07-09 08:30:17 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|PKG_PATH|PKG_CONFIG_PATH|g' \
|
|
|
|
${WRKSRC}/configure
|
2004-10-17 08:44:54 +02:00
|
|
|
|
2004-01-07 06:29:31 +01:00
|
|
|
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
|
2007-07-08 10:21:31 +02:00
|
|
|
@-update-mime-database ${PREFIX}/share/mime
|
2001-03-31 18:10:34 +02:00
|
|
|
|
2005-09-10 04:26:48 +02:00
|
|
|
.include <bsd.port.post.mk>
|