2001-03-31 16:10:34 +00:00
|
|
|
# New ports collection makefile for: anjuta
|
|
|
|
# Date created: 31 March 2001
|
|
|
|
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= anjuta
|
2005-08-28 07:33:23 +00:00
|
|
|
PORTVERSION= 1.2.4
|
2006-05-24 18:03:50 +00:00
|
|
|
PORTREVISION= 5
|
2001-03-31 16:10:34 +00:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= anjuta
|
|
|
|
|
2001-05-18 15:07:46 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-02-22 01:38:54 +00:00
|
|
|
COMMENT= Integrated Development Environment for C and C++
|
2001-03-31 16:10:34 +00:00
|
|
|
|
2006-05-01 04:02:37 +00:00
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre-utf8
|
2004-10-17 06:44:54 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/gnu-autotools/bin/autoconf:${PORTSDIR}/devel/gnu-autoconf \
|
|
|
|
${LOCALBASE}/gnu-autotools/bin/automake:${PORTSDIR}/devel/gnu-automake \
|
2006-05-24 18:03:50 +00:00
|
|
|
libtool:${PORTSDIR}/devel/libtool15
|
2001-03-31 16:10:34 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2004-11-23 02:23:08 +00:00
|
|
|
INSTALLS_OMF= yes
|
2004-01-07 05:29:31 +00:00
|
|
|
USE_GNOME= gnomeprefix gnomehack libgnomeprintui libgnomeui vte
|
2006-05-15 22:23:04 +00:00
|
|
|
USE_GETTEXT= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-08-31 21:44:37 +00:00
|
|
|
USE_GCC= 3.4+
|
2001-03-31 16:10:34 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-01-07 05:29:31 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-03-31 16:10:34 +00:00
|
|
|
|
2004-01-07 05:29:31 +00:00
|
|
|
MAN1= anjuta.1 anjuta_launcher.1
|
2003-10-11 04:41:33 +00:00
|
|
|
|
2005-09-10 02:26:48 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
2006-05-16 04:14:30 +00:00
|
|
|
IGNORE= uses symbols not available on 4.X
|
2005-09-10 02:26:48 +00:00
|
|
|
.endif
|
|
|
|
|
2004-10-17 06:44:54 +00:00
|
|
|
post-configure:
|
|
|
|
@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
|
|
|
|
s|%%PREFIX%%|${PREFIX}|g' < ${FILESDIR}/anjuta \
|
|
|
|
> ${WRKDIR}/anjuta
|
|
|
|
|
2004-01-07 05:29:31 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/applogo.png \
|
|
|
|
${PREFIX}/share/gnome/anjuta/glade
|
|
|
|
.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
|
2004-10-17 06:44:54 +00:00
|
|
|
${MV} ${PREFIX}/bin/anjuta ${PREFIX}/bin/anjuta-bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/anjuta ${PREFIX}/bin
|
2001-03-31 16:10:34 +00:00
|
|
|
|
2005-09-10 02:26:48 +00:00
|
|
|
.include <bsd.port.post.mk>
|