Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2003 01:32:36 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53124: New port: devel/libzt
Message-ID:  <E19PW7w-000Ar2-P7@voodoo.oberon.net>
Resent-Message-ID: <200306092340.h59Ne7eA090370@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53124
>Category:       ports
>Synopsis:       New port: devel/libzt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 09 16:40:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
New port: devel/libzt

Collection of utility code for C application/server
development.

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	devel/libzt
#	devel/libzt/Makefile
#	devel/libzt/distinfo
#	devel/libzt/files
#	devel/libzt/files/patch-libzt::opts.c
#	devel/libzt/pkg-plist
#	devel/libzt/pkg-descr
#
echo c - devel/libzt
mkdir -p devel/libzt > /dev/null 2>&1
echo x - devel/libzt/Makefile
sed 's/^X//' >devel/libzt/Makefile << 'END-of-devel/libzt/Makefile'
X# New ports collection makefile for:  		libzt
X# Date created:        				09.06.2003
X# Whom:               				Kirill Ponomarew <ponomarew@oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libzt
XPORTVERSION=	1.0.2
XCATEGORIES=	devel
XMASTER_SITES=	http://www.zerotao.org/downloads/${PORTNAME}/
X
XMAINTAINER=	ponomarew@oberon.net
XCOMMENT=	Collection of utility code for C application/server development
X
XGNU_CONFIGURE=	yes
XUSE_LIBTOOL=	yes
XUSE_REINPLACE=	yes
XUSE_GETOPT_LONG=	yes
XINSTALLS_SHLIB=	yes
XCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LIBS="-L${LOCALBASE}/lib"
X
Xpost-patch:
X	@${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} \
X	${REINPLACE_CMD} -e \
X		"s,^CFLAGS =,CFLAGS+=${CFLAGS},g ; \
X		s,-no-cpp-precomp,,g"
X
X.include <bsd.port.mk>
END-of-devel/libzt/Makefile
echo x - devel/libzt/distinfo
sed 's/^X//' >devel/libzt/distinfo << 'END-of-devel/libzt/distinfo'
XMD5 (libzt-1.0.2.tar.gz) = 256059c9c8999c57a839f1aa22aecf56
END-of-devel/libzt/distinfo
echo c - devel/libzt/files
mkdir -p devel/libzt/files > /dev/null 2>&1
echo x - devel/libzt/files/patch-libzt::opts.c
sed 's/^X//' >devel/libzt/files/patch-libzt::opts.c << 'END-of-devel/libzt/files/patch-libzt::opts.c'
X--- libzt/opts.c.orig	Tue Jun 10 01:23:36 2003
X+++ libzt/opts.c	Tue Jun 10 01:24:00 2003
X@@ -14,6 +14,7 @@
X 
X #include <unistd.h>
X #include <ctype.h>
X+#include <getopt.h>
X 
X #include <libzt/zt.h>
X #include <libzt/opts.h>
END-of-devel/libzt/files/patch-libzt::opts.c
echo x - devel/libzt/pkg-plist
sed 's/^X//' >devel/libzt/pkg-plist << 'END-of-devel/libzt/pkg-plist'
Xinclude/libzt/assert.h
Xinclude/libzt/cfg.h
Xinclude/libzt/cfg/cfg_private.h
Xinclude/libzt/cfg/ini.h
Xinclude/libzt/cfg/interface.h
Xinclude/libzt/common.h
Xinclude/libzt/daemon.h
Xinclude/libzt/log.h
Xinclude/libzt/log/file.h
Xinclude/libzt/log/interface.h
Xinclude/libzt/log/log_private.h
Xinclude/libzt/log/stderr.h
Xinclude/libzt/log/syslog.h
Xinclude/libzt/macros.h
Xinclude/libzt/opts.h
Xinclude/libzt/progname.h
Xinclude/libzt/str.h
Xinclude/libzt/zt.h
Xlib/libzt.a
Xlib/libzt.la
Xlib/libzt.so
Xlib/libzt.so.0
X@dirrm include/libzt/cfg
X@dirrm include/libzt/log
X@dirrm include/libzt
END-of-devel/libzt/pkg-plist
echo x - devel/libzt/pkg-descr
sed 's/^X//' >devel/libzt/pkg-descr << 'END-of-devel/libzt/pkg-descr'
XLibZT is a collection of utility code for C application/server
Xdevelopment. It contains a ubiquitous logging subsystem,
Xconfiguration file parser, commandline option parser, and
Xnumerous handy tools that need to be written for just about any
Xproject (wrappers to malloc, etc).
X
XWWW: http://www.zerotao.org/projects/libzt
END-of-devel/libzt/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19PW7w-000Ar2-P7>