Import devel/libzen 0.4.39.

ZenLib is a C++ utility library. It includes classes for handling
  strings, configuration, bit streams, threading, translation, and
  cross-platform operating system functions.

ok sthen@
This commit is contained in:
naddy 2021-04-29 20:13:45 +00:00
parent 0659216842
commit 8f566b4daf
5 changed files with 101 additions and 0 deletions

36
devel/libzen/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/04/29 20:13:45 naddy Exp $
COMMENT= C++ utility library
VERSION= 0.4.39
PKGNAME= libzen-${VERSION}
SHARED_LIBS= zen 0.0 # 0.0
CATEGORIES= devel
HOMEPAGE= https://mediaarea.net/en/MediaInfo
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# zlib
PERMIT_PACKAGE= Yes
WANTLIB= ${COMPILER_LIBCXX} m pthread
MASTER_SITES= https://mediaarea.net/download/source/libzen/${VERSION}/
DISTFILES= libzen_${VERSION}.tar.bz2
COMPILER= base-clang ports-gcc
CONFIGURE_STYLE=autoreconf
CONFIGURE_ARGS= --enable-static
DEBUG_PACKAGES= ${BUILD_PACKAGES}
AUTOCONF_VERSION=2.69
AUTOMAKE_VERSION=1.13
AUTOCONF_DIR= ${WRKBUILD}
WRKDIST= ${WRKDIR}/ZenLib
WRKBUILD= ${WRKSRC}/Project/GNU/Library
.include <bsd.port.mk>

2
devel/libzen/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (libzen_0.4.39.tar.bz2) = vSdyqxrk43XNu73RFK2Ecevme/eMduOBLWbH1GLtiuc=
SIZE (libzen_0.4.39.tar.bz2) = 129816

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Project_GNU_Library_configure_ac,v 1.1.1.1 2021/04/29 20:13:45 naddy Exp $
Index: Project/GNU/Library/configure.ac
--- Project/GNU/Library/configure.ac.orig
+++ Project/GNU/Library/configure.ac
@@ -239,9 +239,6 @@ if test "$GXX" = yes ; then
if test "$enable_debug" = "yes"; then
CFLAGS="$CFLAGS -O0 -g -Wall -Wundef"
CXXFLAGS="$CXXFLAGS -O0 -g -Wall -W -Wundef -Wcast-qual -Wno-ctor-dtor-privacy"
- else
- CFLAGS="$CFLAGS -O2"
- CXXFLAGS="$CXXFLAGS -O2"
fi
if test "$enable_gprof" = "yes"; then
CFLAGS="$CFLAGS -pg -g"

3
devel/libzen/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
ZenLib is a C++ utility library. It includes classes for handling
strings, configuration, bit streams, threading, translation, and
cross-platform operating system functions.

45
devel/libzen/pkg/PLIST Normal file
View File

@ -0,0 +1,45 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/04/29 20:13:45 naddy Exp $
include/ZenLib/
include/ZenLib/BitStream.h
include/ZenLib/BitStream_Fast.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/
include/ZenLib/Format/Html/
include/ZenLib/Format/Html/Html_Handler.h
include/ZenLib/Format/Html/Html_Request.h
include/ZenLib/Format/Http/
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/
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
@static-lib lib/libzen.a
lib/libzen.la
@lib lib/libzen.so.${LIBzen_VERSION}
lib/pkgconfig/libzen.pc