aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkada-devel/Makefile
blob: 80105f38f9e8bf8153f9c8251ae2e1034b826cea (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
# New ports collection makefile for:   gtkada
# Date Created:         27 Nov 2000
# Whom:             Samuel Tardieu <sam@inf.enst.fr>
#
# $FreeBSD$
#

PORTNAME=   gtkada
PORTVERSION=    1.2.12
CATEGORIES= x11-toolkits
MASTER_SITES=   http://libre.act-europe.fr/GtkAda/ \
        http://gtkada.eu.org/ \
        http://www.adapower.com/gtkada/
DISTNAME=   GtkAda-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= sam@inf.enst.fr
COMMENT=    Gtk binding for Ada

BUILD_DEPENDS=  adagcc:${PORTSDIR}/lang/gnat

SHLIB_VERSION=  ${PORTVERSION:S/1.2.//}

USE_MESA=   yes
USE_X_PREFIX=   yes
USE_GNOMENG=    yes
USE_GNOME=  libcapplet libglade
USE_GMAKE=  yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
MAKE_ENV=   LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

PLIST_SUB=  SHLIB_VERSION=${SHLIB_VERSION}

MAN1=   dgate.1 gate.1 gtkada-config.1

post-install:
    ${INSTALL_DATA} ${WRKSRC}/docs/*.1 ${PREFIX}/man/man1/
    ${LN} -sf ${PREFIX}/share/doc/GtkAda/*/*.info* ${PREFIX}/info/

.include <bsd.port.mk>