blob: 1e8fcb3d263463e7de8eb6e8e3358ba6fd665d7e (
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
|
# 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= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnuada
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-gcc41
BUILD_DEPENDS= ${LOCALBASE}/bin/gcc41/gcc41:${PORTSDIR}/lang/gnat-gcc41
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/gcc41/gcc41
CONFIGURE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${PATH} CC=${LOCALBASE}/bin/gcc41/gcc41
MAKE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${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>
|