1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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

PR:		ports/144440
Submitted by:	Charlie Kester <corky1951@comcast.net>
This commit is contained in:
Martin Wilke 2010-03-09 22:34:45 +00:00
parent 8b47eebfa5
commit 4c37f2e14a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250792
6 changed files with 135 additions and 0 deletions

View File

@ -1157,6 +1157,7 @@
SUBDIR += syck
SUBDIR += ta-aspell
SUBDIR += tclExpat
SUBDIR += tdhkit
SUBDIR += tdtd.el
SUBDIR += te-aspell
SUBDIR += teckit

77
textproc/tdhkit/Makefile Normal file
View File

@ -0,0 +1,77 @@
# ex:ts=8
# Ports collection makefile for: tdhkit
# Date created: 2 Mar 2010
# Whom: corky1951@comcast.net
#
# $FreeBSD$
#
PORTNAME= tdhkit
PORTVERSION= 1.0
CATEGORIES= textproc
MASTER_SITES= http://quisp.sourceforge.net/${PORTNAME}/
DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//1}
MAINTAINER= corky1951@comcast.net
COMMENT= A set of programs for working with tabular ascii data
OPTIONS= LIBCHRON "Install libchron" Off
.include <bsd.port.options.mk>
.if defined(WITH_LIBCHRON)
PLIST_SUB+= LIBCHRON=""
.else
PLIST_SUB+= LIBCHRON="@comment "
.endif
.if !defined(NO_INSTALL_MANPAGES)
MAN1= dateconvert.1 \
fldfmt.1 \
fldmap.1 \
fldsel.1 \
pjoin.1 \
recsel.1 \
tabo.1 \
tdhfunction.1 \
xlcells.1 \
xlcleaner.1
.if defined(WITH_LIBCHRON)
MAN3= libchron.3
.endif
MANCOMPRESSED= no
.endif
do-build:
cd ${WRKSRC}/libsrc && ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
.if defined(WITH_LIBCHRON)
cd ${WRKSRC}/libsrc && ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} libchron
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin
.if defined(WITH_LIBCHRON)
${INSTALL_PROGRAM} ${WRKSRC}/libchron.a ${PREFIX}/lib
.endif
.if !defined(NO_INSTALL_MANPAGES)
.for manpage in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/man/mantdh/${manpage} ${MAN1PREFIX}/man/man1
.endfor
.if defined(WITH_LIBCHRON)
${INSTALL_MAN} ${WRKSRC}/man/mantdh/${MAN3} ${MAN3PREFIX}/man/man3
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/man/html/* ${DOCSDIR}
.endif
.include <bsd.port.mk>

3
textproc/tdhkit/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (tdhkit10.tar.gz) = e515bb87ad2e221ac479e66f2c0786ad
SHA256 (tdhkit10.tar.gz) = fa684660757c63c33be7f27e3c659481a3151c32a6d7c619092c7c5156eb3021
SIZE (tdhkit10.tar.gz) = 149842

View File

@ -0,0 +1,11 @@
--- src/Makefile.orig 2010-03-02 15:09:45.000000000 -0800
+++ src/Makefile 2010-03-02 15:10:08.000000000 -0800
@@ -6,7 +6,7 @@
CC = gcc
-all: recsel fldsel fldfmt pjoin tabo dateconvert tdhfunction xlcleaner xlcells
+all: recsel fldmap fldsel fldfmt pjoin tabo dateconvert tdhfunction xlcleaner xlcells
# FLDMAP -

View File

@ -0,0 +1,8 @@
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

35
textproc/tdhkit/pkg-plist Normal file
View File

@ -0,0 +1,35 @@
bin/dateconvert
bin/fldfmt
bin/fldmap
bin/fldsel
bin/pjoin
bin/recsel
bin/tabo
bin/tdhfunction
bin/xlcells
bin/xlcleaner
%%LIBCHRON%%lib/libchron.a
%%PORTDOCS%%%%DOCSDIR%%/Copyright.html
%%PORTDOCS%%%%DOCSDIR%%/commalist.html
%%PORTDOCS%%%%DOCSDIR%%/condex.html
%%PORTDOCS%%%%DOCSDIR%%/config.html
%%PORTDOCS%%%%DOCSDIR%%/dateconvert.1.html
%%PORTDOCS%%%%DOCSDIR%%/dates.html
%%PORTDOCS%%%%DOCSDIR%%/fldfmt.1.html
%%PORTDOCS%%%%DOCSDIR%%/fldmap.1.html
%%PORTDOCS%%%%DOCSDIR%%/fldsel.1.html
%%PORTDOCS%%%%DOCSDIR%%/functions.html
%%PORTDOCS%%%%DOCSDIR%%/headerfields.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/inlinecodes.html
%%PORTDOCS%%%%DOCSDIR%%/libchron.3.html
%%PORTDOCS%%%%DOCSDIR%%/pjoin.1.html
%%PORTDOCS%%%%DOCSDIR%%/recsel.1.html
%%PORTDOCS%%%%DOCSDIR%%/tabo.1.html
%%PORTDOCS%%%%DOCSDIR%%/tdhfunction.1.html
%%PORTDOCS%%%%DOCSDIR%%/tdhkit.gif
%%PORTDOCS%%%%DOCSDIR%%/tdhkit.html
%%PORTDOCS%%%%DOCSDIR%%/times.html
%%PORTDOCS%%%%DOCSDIR%%/xlcells.1.html
%%PORTDOCS%%%%DOCSDIR%%/xlcleaner.1.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%