mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
2cbfa97806
x11-toolkits/gtkada3: Upgrade version 3.8.3.2 => 3.14.2 devel/gnatcoll: Upgrade version 2015 => 2016 devel/gps: Upgrade version 6.1.1.0 => 2016 This upgrade appears to work flawlessly on DragonFly, but on FreeBSD the PR list below regarding navigation to code error is unfortunately still valid. PR: 202317
75 lines
1.9 KiB
Makefile
75 lines
1.9 KiB
Makefile
# Created by: John Marino <marino@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gtkada
|
|
PORTVERSION= 3.14.2
|
|
CATEGORIES= x11-toolkits
|
|
PKGNAMESUFFIX= 3
|
|
|
|
MAINTAINER= marino@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 \
|
|
libglapi.so:graphics/libglapi \
|
|
libatk-bridge-2.0.so:accessibility/at-spi2-atk \
|
|
libepoxy.so:graphics/libepoxy \
|
|
libpng16.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>
|