0266ad37bd
- Strip shared library - Use PKGNAMESUFFIX - Simplify MASTER_SITES - Use MAKE_CMD - Bump PORTREVISION for package change - Sort PLIST - Take maintainership
35 lines
856 B
Makefile
35 lines
856 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xerces-c
|
|
PORTVERSION= 3.1.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= APACHE/xerces/c/3/sources
|
|
PKGNAMESUFFIX= 3
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Validating XML parser from the Apache XML Project
|
|
|
|
LICENSE= APACHE20
|
|
|
|
CONFLICTS_INSTALL= xerces-c2-[0-9]* xerces-c2-devel-[0-9]*
|
|
|
|
CONFIGURE_ARGS= --enable-netaccessor-socket \
|
|
--enable-transcoder-iconv \
|
|
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
MAKE_ENV= XERCESCROOT=${WRKSRC}
|
|
USE_LDCONFIG= yes
|
|
USES= gmake libtool pathfix
|
|
|
|
PLIST_SUB= MAJOR_VER=${PORTVERSION:R}
|
|
|
|
post-install:
|
|
${LN} -s libxerces-c-${PORTVERSION:R}.so ${STAGEDIR}${PREFIX}/lib/libxerces-c.so.${PORTVERSION:R:R}
|
|
|
|
regression-test test: build
|
|
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
|
|
|
|
.include <bsd.port.mk>
|