summaryrefslogtreecommitdiff
path: root/devel/libzen
diff options
context:
space:
mode:
authorryoon <ryoon>2013-12-31 23:10:21 +0000
committerryoon <ryoon>2013-12-31 23:10:21 +0000
commitf625eeed691ab03aecfd880761cd67ca3a7bd9d8 (patch)
tree0638382f31d61a99b00aae48a945f2c0b612b7c0 /devel/libzen
parent8987c1058eb177e08f5d56ed3b4a5573c70f64dc (diff)
downloadpkgsrc-f625eeed691ab03aecfd880761cd67ca3a7bd9d8.tar.gz
Import libzen-0.4.29 as devel/libzen.
Small C++ derivate class to have a simpler life. The library for string handling etc.
Diffstat (limited to 'devel/libzen')
-rw-r--r--devel/libzen/DESCR2
-rw-r--r--devel/libzen/Makefile34
-rw-r--r--devel/libzen/PLIST38
-rw-r--r--devel/libzen/buildlink3.mk12
-rw-r--r--devel/libzen/distinfo7
-rw-r--r--devel/libzen/patches/patch-Project_GNU_Library_Makefile.am15
-rw-r--r--devel/libzen/patches/patch-Project_GNU_Library_configure.ac15
7 files changed, 123 insertions, 0 deletions
diff --git a/devel/libzen/DESCR b/devel/libzen/DESCR
new file mode 100644
index 00000000000..2c6b31a467a
--- /dev/null
+++ b/devel/libzen/DESCR
@@ -0,0 +1,2 @@
+Small C++ derivate class to have a simpler life.
+The library for string handling etc.
diff --git a/devel/libzen/Makefile b/devel/libzen/Makefile
new file mode 100644
index 00000000000..c57a028634c
--- /dev/null
+++ b/devel/libzen/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2013/12/31 23:10:21 ryoon Exp $
+
+DISTNAME= libzen_0.4.29
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zenlib/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://sourceforge.net/projects/zenlib/files/ZenLib%20-%20Sources/0.4.29/
+COMMENT= ZenLib, Small C++ derivate class to have a simpler life
+LICENSE= zlib
+
+WRKSRC= ${WRKDIR}/ZenLib
+USE_TOOLS+= autoconf automake pkg-config
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+REPLACE_SH= Project/GNU/Library/libzen-config.in
+
+PKGCONFIG_OVERRIDE+= Project/GNU/Library/libzen.pc.in
+
+CONFIGURE_DIRS+= Project/GNU/Library
+
+# Enable shared library
+.if empty(SHLIB_TYPE:Mnone)
+CONFIGURE_ARGS+= --enable-shared
+.endif
+
+pre-configure:
+ cd ${WRKSRC}/${CONFIGURE_DIRS} && autoreconf -i
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libzen/PLIST b/devel/libzen/PLIST
new file mode 100644
index 00000000000..56f1e82c08d
--- /dev/null
+++ b/devel/libzen/PLIST
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1 2013/12/31 23:10:21 ryoon Exp $
+bin/libzen-config
+include/ZenLib/BitStream.h
+include/ZenLib/BitStream_LE.h
+include/ZenLib/Conf.h
+include/ZenLib/Conf_Internal.h
+include/ZenLib/CriticalSection.h
+include/ZenLib/Dir.h
+include/ZenLib/File.h
+include/ZenLib/FileName.h
+include/ZenLib/Format/Html/Html_Handler.h
+include/ZenLib/Format/Html/Html_Request.h
+include/ZenLib/Format/Http/Http_Cookies.h
+include/ZenLib/Format/Http/Http_Handler.h
+include/ZenLib/Format/Http/Http_Request.h
+include/ZenLib/Format/Http/Http_Utils.h
+include/ZenLib/HTTP_Client.h
+include/ZenLib/HTTP_Client/HTTPClient.h
+include/ZenLib/HTTP_Client/HTTPClientAuth.h
+include/ZenLib/HTTP_Client/HTTPClientCommon.h
+include/ZenLib/HTTP_Client/HTTPClientString.h
+include/ZenLib/HTTP_Client/HTTPClientWrapper.h
+include/ZenLib/InfoMap.h
+include/ZenLib/MemoryDebug.h
+include/ZenLib/OS_Utils.h
+include/ZenLib/PreComp.h
+include/ZenLib/Thread.h
+include/ZenLib/Trace.h
+include/ZenLib/Translation.h
+include/ZenLib/Utils.h
+include/ZenLib/Ztring.h
+include/ZenLib/ZtringList.h
+include/ZenLib/ZtringListList.h
+include/ZenLib/ZtringListListF.h
+include/ZenLib/int128s.h
+include/ZenLib/int128u.h
+lib/libzen.la
+lib/pkgconfig/libzen.pc
diff --git a/devel/libzen/buildlink3.mk b/devel/libzen/buildlink3.mk
new file mode 100644
index 00000000000..4737563d25b
--- /dev/null
+++ b/devel/libzen/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/12/31 23:10:21 ryoon Exp $
+
+BUILDLINK_TREE+= libzen
+
+.if !defined(LIBZEN_BUILDLINK3_MK)
+LIBZEN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libzen+= libzen>=0.4.29
+BUILDLINK_PKGSRCDIR.libzen?= ../../devel/libzen
+.endif # LIBZEN_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libzen
diff --git a/devel/libzen/distinfo b/devel/libzen/distinfo
new file mode 100644
index 00000000000..bd227606fe0
--- /dev/null
+++ b/devel/libzen/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2013/12/31 23:10:21 ryoon Exp $
+
+SHA1 (libzen_0.4.29.tar.bz2) = 2d5bac0d39ef5eb622df1edf8521bb5ac073a3c1
+RMD160 (libzen_0.4.29.tar.bz2) = 573e2cf41f10fca27c77deeeb583c3df11d7753a
+Size (libzen_0.4.29.tar.bz2) = 101647 bytes
+SHA1 (patch-Project_GNU_Library_Makefile.am) = fffdcbe420939040f688c53ba333db75da1269bd
+SHA1 (patch-Project_GNU_Library_configure.ac) = b80dce0d8a650d0423b45a7456eec3e61f370223
diff --git a/devel/libzen/patches/patch-Project_GNU_Library_Makefile.am b/devel/libzen/patches/patch-Project_GNU_Library_Makefile.am
new file mode 100644
index 00000000000..092e1975d37
--- /dev/null
+++ b/devel/libzen/patches/patch-Project_GNU_Library_Makefile.am
@@ -0,0 +1,15 @@
+$NetBSD: patch-Project_GNU_Library_Makefile.am,v 1.1 2013/12/31 23:10:21 ryoon Exp $
+
+* At least NetBSD dislike -no-undefined option for libtool in this case
+
+--- Project/GNU/Library/Makefile.am.orig 2012-08-20 12:31:54.000000000 +0000
++++ Project/GNU/Library/Makefile.am
+@@ -26,7 +26,7 @@ libzen_la_SOURCES = \
+ ../../../Source/ZenLib/Format/Http/Http_Request.cpp \
+ ../../../Source/ZenLib/Format/Http/Http_Utils.cpp
+
+-libzen_la_LDFLAGS = -no-undefined -version-info 0:0:0
++libzen_la_LDFLAGS = -version-info 0:0:0
+
+ zenincludedir = $(includedir)/ZenLib
+ zeninclude_HEADERS = \
diff --git a/devel/libzen/patches/patch-Project_GNU_Library_configure.ac b/devel/libzen/patches/patch-Project_GNU_Library_configure.ac
new file mode 100644
index 00000000000..c4070cfbd91
--- /dev/null
+++ b/devel/libzen/patches/patch-Project_GNU_Library_configure.ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-Project_GNU_Library_configure.ac,v 1.1 2013/12/31 23:10:21 ryoon Exp $
+
+* Fix version number
+
+--- Project/GNU/Library/configure.ac.orig 2012-08-20 12:31:54.000000000 +0000
++++ Project/GNU/Library/configure.ac
+@@ -5,7 +5,7 @@ dnl ####################################
+ dnl -------------------------------------------------------------------------
+ dnl Name and version
+ dnl
+-AC_INIT([libzen], [0.4.25])
++AC_INIT([libzen], [0.4.29])
+ dnl -------------------------------------------------------------------------
+ dnl Test if we are at the good place
+ dnl