mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
abd6f84396
- Repair my rookie mistake of earlier today - Bump revision of dependent ports (again) Reported by: antoine
126 lines
4.2 KiB
Makefile
126 lines
4.2 KiB
Makefile
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= anjuta
|
|
PORTVERSION= 3.18.2
|
|
PORTREVISION= 5
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome3
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Integrated Development Environment for C and C++
|
|
|
|
BUILD_DEPENDS= autogen:devel/autogen \
|
|
itstool:textproc/itstool
|
|
LIB_DEPENDS+= libpcre.so:devel/pcre \
|
|
libgdl-3.so:x11-toolkits/gdl
|
|
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:misc/gnome-icon-theme \
|
|
autogen:devel/autogen \
|
|
automake>=0:devel/automake \
|
|
autoconf>=0:devel/autoconf \
|
|
libtool>=2.4:devel/libtool \
|
|
gdb>=7.10:devel/gdb \
|
|
gmake:devel/gmake \
|
|
yelp>=3.0.0:x11/yelp
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= bison desktop-file-utils gettext gmake gnome libtool pathfix \
|
|
perl5 pkgconfig:both python shared-mime-info shebangfix tar:xz
|
|
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_LDCONFIG= yes
|
|
USE_GNOME= gtksourceview3 intlhack libgda5 libwnck3 vte3
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --with-symbol-db-shm=/tmp \
|
|
--disable-packagekit \
|
|
--disable-neon \
|
|
--enable-compile-warnings=minimum \
|
|
--enable-introspection=yes
|
|
DOCSDIR= share/doc/libanjuta
|
|
INSTALL_TARGET= install-strip
|
|
|
|
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.plugins.build.gschema.xml \
|
|
org.gnome.anjuta.plugins.cpp.gschema.xml \
|
|
org.gnome.anjuta.plugins.debug-manager.gschema.xml \
|
|
org.gnome.anjuta.plugins.git.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.project-wizard.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.plugins.vala.gschema.xml \
|
|
org.gnome.anjuta.snippets.gschema.xml \
|
|
org.gnome.anjuta.starter.gschema.xml \
|
|
org.gnome.anjuta.symbol-db.gschema.xml \
|
|
org.gnome.anjuta.terminal.gschema.xml \
|
|
org.gnome.anjuta.tools.gschema.xml
|
|
|
|
OPTIONS_SUB= yes
|
|
OPTIONS_DEFINE= SVN DEVHELP VALA GLADE TERMINAL
|
|
OPTIONS_DEFAULT=SVN DEVHELP VALA GLADE TERMINAL
|
|
SVN_DESC= Subversion plugin
|
|
DEVHELP_DESC= Devhelp plugin
|
|
VALA_DESC= Vala support
|
|
GLADE_DESC= Build glade plugin
|
|
TERMINAL_DESC= Build build-in terminal
|
|
|
|
GLADE_LIB_DEPENDS= libgladeui-2.so:devel/glade
|
|
GLADE_CONFIGURE_ENABLE= plugin-glade
|
|
|
|
TERMINAL_USE= GNOME=vte3
|
|
TERMINAL_CONFIGURE_ENABLE= plugin-terminal
|
|
|
|
SVN_BUILD_DEPENDS= svn:devel/subversion
|
|
SVN_LIB_DEPENDS= libapr-1.so:devel/apr1 \
|
|
libserf-1.so:www/serf
|
|
SVN_RUN_DEPENDS= svn:devel/subversion
|
|
SVN_CONFIGURE_ENABLE= plugin-subversion
|
|
|
|
DEVHELP_LIB_DEPENDS= libdevhelp-3.so:devel/devhelp
|
|
DEVHELP_CONFIGURE_ENBABLE= plugin-devhelp
|
|
|
|
VALA_VER= 0.36
|
|
VALA_BUILD_DEPENDS= vala>=${VALA_VER},1<${VALA_VER}.99,1:lang/vala
|
|
VALA_RUN_DEPENDS= vala>=${VALA_VER},1<${VALA_VER}.99,1:lang/vala
|
|
VALA_CONFIGURE_ENABLE= vala
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|"make|"gmake|g' \
|
|
${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' \
|
|
-e 's|libvala-0.28|libvala-${VALA_VER}|g' \
|
|
-e 's|valaver="-0.28"|valaver="-${VALA_VER}"|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
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${PREFIX}|g' \
|
|
${WRKSRC}/plugins/gdb/debugger.c
|
|
|
|
.include <bsd.port.mk>
|