summaryrefslogtreecommitdiff
path: root/textproc/xmlada/Makefile
blob: e741fb826bcab0e09b437529d433f78543995cd6 (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:    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=	aidan@velvet.net
COMMENT=	An XML parsing library for Ada 95

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>