aboutsummaryrefslogtreecommitdiff
path: root/www/wsdlpull
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2005-03-18 04:19:55 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2005-03-18 04:19:55 +0000
commitf948827a03dfdb08dce09ac6af360911df8f8a4b (patch)
treed1356f3ec44416704db7f302874d0ed94d02005a /www/wsdlpull
parent3e5a9e919c17a25c72daff426b5c18c8a6343186 (diff)
downloadports-f948827a03dfdb08dce09ac6af360911df8f8a4b.tar.gz
ports-f948827a03dfdb08dce09ac6af360911df8f8a4b.zip
Notes
Diffstat (limited to 'www/wsdlpull')
-rw-r--r--www/wsdlpull/Makefile41
-rw-r--r--www/wsdlpull/distinfo2
-rw-r--r--www/wsdlpull/files/patch-WsdlParser.cpp46
-rw-r--r--www/wsdlpull/files/patch-ltmain.sh15
-rw-r--r--www/wsdlpull/pkg-descr4
-rw-r--r--www/wsdlpull/pkg-plist16
6 files changed, 124 insertions, 0 deletions
diff --git a/www/wsdlpull/Makefile b/www/wsdlpull/Makefile
new file mode 100644
index 000000000000..eb5e60def6e5
--- /dev/null
+++ b/www/wsdlpull/Makefile
@@ -0,0 +1,41 @@
+# ex:ts=8
+# Ports collection makefile for: wsdlpull
+# Date created: Mar 18, 2005
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= wsdlpull
+PORTVERSION= 1.6.1
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= C++ WSDL Parser
+
+LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
+
+USE_REINPLACE= yes
+WRKSRC= ${WRKDIR}/${DISTNAME:R}
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --includedir=${PREFIX}/include/wsdl
+INSTALLS_SHLIB= yes
+
+DOCSDIR= ${PREFIX}/share/doc/wsdl
+PORTDOCS= *
+
+post-patch:
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
+ -e "s,[$$][(]prefix[)]/docs,${DOCSDIR},"
+
+post-install:
+ @${FIND} ${PREFIX}/include/wsdl ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/include/wsdl -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/www/wsdlpull/distinfo b/www/wsdlpull/distinfo
new file mode 100644
index 000000000000..6df6c2bb62b9
--- /dev/null
+++ b/www/wsdlpull/distinfo
@@ -0,0 +1,2 @@
+MD5 (wsdlpull-1.6.1.tar.gz) = 38044807995b395ec1fecf6e9b0af5fd
+SIZE (wsdlpull-1.6.1.tar.gz) = 424650
diff --git a/www/wsdlpull/files/patch-WsdlParser.cpp b/www/wsdlpull/files/patch-WsdlParser.cpp
new file mode 100644
index 000000000000..4376b303a77e
--- /dev/null
+++ b/www/wsdlpull/files/patch-WsdlParser.cpp
@@ -0,0 +1,46 @@
+--- src/wsdlparser/WsdlParser.cpp.orig Fri Mar 18 11:50:47 2005
++++ src/wsdlparser/WsdlParser.cpp Fri Mar 18 11:52:37 2005
+@@ -343,11 +343,11 @@
+ string tag = xParser->getName();
+ switch (event_type)
+ {
+- case xParser->START_DOCUMENT:
++ case XmlPullParser::START_DOCUMENT:
+ if (m_State != START)
+ error("Syntax error at the start");
+ break;
+- case xParser->START_TAG:
++ case XmlPullParser::START_TAG:
+ if (xParser->getNamespace() != wsdlUri
+ &&xParser->getNamespace() != SchemaUri)
+ m_State = EXTENSIBILITY;
+@@ -403,7 +403,7 @@
+ else
+ error("Unknown Tag " + tag);
+ break;
+- case xParser->END_TAG:
++ case XmlPullParser::END_TAG:
+ if (tag == "definitions")
+ m_State = END;
+
+@@ -424,14 +424,14 @@
+ return peek(lookahead); //get the next tag
+ }
+ break;
+- case xParser->TEXT:
+- case xParser->ENTITY_REF:
+- case xParser->COMMENT:
+- case xParser->PROCESSING_INSTRUCTION:
+- case xParser->CDSECT:
++ case XmlPullParser::TEXT:
++ case XmlPullParser::ENTITY_REF:
++ case XmlPullParser::COMMENT:
++ case XmlPullParser::PROCESSING_INSTRUCTION:
++ case XmlPullParser::CDSECT:
+ xParser->getText();
+ break;
+- case xParser->DOCDECL:
++ case XmlPullParser::DOCDECL:
+ error("Doc Declaration ??");
+ break;
+ default:
diff --git a/www/wsdlpull/files/patch-ltmain.sh b/www/wsdlpull/files/patch-ltmain.sh
new file mode 100644
index 000000000000..dde9c6e035b1
--- /dev/null
+++ b/www/wsdlpull/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- ltmain.sh.orig Fri Mar 18 11:34:55 2005
++++ ltmain.sh Fri Mar 18 11:35:05 2005
+@@ -5527,10 +5527,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false ; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/www/wsdlpull/pkg-descr b/www/wsdlpull/pkg-descr
new file mode 100644
index 000000000000..add2a868e5ad
--- /dev/null
+++ b/www/wsdlpull/pkg-descr
@@ -0,0 +1,4 @@
+An efficient C++ WSDL library which parses a WSDL file & provides APIs to
+access WSDL elements. It has a library for parsing xml schemas and
+validating instances. It uses xml pull parsing methodology,and is meant to
+be semantically equivalent to WSDL4J.
diff --git a/www/wsdlpull/pkg-plist b/www/wsdlpull/pkg-plist
new file mode 100644
index 000000000000..b8689f52af73
--- /dev/null
+++ b/www/wsdlpull/pkg-plist
@@ -0,0 +1,16 @@
+bin/print
+bin/schema
+bin/typedefs.h
+bin/wsdl2cpp
+lib/libschema.a
+lib/libschema.so
+lib/libschema.so.0
+lib/libutils.a
+lib/libutils.so
+lib/libutils.so.0
+lib/libwsdl.a
+lib/libwsdl.so
+lib/libwsdl.so.0
+lib/libxmlpull.a
+lib/libxmlpull.so
+lib/libxmlpull.so.0