aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gnat-glade/Makefile
blob: 38e3e9b6c1a125c7f9987886dc4b02f9cad17048 (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
# New ports collection makefile for:    gnat-glade
# Date created:         3 May 2000
# Whom:                 sam@inf.enst.fr
#
# $FreeBSD$
#

PORTNAME=   gnat-glade
PORTVERSION=    3.15p
PORTREVISION=   1
CATEGORIES= lang
MASTER_SITES=   ftp://cs.nyu.edu/pub/gnat/${PORTVERSION}/glade/
DISTNAME=   glade-${PORTVERSION}-src
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    GNU Ada distributed systems annex

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

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500039
WITHOUT_CPU_CFLAGS= yes
.endif
USE_AUTOTOOLS=  automake:14 autoconf:213
CONFIGURE_ENV=  ADA=adagcc
USE_GMAKE=  yes
USE_PERL5_BUILD=yes

ADACFLAGS?=
CFLAGS=${ADACFLAGS}

pre-configure:
    ${PERL} -pi -e "s@aclocal\)@${ACLOCAL})@g;\
            s@automake\)@${AUTOMAKE})@g" ${WRKSRC}/aclocal.m4

post-install:
    ${STRIP_CMD} ${PREFIX}/bin/gnatdist

.include <bsd.port.post.mk>