aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xmlada/Makefile
blob: d2e8ff1e68d6f5ab96373675cf1e5a0da0a7aa44 (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:    xmlada
# Date created:        21 Feb 2002
# Whom:                aidan
#
# $FreeBSD$
#

PORTNAME=   xmlada
PORTVERSION=    1.0
CATEGORIES= textproc
MASTER_SITES=   https://libre2.adacore.com/${PORTNAME}/
DISTNAME=   XmlAda-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    An XML parsing library for Ada 95

DEPRECATED= no longer available from mastersite; 2.0 is available
EXPIRATION_DATE=    2006-11-04

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

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
INSTALLS_SHLIB= yes

ADACFLAGS?= # none
CFLAGS=     ${ADACFLAGS}

INFO=       xmlada
PORTDOCS=   xml.html xml_1.html xml_2.html xml_3.html xml_4.html \
        xml_5.html xml_6.html xml_toc.html xml_ovr.html xml_abt.html

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
.endif
    ${INSTALL_DATA} ${WRKSRC}/docs/xml.info ${PREFIX}/${INFO_PATH}/xmlada.info

.include <bsd.port.mk>