blob: 01c58d0e197db4f8d951ea8acf42cdb2d6eadb2e (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# New ports collection makefile for: xmlada-gcc
# Date created: 24 Dec 2006
# Whom: hopet@ics.muni.cz
#
# $FreeBSD$
#
PORTNAME= xmlada
PORTVERSION= 5.0.4
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= SF/gnuada/GNAT_GCC%20Source/4.1.1%20R6
PKGNAMESUFFIX= -gcc
DISTNAME= gnat-gcc-xmlada-4.1.1_gnat_5.04a-r6.src
EXTRACT_SUFX= .rpm
MAINTAINER= hopet@ics.muni.cz
COMMENT= An XML parsing library for Ada 95, port for lang/gnat-gcc42
BROKEN= not yet updated to current versions of GNAT
DEPRECATED= unmaintained for several years, not in sync with upstream
EXPIRATION_DATE=2010-02-24
BUILD_DEPENDS= ${LOCALBASE}/bin/gcc42/gcc42:${PORTSDIR}/lang/gnat-gcc42
EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= makeinfo:${PORTSDIR}/print/texinfo \
pdftex:${PORTSDIR}/print/teTeX
.endif
WRKSRC= ${WRKDIR}/xmlada-gnat-5_04a
CONFLICTS= xmlada-[0-9]*
CC= ${LOCALBASE}/bin/gcc42/gcc42
CONFIGURE_ENV+= PATH=${LOCALBASE}/bin/gcc42:${PATH} CC=${LOCALBASE}/bin/gcc42/gcc42
MAKE_ENV+= PATH=${LOCALBASE}/bin/gcc42:${PATH}
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
ADACFLAGS?= # none
CFLAGS= ${ADACFLAGS}
XMLADAPKGNAME= xmlada-gnat-5_04a.tar.bz2
do-extract:
if [ ! -d ${WRKDIR} ]; then \
${MKDIR} ${WRKDIR}; \
fi
( cd ${WRKDIR} && \
rpm2cpio.pl <${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | ${CPIO} -i ${XMLADAPKGNAME} && \
tar jxf ${XMLADAPKGNAME} )
.include <bsd.port.mk>
|