freebsd-ports/textproc/xerces-c3/Makefile
Sunpoet Po-Chuan Hsieh a131239f89 - Add CPE information
PR:		199036
Submitted by:	shun <shun.fbsd.pr@dropcut.net>
2015-03-30 17:56:24 +00:00

37 lines
888 B
Makefile

# Created by: gahr
# $FreeBSD$
PORTNAME= xerces-c
PORTVERSION= 3.1.2
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= cpe gmake libtool pathfix
PLIST_SUB= MAJOR_VER=${PORTVERSION:R}
CPE_PRODUCT= xerces-c++
CPE_VENDOR= apache
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>