summaryrefslogtreecommitdiffstats
path: root/textproc/xmlada/Makefile
blob: f4aa1324fabde8e78949e6b13b75a32c79ba2eea (plain)
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=	0.7.1
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	http://libre.act-europe.fr/xmlada/
DISTNAME=	XmlAda-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	aidan@velvet.net
COMMENT=	An XML parsing library for Ada 95

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

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500039
WITHOUT_CPU_CFLAGS=	yes
.endif
WRKSRC=		${WRKDIR}/xmlada-0.7.1
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
INSTALLS_SHLIB=	yes

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
	install-info ${PREFIX}/${INFO_PATH}/xmlada.info ${PREFIX}/${INFO_PATH}/dir

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud