aboutsummaryrefslogtreecommitdiff
path: root/devel/libzt
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-06-10 09:27:41 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-06-10 09:27:41 +0000
commitfbbfcc63c2fa792d18cb2e778ee4df279e520e24 (patch)
tree75cbce7743353f5d5a03cca985324476f9780bfa /devel/libzt
parent8076e476dc77729b812439c30e60691eb119bc8f (diff)
downloadports-fbbfcc63c2fa792d18cb2e778ee4df279e520e24.tar.gz
ports-fbbfcc63c2fa792d18cb2e778ee4df279e520e24.zip
Notes
Diffstat (limited to 'devel/libzt')
-rw-r--r--devel/libzt/Makefile31
-rw-r--r--devel/libzt/distinfo1
-rw-r--r--devel/libzt/files/patch-libzt::opts.c10
-rw-r--r--devel/libzt/pkg-descr7
-rw-r--r--devel/libzt/pkg-plist25
5 files changed, 74 insertions, 0 deletions
diff --git a/devel/libzt/Makefile b/devel/libzt/Makefile
new file mode 100644
index 000000000000..a424a2b82c51
--- /dev/null
+++ b/devel/libzt/Makefile
@@ -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>
diff --git a/devel/libzt/distinfo b/devel/libzt/distinfo
new file mode 100644
index 000000000000..06db16df5b73
--- /dev/null
+++ b/devel/libzt/distinfo
@@ -0,0 +1 @@
+MD5 (libzt-1.0.2.tar.gz) = 256059c9c8999c57a839f1aa22aecf56
diff --git a/devel/libzt/files/patch-libzt::opts.c b/devel/libzt/files/patch-libzt::opts.c
new file mode 100644
index 000000000000..96f105f452fc
--- /dev/null
+++ b/devel/libzt/files/patch-libzt::opts.c
@@ -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>
diff --git a/devel/libzt/pkg-descr b/devel/libzt/pkg-descr
new file mode 100644
index 000000000000..1ca05a4948a0
--- /dev/null
+++ b/devel/libzt/pkg-descr
@@ -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
diff --git a/devel/libzt/pkg-plist b/devel/libzt/pkg-plist
new file mode 100644
index 000000000000..cd536333a8f3
--- /dev/null
+++ b/devel/libzt/pkg-plist
@@ -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