blob: aed085424fdf506040a349b1fc99ce093a38db92 (
plain)
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
|
# $NetBSD: Makefile,v 1.12 2012/10/03 21:59:07 wiz Exp $
#
DISTNAME= gtkada-${GTKADA_VERSION}
PKGREVISION= 9
CATEGORIES= x11
MASTER_SITES= http://downloads.dragonlace.net/src/ \
http://dragonlace.mirrors.ada.cx/src/
EXTRACT_SUFX= .tar.bz2
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= gtkada-rm-${GTKADA_VERSION}${EXTRACT_SUFX}
MAINTAINER= draco@marino.st
HOMEPAGE= http://libre.adacore.com/libre/tools/gtkada/
COMMENT= Ada graphical toolkit based on Gtk+
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config perl makeinfo pkg-config
USE_LANGUAGES= c ada c++ fortran
MAKE_JOBS_SAFE= no
GTKADA_VERSION= 2.22
CONFIGURE_ARGS+= --disable-nls
PKGCONFIG_OVERRIDE+= projects/gtkada.pc.in
SUBST_CLASSES+= gate
SUBST_STAGE.gate= pre-configure
SUBST_MESSAGE.gate= Override tools for gate executable
SUBST_FILES.gate= src/tools/gate.in
SUBST_SED.gate= -e "s,@DIFF@,${TOOLS_PLATFORM.diff},"
SUBST_SED.gate+= -e "s,@PATCH@,${TOOLS_PLATFORM.patch},"
do-configure:
# OpenGL, Gnome, and glade are normally detected automatically, but
# at least with OpenGL, there is an installation bug. Rather than
# test everything, patch-ad just disables support for these features.
cd ${WRKSRC} && ${SETENV} ${MY_CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}
# gtk2 includes atk, glib and pango among others
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|