New port: devel/libzt

Collection of utility code for C application/server
development.

PR:		53124
Submitted by:	Kirill Ponomarew
This commit is contained in:
Max Khon 2003-06-10 09:27:41 +00:00
parent 8076e476dc
commit fbbfcc63c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82654
6 changed files with 75 additions and 0 deletions

View file

@ -359,6 +359,7 @@
SUBDIR += libvanessa_socket
SUBDIR += libvc
SUBDIR += libxalloc
SUBDIR += libzt
SUBDIR += libzvbi
SUBDIR += lightning
SUBDIR += lincvs

31
devel/libzt/Makefile Normal file
View file

@ -0,0 +1,31 @@
# New ports collection makefile for: libzt
# Date created: 09.06.2003
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#
PORTNAME= libzt
PORTVERSION= 1.0.2
CATEGORIES= devel
MASTER_SITES= http://www.zerotao.org/downloads/${PORTNAME}/
MAINTAINER= ponomarew@oberon.net
COMMENT= Collection of utility code for C application/server development
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
USE_GETOPT_LONG= yes
INSTALLS_SHLIB= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
post-patch:
@${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} \
${REINPLACE_CMD} -e \
"s,^CFLAGS =,CFLAGS+=${CFLAGS},g ; \
s,-no-cpp-precomp,,g"
.include <bsd.port.mk>

1
devel/libzt/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (libzt-1.0.2.tar.gz) = 256059c9c8999c57a839f1aa22aecf56

View file

@ -0,0 +1,10 @@
--- libzt/opts.c.orig Tue Jun 10 01:23:36 2003
+++ libzt/opts.c Tue Jun 10 01:24:00 2003
@@ -14,6 +14,7 @@
#include <unistd.h>
#include <ctype.h>
+#include <getopt.h>
#include <libzt/zt.h>
#include <libzt/opts.h>

7
devel/libzt/pkg-descr Normal file
View file

@ -0,0 +1,7 @@
LibZT is a collection of utility code for C application/server
development. It contains a ubiquitous logging subsystem,
configuration file parser, commandline option parser, and
numerous handy tools that need to be written for just about any
project (wrappers to malloc, etc).
WWW: http://www.zerotao.org/projects/libzt

25
devel/libzt/pkg-plist Normal file
View file

@ -0,0 +1,25 @@
include/libzt/assert.h
include/libzt/cfg.h
include/libzt/cfg/cfg_private.h
include/libzt/cfg/ini.h
include/libzt/cfg/interface.h
include/libzt/common.h
include/libzt/daemon.h
include/libzt/log.h
include/libzt/log/file.h
include/libzt/log/interface.h
include/libzt/log/log_private.h
include/libzt/log/stderr.h
include/libzt/log/syslog.h
include/libzt/macros.h
include/libzt/opts.h
include/libzt/progname.h
include/libzt/str.h
include/libzt/zt.h
lib/libzt.a
lib/libzt.la
lib/libzt.so
lib/libzt.so.0
@dirrm include/libzt/cfg
@dirrm include/libzt/log
@dirrm include/libzt