aboutsummaryrefslogtreecommitdiffstats
path: root/devel/anjuta/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-10-17 14:44:54 +0800
committermarcus <marcus@FreeBSD.org>2004-10-17 14:44:54 +0800
commitc47f4d72ba596937f2d273c87b6aa8f7c254931b (patch)
tree174abc793b8ba00bc8f06a9e6c0dc4a2f5f78a81 /devel/anjuta/Makefile
parent66063699ff825e76e3412dd062547a26e5301a51 (diff)
downloadfreebsd-ports-gnome-c47f4d72ba596937f2d273c87b6aa8f7c254931b.tar.gz
freebsd-ports-gnome-c47f4d72ba596937f2d273c87b6aa8f7c254931b.tar.zst
freebsd-ports-gnome-c47f4d72ba596937f2d273c87b6aa8f7c254931b.zip
Teach anjuta about the new gnu-autotools ports, and fix some problems with
command escaping during project execution.
Diffstat (limited to 'devel/anjuta/Makefile')
-rw-r--r--devel/anjuta/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/devel/anjuta/Makefile b/devel/anjuta/Makefile
index cebf3d636f65..06c53da38d79 100644
--- a/devel/anjuta/Makefile
+++ b/devel/anjuta/Makefile
@@ -7,7 +7,7 @@
PORTNAME= anjuta
PORTVERSION= 1.2.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= anjuta
@@ -16,18 +16,25 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= Integrated Development Environment for C and C++
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
+RUN_DEPENDS= ${LOCALBASE}/gnu-autotools/bin/autoconf:${PORTSDIR}/devel/gnu-autoconf \
+ ${LOCALBASE}/gnu-autotools/bin/automake:${PORTSDIR}/devel/gnu-automake \
+ ${LOCALBASE}/gnu-autotools/bin/libtool:${PORTSDIR}/devel/gnu-libtool
-NO_LATEST_LINK= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= yes
USE_GNOME= gnomeprefix gnomehack libgnomeprintui libgnomeui vte
-GNU_CONFIGURE= yes
+USE_LIBTOOL_VER=15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= anjuta.1 anjuta_launcher.1
+post-configure:
+ @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
+ s|%%PREFIX%%|${PREFIX}|g' < ${FILESDIR}/anjuta \
+ > ${WRKDIR}/anjuta
+
post-install:
${INSTALL_DATA} ${WRKSRC}/pixmaps/applogo.png \
${PREFIX}/share/gnome/anjuta/glade
@@ -38,5 +45,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
+ ${MV} ${PREFIX}/bin/anjuta ${PREFIX}/bin/anjuta-bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/anjuta ${PREFIX}/bin
.include <bsd.port.mk>