mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Change from gmake to cmake
- Add DOCS option - Bump PORTREVISION for package change
This commit is contained in:
parent
f4b1dd7203
commit
76c7bb38b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449418
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= xerces-c
|
||||
PORTVERSION= 3.2.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= APACHE/xerces/c/3/sources
|
||||
PKGNAMESUFFIX= 3
|
||||
@ -13,15 +14,15 @@ COMMENT= Validating XML parser from the Apache XML Project
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
CONFIGURE_ARGS= --enable-netaccessor-socket \
|
||||
--enable-transcoder-iconv \
|
||||
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
MAKE_ENV= XERCESCROOT=${WRKSRC}
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
CMAKE_ARGS= -Dnetwork=ON \
|
||||
-Dthreads=ON \
|
||||
-Dtranscoder=iconv
|
||||
TEST_TARGET= check
|
||||
USE_LDCONFIG= yes
|
||||
USES= cpe gmake iconv libtool pathfix
|
||||
USES= cmake cpe iconv pathfix
|
||||
|
||||
PLIST_SUB= MAJOR_VER=${PORTVERSION:R}
|
||||
|
||||
@ -29,8 +30,11 @@ CPE_PRODUCT= xerces-c++
|
||||
CPE_VENDOR= apache
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s,@DEFS@,& -D__STDC_LIMIT_MACROS," ${WRKSRC}/src/Makefile.in
|
||||
|
||||
@${REINPLACE_CMD} -e '/list(APPEND netaccessors curl)/d' ${WRKSRC}/cmake/XercesNetAccessorSelection.cmake
|
||||
|
||||
post-patch-DOCS-off:
|
||||
@${REINPLACE_CMD} -e '/add_subdirectory(doc)/d' ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
post-install:
|
||||
${LN} -s libxerces-c-${PORTVERSION:R}.so ${STAGEDIR}${PREFIX}/lib/libxerces-c.so.${PORTVERSION:R:R}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user