pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/uriparser Import uriparser-0.6.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/af05256112fe
branches: trunk
changeset: 535133:af05256112fe
user: bjs <bjs%pkgsrc.org@localhost>
date: Thu Nov 08 18:36:14 2007 +0000
description:
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:
textproc/uriparser/DESCR | 3 +++
textproc/uriparser/Makefile | 27 +++++++++++++++++++++++++++
textproc/uriparser/PLIST | 9 +++++++++
textproc/uriparser/buildlink3.mk | 19 +++++++++++++++++++
textproc/uriparser/distinfo | 6 ++++++
textproc/uriparser/patches/patch-aa | 17 +++++++++++++++++
6 files changed, 81 insertions(+), 0 deletions(-)
diffs (105 lines):
diff -r b6d696d6425b -r af05256112fe textproc/uriparser/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/uriparser/DESCR Thu Nov 08 18:36:14 2007 +0000
@@ -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 -r b6d696d6425b -r af05256112fe textproc/uriparser/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/uriparser/Makefile Thu Nov 08 18:36:14 2007 +0000
@@ -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@localhost
+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 -r b6d696d6425b -r af05256112fe textproc/uriparser/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/uriparser/PLIST Thu Nov 08 18:36:14 2007 +0000
@@ -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 -r b6d696d6425b -r af05256112fe textproc/uriparser/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/uriparser/buildlink3.mk Thu Nov 08 18:36:14 2007 +0000
@@ -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 -r b6d696d6425b -r af05256112fe textproc/uriparser/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/uriparser/distinfo Thu Nov 08 18:36:14 2007 +0000
@@ -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 -r b6d696d6425b -r af05256112fe textproc/uriparser/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/uriparser/patches/patch-aa Thu Nov 08 18:36:14 2007 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index