blob: cc4d000ac34775e6a3b0116567742aa4a5675359 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
PORTNAME= anjuta
PORTVERSION= 3.22.0
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 \
libexpat.so:textproc/expat2 \
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= cairo 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
TERMINAL_LIB_DEPENDS= libgnutls.so:security/gnutls
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= libsoup-2.4.so:devel/libsoup \
libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
libdevhelp-3.so:devel/devhelp
DEVHELP_CONFIGURE_ENBABLE= plugin-devhelp
VALA_VER= 0.34
VALA_BUILD_DEPENDS= vala>=${VALA_VER}<${VALA_VER}.99:lang/vala
VALA_RUN_DEPENDS= vala>=${VALA_VER}<${VALA_VER}.99: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>
|