freebsd-ports/textproc/xerces-c3/Makefile
Pietro Cerutti 5a4dd8ebb6 - Add patches to address upstream the following upstream issues [1]
* https://issues.apache.org/jira/browse/XERCESC-1994
  * https://issues.apache.org/jira/browse/XERCESC-1995
- Bump PORTREVISION
- While at it, add a 'test' target to run the provided test suite

PR:		171537 [1]
Submitted by:	Michael Gmelin <freebsd@grem.de>
2012-09-12 09:47:56 +00:00

37 lines
857 B
Makefile

# New ports collection makefile for: xerces-c3
# Date created: 23 June 2010
# Whom: gahr@FreeBSD.org
#
# $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
USE_GNOME= gnomehack
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
--enable-transcoder-iconv
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>