aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkada/Makefile
blob: 43ec98acd94645d81f6a655ba0622be8ce34faf1 (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
# 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

BUILD_DEPENDS=  adagcc:${PORTSDIR}/lang/gnat
LIB_DEPENDS=    glade.4:${PORTSDIR}/devel/libglade

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

USE_MESA=   yes
USE_X_PREFIX=   yes
USE_GNOMECTRL=  yes
USE_GMAKE=  yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        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>