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$
|
2008-03-24 04:52:36 +01:00
|
|
|
# $MCom: ports/devel/anjuta/Makefile,v 1.22 2008/03/11 03:52:48 marcus Exp $
|
2001-03-31 18:10:34 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= anjuta
|
2008-04-08 01:26:11 +02:00
|
|
|
PORTVERSION= 2.4.1
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
PORTREVISION= 1
|
2001-03-31 18:10:34 +02:00
|
|
|
CATEGORIES= devel gnome
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF
|
2001-03-31 18:10:34 +02:00
|
|
|
|
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 \
|
2008-05-05 10:33:57 +02:00
|
|
|
neon.26:${PORTSDIR}/www/neon26 \
|
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
|
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 \
|
2008-03-26 04:02:23 +01:00
|
|
|
gtksourceview2
|
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"
|
2008-03-24 04:52:36 +01:00
|
|
|
CONFIGURE_ARGS= --enable-plugin-symbol-db
|
2007-07-08 10:21:31 +02:00
|
|
|
USE_LDCONFIG= yes
|
2008-03-24 04:52:36 +01:00
|
|
|
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
|
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}|' \
|
2008-03-24 04:52:36 +01:00
|
|
|
${WRKSRC}/global-tags/create_global_tags.sh.in
|
2007-07-09 08:30:17 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|PKG_PATH|PKG_CONFIG_PATH|g' \
|
|
|
|
${WRKSRC}/configure
|
2008-03-24 04:52:36 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|make|gmake|g' \
|
|
|
|
${WRKSRC}/plugins/build-basic-autotools/build-basic-autotools.c
|
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>
|