diff options
author | Koop Mast <kwm@FreeBSD.org> | 2014-05-13 20:32:00 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2014-05-13 20:32:00 +0000 |
commit | 607eebc44b493d9a5325cbbc6e4f310408e9fc37 (patch) | |
tree | af5d54de867e1999ce3c9a27fc7b84393b692520 /textproc/libxml2/Makefile | |
parent | 8c30535693f76b75884fe7a3f37980252601f194 (diff) | |
download | ports-607eebc44b493d9a5325cbbc6e4f310408e9fc37.tar.gz ports-607eebc44b493d9a5325cbbc6e4f310408e9fc37.zip |
Notes
Diffstat (limited to 'textproc/libxml2/Makefile')
-rw-r--r-- | textproc/libxml2/Makefile | 40 |
1 files changed, 15 insertions, 25 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index 07f771486d43..df4b033ca591 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -1,10 +1,10 @@ # Created by: Yukihiro Nakai <Nakai@technologist.com> # $FreeBSD$ -# $MCom: ports/textproc/libxml2/Makefile,v 1.15 2012/11/26 19:55:23 kwm Exp $ +# $MCom: ports/trunk/textproc/libxml2/Makefile 19578 2014-04-25 21:50:30Z kwm $ PORTNAME= libxml2 -PORTVERSION= 2.8.0 -PORTREVISION?= 5 +PORTVERSION= 2.9.1 +PORTREVISION?= 0 CATEGORIES?= textproc gnome MASTER_SITES= ftp://xmlsoft.org/libxml2/ \ http://xmlsoft.org/sources/ \ @@ -15,23 +15,24 @@ MAINTAINER?= gnome@FreeBSD.org COMMENT?= XML parser library for GNOME .if !defined(REFERENCE_PORT) -USE_CSTD= gnu89 + GNU_CONFIGURE= yes -USES= gmake iconv libtool:keepla pathfix pkgconfig +USES= gmake iconv libtool:keepla pathfix pkgconfig shebangfix USE_LDCONFIG= yes -CONFIGURE_ARGS?=--with-iconv=${ICONV_PREFIX} \ +CONFIGURE_ARGS?=--with-iconv=${ICONVBASE} \ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ --with-lzma=/usr \ --without-python +INSTALL_TARGET= install-strip +SHEBANG_FILES= *.py */*.py */*/*.py -LIBVERSION= ${PORTVERSION} -PLIST_SUB+= LIBVERSION=${LIBVERSION} +PLIST_SUB+= LIBVERSION=${PORTVERSION} .if !defined(MASTERDIR) + OPTIONS_DEFINE= SCHEMA THREADS MEM_DEBUG XMLLINT_HIST THREAD_ALLOC OPTIONS_DEFAULT=SCHEMA THREADS - SCHEMA_DESC= XML schema support SCHEMA_CONFIGURE_WITH= schemas THREADS_DESC= Threads support @@ -42,31 +43,20 @@ XMLLINT_HIST_DESC= History for xmllint XMLLINT_HIST_CONFIGURE_WITH= history THREAD_ALLOC_DESC= Per-thread memory (DEVELOPERS ONLY!) THREAD_ALLOC_CONFIGURE_WITH= thread-alloc + .endif # !defined(MASTERDIR) post-patch: .for d in . doc doc/devhelp doc/examples @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \ - ${WRKSRC}/${d}/Makefile.in + ${WRKSRC}/${d}/Makefile.in .endfor .for f in catalog.c xmlcatalog.c xmllint.c doc/xmllint.1 @${REINPLACE_CMD} -e \ - 's|/etc/xml/catalog|${LOCALBASE}/share/xml/catalog|g; \ - s|/etc/sgml/catalog|${LOCALBASE}/share/sgml/catalog|g' \ - ${WRKSRC}/${f} + 's|/etc/xml/catalog|${LOCALBASE}/share/xml/catalog|g; \ + s|/etc/sgml/catalog|${LOCALBASE}/share/sgml/catalog|g' \ + ${WRKSRC}/${f} .endfor -# manual patch because WITH_FBSD10_FIX break the python bindings - ${FIND} ${WRKSRC} -type f -name configure \ - -exec ${SH} -c " \ - mtime=\$$(date -r \$$(stat -f '%m' \$$0) '+%Y%m%d%H%M.%S'); \ - ${SED} -i '.batman' -e 's|freebsd1\*)|freebsd1.\*)|g' \ - -e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \$$0; \ - touch -mt \$$mtime \$$0" {} \; || /usr/bin/true - -.if !defined(MASTERDIR) -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxml2.so.${LIBVERSION} -.endif # !defined(MASTERDIR) .include <bsd.port.mk> |