Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Mar 2010 17:37:45 -0800
From:      Charlie Kester <corky1951@comcast.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/144440: [NEW PORT] textproc/tdhkit: a set of tools for working with tabular ascii data
Message-ID:  <20100303013748.4428C106566C@hub.freebsd.org>
Resent-Message-ID: <201003030140.o231e1gC031105@freefall.freebsd.org>

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

>Number:         144440
>Category:       ports
>Synopsis:       [NEW PORT] textproc/tdhkit: a set of tools for working with tabular ascii data
>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:   Wed Mar 03 01:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Charlie Kester
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD atom.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Feb 27 16:59:19 PST 2010 root@atom.local:/usr/obj/usr/src/sys/ATOM i386

>Description:
The TDH utilities are a set of programs and filters useful in working
with ordinary tabular ascii data from the command line or in shell
scripts. They were developed to supplement standard unix utilities
such as sort and uniq. Two of the utilities are designed to work
specifically with tab-delimited exports from Excel/spreadsheets.
A full-featured date and time package (libchron) is also included.

WWW: http://quisp.sourceforge.net/tdhkit
>How-To-Repeat:
>Fix:


--- tdhkit-1.0.shar begins here ---
# 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:
#
#	tdhkit
#	tdhkit/Makefile
#	tdhkit/distinfo
#	tdhkit/files
#	tdhkit/files/patch-Makefile
#	tdhkit/pkg-descr
#	tdhkit/pkg-plist
#
echo c - tdhkit
mkdir -p tdhkit > /dev/null 2>&1
echo x - tdhkit/Makefile
sed 's/^X//' >tdhkit/Makefile << 'b54a2541532f5c032597b57bef50bf07'
X# ex:ts=8
X# Ports collection makefile for:	tdhkit
X# Date created:			2 Mar 2010
X# Whom:				corky1951@comcast.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tdhkit
XPORTVERSION=	1.0
XCATEGORIES=	textproc
XMASTER_SITES=	http://quisp.sourceforge.net/${PORTNAME}/
XDISTNAME=	${PORTNAME}${PORTVERSION:C/\.//1}
X
XMAINTAINER=	corky1951@comcast.net
XCOMMENT=	A set of programs for working with tabular ascii data
X
XOPTIONS=	LIBCHRON "Install libchron" Off
X
X.include <bsd.port.options.mk>
X
X.if defined(WITH_LIBCHRON)
XPLIST_SUB+=	LIBCHRON=""
X.else
XPLIST_SUB+=	LIBCHRON="@comment "
X.endif
X
X.if !defined(NO_INSTALL_MANPAGES)
XMAN1=		dateconvert.1 \
X		fldfmt.1 \
X		fldmap.1 \
X		fldsel.1 \
X		pjoin.1 \
X		recsel.1 \
X		tabo.1 \
X		tdhfunction.1 \
X		xlcells.1 \
X		xlcleaner.1
X
X.if defined(WITH_LIBCHRON)
XMAN3=		libchron.3
X.endif
XMANCOMPRESSED=	no
X.endif
X
Xdo-build:
X	cd ${WRKSRC}/libsrc && ${SETENV} ${MAKE_ENV} \
X		${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
X	cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} \
X		${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
X.if defined(WITH_LIBCHRON)
X	cd ${WRKSRC}/libsrc && ${SETENV} ${MAKE_ENV} \
X		${MAKE} ${MAKE_FLAGS} ${MAKEFILE} libchron
X.endif
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin
X
X.if defined(WITH_LIBCHRON)
X	${INSTALL_PROGRAM} ${WRKSRC}/libchron.a ${PREFIX}/lib
X.endif
X
X.if !defined(NO_INSTALL_MANPAGES)
X.for manpage in ${MAN1}
X	${INSTALL_MAN} ${WRKSRC}/man/mantdh/${manpage} ${MAN1PREFIX}/man/man1
X.endfor
X.if defined(WITH_LIBCHRON)
X	${INSTALL_MAN} ${WRKSRC}/man/mantdh/${MAN3} ${MAN3PREFIX}/man/man3
X.endif
X.endif
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/man/html/* ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
b54a2541532f5c032597b57bef50bf07
echo x - tdhkit/distinfo
sed 's/^X//' >tdhkit/distinfo << '7632465d27f32f0e9aad42bf7e9f7079'
XMD5 (tdhkit10.tar.gz) = e515bb87ad2e221ac479e66f2c0786ad
XSHA256 (tdhkit10.tar.gz) = fa684660757c63c33be7f27e3c659481a3151c32a6d7c619092c7c5156eb3021
XSIZE (tdhkit10.tar.gz) = 149842
7632465d27f32f0e9aad42bf7e9f7079
echo c - tdhkit/files
mkdir -p tdhkit/files > /dev/null 2>&1
echo x - tdhkit/files/patch-Makefile
sed 's/^X//' >tdhkit/files/patch-Makefile << 'cc75bd5786e4e40a568e3099bad90a2c'
X--- src/Makefile.orig	2010-03-02 15:09:45.000000000 -0800
X+++ src/Makefile	2010-03-02 15:10:08.000000000 -0800
X@@ -6,7 +6,7 @@
X CC = gcc
X 
X 
X-all: recsel fldsel fldfmt pjoin tabo dateconvert tdhfunction xlcleaner xlcells 
X+all: recsel fldmap fldsel fldfmt pjoin tabo dateconvert tdhfunction xlcleaner xlcells 
X 
X 
X # FLDMAP -
cc75bd5786e4e40a568e3099bad90a2c
echo x - tdhkit/pkg-descr
sed 's/^X//' >tdhkit/pkg-descr << '977051e064fd3391f4e1da141d6bca91'
XThe TDH utilities are a set of programs and filters useful in working
Xwith ordinary tabular ascii data from the command line or in shell
Xscripts. They were developed to supplement standard unix utilities
Xsuch as sort and uniq. Two of the utilities are designed to work
Xspecifically with tab-delimited exports from Excel/spreadsheets.
XA full-featured date and time package (libchron) is also included.
X
XWWW: http://quisp.sourceforge.net/tdhkit
977051e064fd3391f4e1da141d6bca91
echo x - tdhkit/pkg-plist
sed 's/^X//' >tdhkit/pkg-plist << '81b22c2f16e080df606feedc6eccb6ed'
Xbin/dateconvert
Xbin/fldfmt
Xbin/fldmap
Xbin/fldsel
Xbin/pjoin
Xbin/recsel
Xbin/tabo
Xbin/tdhfunction
Xbin/xlcells
Xbin/xlcleaner
X%%LIBCHRON%%lib/libchron.a
X%%PORTDOCS%%%%DOCSDIR%%/Copyright.html
X%%PORTDOCS%%%%DOCSDIR%%/commalist.html
X%%PORTDOCS%%%%DOCSDIR%%/condex.html
X%%PORTDOCS%%%%DOCSDIR%%/config.html
X%%PORTDOCS%%%%DOCSDIR%%/dateconvert.1.html
X%%PORTDOCS%%%%DOCSDIR%%/dates.html
X%%PORTDOCS%%%%DOCSDIR%%/fldfmt.1.html
X%%PORTDOCS%%%%DOCSDIR%%/fldmap.1.html
X%%PORTDOCS%%%%DOCSDIR%%/fldsel.1.html
X%%PORTDOCS%%%%DOCSDIR%%/functions.html
X%%PORTDOCS%%%%DOCSDIR%%/headerfields.html
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/inlinecodes.html
X%%PORTDOCS%%%%DOCSDIR%%/libchron.3.html
X%%PORTDOCS%%%%DOCSDIR%%/pjoin.1.html
X%%PORTDOCS%%%%DOCSDIR%%/recsel.1.html
X%%PORTDOCS%%%%DOCSDIR%%/tabo.1.html
X%%PORTDOCS%%%%DOCSDIR%%/tdhfunction.1.html
X%%PORTDOCS%%%%DOCSDIR%%/tdhkit.gif
X%%PORTDOCS%%%%DOCSDIR%%/tdhkit.html
X%%PORTDOCS%%%%DOCSDIR%%/times.html
X%%PORTDOCS%%%%DOCSDIR%%/xlcells.1.html
X%%PORTDOCS%%%%DOCSDIR%%/xlcleaner.1.html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
81b22c2f16e080df606feedc6eccb6ed
exit
--- tdhkit-1.0.shar ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100303013748.4428C106566C>