summaryrefslogtreecommitdiffstats
path: root/devel/anjuta/Makefile
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-11-23 19:40:23 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-11-23 19:40:23 +0800
commit1880e49e0145423d4a3a3b126f55eeec403f6568 (patch)
tree803f97cdb601a2dec2e7cba73c11fe19f50f8bd2 /devel/anjuta/Makefile
parent315175221f1c1bdf2df17d84580520a34982182e (diff)
downloadmarcuscom-ports-1880e49e0145423d4a3a3b126f55eeec403f6568.tar
marcuscom-ports-1880e49e0145423d4a3a3b126f55eeec403f6568.tar.gz
marcuscom-ports-1880e49e0145423d4a3a3b126f55eeec403f6568.tar.bz2
marcuscom-ports-1880e49e0145423d4a3a3b126f55eeec403f6568.tar.lz
marcuscom-ports-1880e49e0145423d4a3a3b126f55eeec403f6568.tar.xz
marcuscom-ports-1880e49e0145423d4a3a3b126f55eeec403f6568.tar.zst
marcuscom-ports-1880e49e0145423d4a3a3b126f55eeec403f6568.zip
Update devel/anjuta to 3.6.2:
- Do not set versions for automake and autoconf, let the port system choose the right ones - Use shebang to fix some pl and js files [1] - Use desktofiles [2] - Use sed to include limits.h instead of values.h - Remove the usage of inline functions (with GNUC_INLINE) at plugins/symbol-db/symbol-db-engine-core.c, that break with clang at the link stage - Remove the profiling option (-fprofile-arc) or libprofile_rt.so would be needed. We don't ship that with our clang in the base - Add a patch so the definition of pm_project_resize_properties_dialog appears before its first usage - Ensure the libs installed are stripped - While here, ensure stage support and check the lib depends follow the new style - Some other minor fixes and cosmetic changes Reviewed by: kwm [1], [2] Reported by: poudriere git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18914 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/anjuta/Makefile')
-rw-r--r--devel/anjuta/Makefile49
1 files changed, 37 insertions, 12 deletions
diff --git a/devel/anjuta/Makefile b/devel/anjuta/Makefile
index 49d133b13..b4b81b6e5 100644
--- a/devel/anjuta/Makefile
+++ b/devel/anjuta/Makefile
@@ -1,9 +1,9 @@
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
-# $MCom: ports/trunk/devel/anjuta3/Makefile 18610 2013-06-30 16:33:05Z marcus $
+# $MCom$
PORTNAME= anjuta
-PORTVERSION= 3.4.3
+PORTVERSION= 3.6.2
CATEGORIES= devel gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
@@ -12,20 +12,29 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= Integrated Development Environment for C and C++
BUILD_DEPENDS= glade>=3.12.0:${PORTSDIR}/devel/glade \
- valac:${PORTSDIR}/lang/vala
+ valac:${PORTSDIR}/lang/vala \
+ itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
libgladeui-2.so:${PORTSDIR}/devel/glade \
libgdl-3.so:${PORTSDIR}/x11-toolkits/gdl
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme \
autogen:${PORTSDIR}/devel/autogen \
- automake-1.12:${PORTSDIR}/devel/automake \
- autoconf-2.69:${PORTSDIR}/devel/autoconf \
+ automake>=0:${PORTSDIR}/devel/automake \
+ autoconf>=0:${PORTSDIR}/devel/autoconf \
libtool>=2.4:${PORTSDIR}/devel/libtool \
gdb>=7.3:${PORTSDIR}/devel/gdb \
yelp>=3.0.0:${PORTSDIR}/x11/yelp
-
USE_XZ= yes
-USES= bison gettext gmake pathfix perl5 pkgconfig shared-mime-info
+USE_CSTD= gnu89
+USES= bison desktop-file-utils gettext gmake pathfix perl5 \
+ pkgconfig shared-mime-info shebangfix
+SHEBANG_FILES= plugins/project-wizard/templates/js_minimal/src/main.js \
+ plugins/tools/scripts/find-fixmes.pl \
+ plugins/tools/scripts/translation-status.pl \
+ plugins/tools/scripts/prepare-changelog.pl
+SHEBANG_LANG+= gjs
+gjs_OLD_CMD= /usr/bin/gjs
+gjs_CMD= ${LOCALBASE}/bin/gjs
INSTALLS_ICONS= yes
USE_PYTHON= yes
USE_LDCONFIG= yes
@@ -37,19 +46,22 @@ CONFIGURE_ARGS= --with-symbol-db-shm=/tmp \
--disable-packagekit \
--enable-introspection=yes
DOCSDIR= share/doc/libanjuta
-GLIB_SCHEMAS= org.gnome.anjuta.code-analyzer.gschema.xml \
- org.gnome.anjuta.cpp.gschema.xml \
- org.gnome.anjuta.cvs.gschema.xml \
+GLIB_SCHEMAS= org.gnome.anjuta.cvs.gschema.xml \
org.gnome.anjuta.document-manager.gschema.xml \
org.gnome.anjuta.file-manager.gschema.xml \
org.gnome.anjuta.gschema.xml \
- org.gnome.anjuta.js.gschema.xml \
org.gnome.anjuta.plugins.build.gschema.xml \
+ org.gnome.anjuta.plugins.cpp.gschema.xml \
org.gnome.anjuta.plugins.debug-manager.gschema.xml \
+ org.gnome.anjuta.plugins.indent-c.gschema.xml \
+ org.gnome.anjuta.plugins.indent-python.gschema.xml \
+ org.gnome.anjuta.plugins.js.gschema.xml \
org.gnome.anjuta.plugins.message-manager.gschema.xml \
+ org.gnome.anjuta.plugins.parser-cxx.gschema.xml \
+ org.gnome.anjuta.plugins.python.gschema.xml \
org.gnome.anjuta.plugins.run.gschema.xml \
org.gnome.anjuta.plugins.sourceview.gschema.xml \
- org.gnome.anjuta.python.gschema.xml \
+ org.gnome.anjuta.plugins.vala.gschema.xml \
org.gnome.anjuta.snippets.gschema.xml \
org.gnome.anjuta.symbol-db.gschema.xml \
org.gnome.anjuta.terminal.gschema.xml \
@@ -111,5 +123,18 @@ post-patch:
${WRKSRC}/plugins/build-basic-autotools/plugin.c
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${PREFIX}|g' \
${WRKSRC}/libanjuta/anjuta-utils.c
+ @${REINPLACE_CMD} -e 's|ac_ct_CXX" = "x"|CXX" = "x"|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|values.h|limits.h|g' \
+ ${WRKSRC}/plugins/project-wizard/property.h \
+ ${WRKSRC}/plugins/project-wizard/install.h
+ @${REINPLACE_CMD} -e 's|-fprofile-arcs||g' \
+ ${WRKSRC}/libanjuta/tests/Makefile.in \
+ ${WRKSRC}/libanjuta/tests/Makefile.am
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/anjuta/lib*.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/glade/modules/libgladeanjuta.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libanjuta-3.so.0
.include <bsd.port.mk>