mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
29439ee094
PR: 232909 (based on) Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xerces-c
|
|
PORTVERSION= 3.2.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
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cpe iconv libtool pathfix
|
|
|
|
CONFIGURE_ARGS= --enable-netaccessor-socket \
|
|
--enable-transcoder-iconv \
|
|
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
MAKE_ENV= XERCESCROOT=${WRKSRC}
|
|
TEST_TARGET= check
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_SUB= MAJOR_VER=${PORTVERSION:R}
|
|
|
|
CPE_PRODUCT= xerces-c++
|
|
CPE_VENDOR= apache
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH:Mpowerpc*}
|
|
PLIST_SUB+= MUTEXMGR="PosixMutexMgr"
|
|
.else
|
|
PLIST_SUB+= MUTEXMGR="StdMutexMgr"
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,@DEFS@,& -D__STDC_LIMIT_MACROS," ${WRKSRC}/src/Makefile.in
|
|
|
|
post-install:
|
|
${LN} -s libxerces-c-${PORTVERSION:R}.so ${STAGEDIR}${PREFIX}/lib/libxerces-c.so.${PORTVERSION:R:R}
|
|
|
|
.include <bsd.port.post.mk>
|