diff options
author | bjs <bjs@pkgsrc.org> | 2007-11-08 18:36:14 +0000 |
---|---|---|
committer | bjs <bjs@pkgsrc.org> | 2007-11-08 18:36:14 +0000 |
commit | 2633ac574fa2a79bbed513d37aa562dab29f8c86 (patch) | |
tree | 3ba4ae78b22caf19a89d9bdbac449186b9f40b77 /textproc/uriparser | |
parent | 6d234010c1c852d5b09a12a669640cdc796aca5d (diff) | |
download | pkgsrc-2633ac574fa2a79bbed513d37aa562dab29f8c86.tar.gz |
Import uriparser-0.6.0.
Uriparser is a strictly RFC 3986 compliant URI parsing library. uriparser
is cross-platform, fast, supports Unicode and is licensed under the New
BSD license.
Diffstat (limited to 'textproc/uriparser')
-rw-r--r-- | textproc/uriparser/DESCR | 3 | ||||
-rw-r--r-- | textproc/uriparser/Makefile | 27 | ||||
-rw-r--r-- | textproc/uriparser/PLIST | 9 | ||||
-rw-r--r-- | textproc/uriparser/buildlink3.mk | 19 | ||||
-rw-r--r-- | textproc/uriparser/distinfo | 6 | ||||
-rw-r--r-- | textproc/uriparser/patches/patch-aa | 17 |
6 files changed, 81 insertions, 0 deletions
diff --git a/textproc/uriparser/DESCR b/textproc/uriparser/DESCR new file mode 100644 index 00000000000..a9e8fb30a9b --- /dev/null +++ b/textproc/uriparser/DESCR @@ -0,0 +1,3 @@ +Uriparser is a strictly RFC 3986 compliant URI parsing library. uriparser +is cross-platform, fast, supports Unicode and is licensed under the New +BSD license. diff --git a/textproc/uriparser/Makefile b/textproc/uriparser/Makefile new file mode 100644 index 00000000000..d01ef7cdca1 --- /dev/null +++ b/textproc/uriparser/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/11/08 18:36:14 bjs Exp $ +# + +DISTNAME= uriparser-0.6.0 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=uriparser/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= bjs@NetBSD.org +HOMEPAGE= http://uriparser.sourceforge.net/ +COMMENT= URI parsing library + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_FEATURES= snprintf + +TEST_TARGET= check + +.include "../../mk/bsd.fast.prefs.mk" + +.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) +USE_LANGUAGES= c c++ +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/uriparser/PLIST b/textproc/uriparser/PLIST new file mode 100644 index 00000000000..9ae11d5e30b --- /dev/null +++ b/textproc/uriparser/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/08 18:36:14 bjs Exp $ +include/uriparser/Uri.h +include/uriparser/UriBase.h +include/uriparser/UriDefsAnsi.h +include/uriparser/UriDefsConfig.h +include/uriparser/UriDefsUnicode.h +include/uriparser/UriIp4.h +lib/liburiparser.la +@dirrm include/uriparser diff --git a/textproc/uriparser/buildlink3.mk b/textproc/uriparser/buildlink3.mk new file mode 100644 index 00000000000..514118a0811 --- /dev/null +++ b/textproc/uriparser/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/11/08 18:36:14 bjs Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +URIPARSER_BUILDLINK3_MK:= ${URIPARSER_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= uriparser +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nuriparser} +BUILDLINK_PACKAGES+= uriparser +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}uriparser + +.if ${URIPARSER_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.uriparser+= uriparser>=0.6.0 +BUILDLINK_PKGSRCDIR.uriparser?= ../../textproc/uriparser +.endif # URIPARSER_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/textproc/uriparser/distinfo b/textproc/uriparser/distinfo new file mode 100644 index 00000000000..06801bd5089 --- /dev/null +++ b/textproc/uriparser/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/11/08 18:36:14 bjs Exp $ + +SHA1 (uriparser-0.6.0.tar.bz2) = 49ced50c27197484192d6688d2ce74893dc17cb2 +RMD160 (uriparser-0.6.0.tar.bz2) = 275d90fb910cfdcd3e5ee12cf3a65cb9d8d75a0b +Size (uriparser-0.6.0.tar.bz2) = 376953 bytes +SHA1 (patch-aa) = 71f3582a2988c6c35a1a2b1995d50f47f22939bd diff --git a/textproc/uriparser/patches/patch-aa b/textproc/uriparser/patches/patch-aa new file mode 100644 index 00000000000..e7ebe47e2cb --- /dev/null +++ b/textproc/uriparser/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/11/08 18:36:14 bjs Exp $ + +--- include/uriparser/UriBase.h.orig 2007-09-18 23:10:11.000000000 -0400 ++++ include/uriparser/UriBase.h +@@ -124,7 +124,12 @@ typedef int UriBool; /**< Boolean type * + + + #ifndef URI_DOXYGEN ++# ifdef HAVE_NBCOMPAT_H ++# include <nbcompat/cdefs.h> ++# include <nbcompat/stdio.h> ++# else + # include <stdio.h> /* For NULL, snprintf */ ++# endif + # include <ctype.h> /* For wchar_t */ + # include <string.h> /* For strlen, memset, memcpy */ + # include <stdlib.h> /* For malloc */ |