diff options
| author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-03-12 11:32:14 +0000 |
|---|---|---|
| committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-03-12 11:32:14 +0000 |
| commit | e6faec0446522e2e618a6a60e2b4eb4b6067c4a7 (patch) | |
| tree | 3ebc834e48c2829af729516da7ade97a078e835a /textproc/libxml++26/Makefile | |
| parent | d9e780788b663dc0c05d620829984a218c396c81 (diff) | |
Notes
Diffstat (limited to 'textproc/libxml++26/Makefile')
| -rw-r--r-- | textproc/libxml++26/Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/textproc/libxml++26/Makefile b/textproc/libxml++26/Makefile index e2f204ecab11..292e81c7d4b0 100644 --- a/textproc/libxml++26/Makefile +++ b/textproc/libxml++26/Makefile @@ -7,7 +7,7 @@ # PORTNAME= libxml++ -PORTVERSION= 2.6.1 +PORTVERSION= 2.10.0 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R} @@ -22,8 +22,8 @@ LATEST_LINK= libxml++26 USE_GMAKE= yes USE_GCC= 3.4 -USE_GNOME= gnomehack lthack gnometarget libxml2 pkgconfig -USE_INC_LIBTOOL_VER=13 +USE_GNOME= gnomehack gnometarget libxml2 pkgconfig +USE_INC_LIBTOOL_VER=15 USE_REINPLACE= yes INSTALLS_SHLIB= yes @@ -32,5 +32,22 @@ PLIST_SUB= VERSION="2.6" API_VERSION="2.6" post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \ ${WRKSRC}/Makefile.in +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -E '/^SUBDIRS = /s/(docs|examples)//g' ${WRKSRC}/Makefile.in +.endif + +.if !defined(NOPORTDOCS) +post-configure: + @${TOUCH} ${WRKSRC}/docs/reference/${PORTVERSION:R}/html/index.html +.endif + +patch-autotools: + @(cd ${PATCH_WRKSRC}; \ + for file in ${LIBTOOLFILES}; do \ + ${CP} $$file $$file.tmp; \ + ${SED} -e "/^ltmain=/s^\$$ac_aux_dir/ltmain.sh^${LTMAIN}^g" \ + $$file.tmp > $$file; \ + ${RM} $$file.tmp; \ + done); .include <bsd.port.mk> |
