blob: 401d79a141d80e7ab043cd7e1105030c1a7c247f (
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
|
# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= gtkada
PORTVERSION= 3.14.2
PORTREVISION= 3
CATEGORIES= x11-toolkits
PKGNAMESUFFIX= 3
MAINTAINER= ports@FreeBSD.org
COMMENT= Ada graphical toolkit based on Gtk3 components
LICENSE= GPLv3
BUILD_DEPENDS= gprbuild:devel/gprbuild
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig \
libharfbuzz.so:print/harfbuzz \
libdrm.so:graphics/libdrm \
libatk-bridge-2.0.so:accessibility/at-spi2-atk \
libepoxy.so:graphics/libepoxy \
libpng.so:graphics/png \
libffi.so:devel/libffi \
libpcre.so:devel/pcre \
libexpat.so:textproc/expat2 \
libatspi.so:accessibility/at-spi2-core \
libgraphite2.so:graphics/graphite2 \
libdbus-1.so:devel/dbus
USES= ada:run gmake iconv:wchar_t perl5 pkgconfig
USE_PERL5= build
USE_GNOME= gtk30 cairo gdkpixbuf2
USE_XORG= ice sm xxf86vm xcb xdmcp xau x11 pixman xfixes xdamage \
xcomposite xi xext xcursor xrandr xinerama xrender
USE_GL= gl egl gbm glu
USE_GITHUB= yes
GH_ACCOUNT= AdaCore
GH_PROJECT= gtkada
GH_TAGNAME= 1688bb8
GNU_CONFIGURE= yes
ALL_TARGET= tools static relocatable
PORTDOCS= gtkada_ug
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS= PROCESSORS=${MAKE_JOBS_NUMBER}
CONFLICTS_INSTALL= gtkada-*
CONFIGURE_ARGS+= --with-GL=auto \
--with-GL-prefix=${PREFIX} \
--enable-shared \
--enable-static
OPTIONS_DEFINE= DOCS NLS DEBUG
DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
DOCS_ALL_TARGET= docs
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
DEBUG_CONFIGURE_ON= --enable-build=Debug
DEBUG_CONFIGURE_OFF= --enable-build=Production
do-build:
# This target is recreated because -j cannot be set, but
# MAKE_JOBS_SAFE=yes is needed for PROCESSORS value
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gtkada-dialog
${RM} -r ${STAGEDIR}${PREFIX}/share/doc/gtkada/gtkada_ug/_sources
.include <bsd.port.mk>
|