aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2004-08-14 17:21:00 +0800
committerbland <bland@FreeBSD.org>2004-08-14 17:21:00 +0800
commit841730824d801e66f0daad8360daf50c49b8708f (patch)
tree9debefbba34431e028223a57d2c208d35aa2ad00 /textproc
parent04840cc497daa69b902a9b99f135377512bd4925 (diff)
downloadfreebsd-ports-graphics-841730824d801e66f0daad8360daf50c49b8708f.tar.gz
freebsd-ports-graphics-841730824d801e66f0daad8360daf50c49b8708f.tar.zst
freebsd-ports-graphics-841730824d801e66f0daad8360daf50c49b8708f.zip
Add libxml++ 2.6.1 after repocopy from libxml++, XML API for C++.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/libxml++26/Makefile22
-rw-r--r--textproc/libxml++26/distinfo4
-rw-r--r--textproc/libxml++26/pkg-plist68
4 files changed, 49 insertions, 46 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 8333a27e01f..c53e23569da 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -186,6 +186,7 @@
SUBDIR += libxdiff
SUBDIR += libxml
SUBDIR += libxml++
+ SUBDIR += libxml++26
SUBDIR += libxml2
SUBDIR += libxode
SUBDIR += libxslt
diff --git a/textproc/libxml++26/Makefile b/textproc/libxml++26/Makefile
index 7ec61752345..0879f236876 100644
--- a/textproc/libxml++26/Makefile
+++ b/textproc/libxml++26/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= libxml++
-PORTVERSION= 1.0.4
+PORTVERSION= 2.6.1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
@@ -15,20 +15,22 @@ MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
MAINTAINER= bland@FreeBSD.org
COMMENT= XML API for C++
+LIB_DEPENDS= glibmm-2.4.1:${PORTSDIR}/devel/glibmm
+BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
+
+LATEST_LINK= libxml++26
+
+USE_GMAKE= yes
+USE_GCC= 3.3
USE_GNOME= gnomehack lthack gnometarget libxml2 pkgconfig
USE_INC_LIBTOOL_VER=13
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
-.include <bsd.port.pre.mk>
+PLIST_SUB= VERSION="2.6" API_VERSION="2.6"
-.if ${OSVERSION} < 500000
post-patch:
- @${FIND} ${WRKSRC}/libxml++ -name *.h \
- | ${XARGS} ${REINPLACE_CMD} \
- -e 's|<istream>|<iostream>|' \
- -e 's|<ostream>|<iostream>|'
-
-.endif
+ @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
+ ${WRKSRC}/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/libxml++26/distinfo b/textproc/libxml++26/distinfo
index 1524d259112..75f034530c8 100644
--- a/textproc/libxml++26/distinfo
+++ b/textproc/libxml++26/distinfo
@@ -1,2 +1,2 @@
-MD5 (libxml++-1.0.4.tar.gz) = 88262497ec01e6b41980c6122e12f3d7
-SIZE (libxml++-1.0.4.tar.gz) = 397584
+MD5 (libxml++-2.6.1.tar.gz) = 89bd0f3d625ea9bb0e83d5ba27cc3b91
+SIZE (libxml++-2.6.1.tar.gz) = 419563
diff --git a/textproc/libxml++26/pkg-plist b/textproc/libxml++26/pkg-plist
index 56815ca5ce4..c4b72f6cf53 100644
--- a/textproc/libxml++26/pkg-plist
+++ b/textproc/libxml++26/pkg-plist
@@ -1,34 +1,34 @@
-include/libxml++-1.0/libxml++/api_export.h
-include/libxml++-1.0/libxml++/attribute.h
-include/libxml++-1.0/libxml++/document.h
-include/libxml++-1.0/libxml++/dtd.h
-include/libxml++-1.0/libxml++/exceptions/exception.h
-include/libxml++-1.0/libxml++/exceptions/internal_error.h
-include/libxml++-1.0/libxml++/exceptions/parse_error.h
-include/libxml++-1.0/libxml++/exceptions/validity_error.h
-include/libxml++-1.0/libxml++/io/ostreamoutputbuffer.h
-include/libxml++-1.0/libxml++/io/outputbuffer.h
-include/libxml++-1.0/libxml++/keepblanks.h
-include/libxml++-1.0/libxml++/libxml++.h
-include/libxml++-1.0/libxml++/nodes/cdatanode.h
-include/libxml++-1.0/libxml++/nodes/commentnode.h
-include/libxml++-1.0/libxml++/nodes/contentnode.h
-include/libxml++-1.0/libxml++/nodes/element.h
-include/libxml++-1.0/libxml++/nodes/entityreference.h
-include/libxml++-1.0/libxml++/nodes/node.h
-include/libxml++-1.0/libxml++/nodes/processinginstructionnode.h
-include/libxml++-1.0/libxml++/nodes/textnode.h
-include/libxml++-1.0/libxml++/noncopyable.h
-include/libxml++-1.0/libxml++/parsers/domparser.h
-include/libxml++-1.0/libxml++/parsers/parser.h
-include/libxml++-1.0/libxml++/parsers/saxparser.h
-lib/libxml++-1.0.a
-lib/libxml++-1.0.so
-lib/libxml++-1.0.so.1
-libdata/pkgconfig/libxml++-1.0.pc
-@dirrm include/libxml++-1.0/libxml++/exceptions
-@dirrm include/libxml++-1.0/libxml++/io
-@dirrm include/libxml++-1.0/libxml++/nodes
-@dirrm include/libxml++-1.0/libxml++/parsers
-@dirrm include/libxml++-1.0/libxml++
-@dirrm include/libxml++-1.0
+include/libxml++-%%API_VERSION%%/libxml++/attribute.h
+include/libxml++-%%API_VERSION%%/libxml++/document.h
+include/libxml++-%%API_VERSION%%/libxml++/dtd.h
+include/libxml++-%%API_VERSION%%/libxml++/exceptions/exception.h
+include/libxml++-%%API_VERSION%%/libxml++/exceptions/internal_error.h
+include/libxml++-%%API_VERSION%%/libxml++/exceptions/parse_error.h
+include/libxml++-%%API_VERSION%%/libxml++/exceptions/validity_error.h
+include/libxml++-%%API_VERSION%%/libxml++/io/ostreamoutputbuffer.h
+include/libxml++-%%API_VERSION%%/libxml++/io/outputbuffer.h
+include/libxml++-%%API_VERSION%%/libxml++/keepblanks.h
+include/libxml++-%%API_VERSION%%/libxml++/libxml++.h
+include/libxml++-%%API_VERSION%%/libxml++/nodes/cdatanode.h
+include/libxml++-%%API_VERSION%%/libxml++/nodes/commentnode.h
+include/libxml++-%%API_VERSION%%/libxml++/nodes/contentnode.h
+include/libxml++-%%API_VERSION%%/libxml++/nodes/element.h
+include/libxml++-%%API_VERSION%%/libxml++/nodes/entityreference.h
+include/libxml++-%%API_VERSION%%/libxml++/nodes/node.h
+include/libxml++-%%API_VERSION%%/libxml++/nodes/processinginstructionnode.h
+include/libxml++-%%API_VERSION%%/libxml++/nodes/textnode.h
+include/libxml++-%%API_VERSION%%/libxml++/noncopyable.h
+include/libxml++-%%API_VERSION%%/libxml++/parsers/domparser.h
+include/libxml++-%%API_VERSION%%/libxml++/parsers/parser.h
+include/libxml++-%%API_VERSION%%/libxml++/parsers/saxparser.h
+include/libxml++-%%API_VERSION%%/libxml++/parsers/textreader.h
+lib/libxml++-%%VERSION%%.a
+lib/libxml++-%%VERSION%%.so
+lib/libxml++-%%VERSION%%.so.1
+libdata/pkgconfig/libxml++-%%API_VERSION%%.pc
+@dirrm include/libxml++-%%API_VERSION%%/libxml++/exceptions
+@dirrm include/libxml++-%%API_VERSION%%/libxml++/io
+@dirrm include/libxml++-%%API_VERSION%%/libxml++/nodes
+@dirrm include/libxml++-%%API_VERSION%%/libxml++/parsers
+@dirrm include/libxml++-%%API_VERSION%%/libxml++
+@dirrm include/libxml++-%%API_VERSION%%