summaryrefslogtreecommitdiff
path: root/textproc/xerces-c3/Makefile
blob: 138f7800c9986c220c4ddf767c32deab6eb8ddb5 (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
# Created by: gahr
# $FreeBSD$

PORTNAME=	xerces-c3
PORTVERSION=	3.1.1
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR=	xerces/c/3/sources
DISTNAME=	xerces-c-${PORTVERSION}

MAINTAINER=	gahr@FreeBSD.org
COMMENT=	Validating XML parser from the Apache XML Project

CONFLICTS=	xerces_c-[0-9]* xerces-c2-[0-9]*

USE_GMAKE=	yes
USES=	pathfix
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
		--enable-transcoder-iconv \
		--enable-netaccessor-socket
MAKE_ENV+=	XERCESCROOT=${WRKSRC}

MAKE_JOBS_UNSAFE=yes

post-install:
	${LN} -sf libxerces-c-${PORTVERSION:R}.so ${PREFIX}/lib/libxerces-c.so.${PORTVERSION:R:R}

test:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check

.include <bsd.port.mk>