ports/119436: New Port: textproc/p5-exceltex perl-script and LaTeX style-file to import data from excel documents into LaTeX documents

Gerrit Kühn gerrit at pmp.uni-hannover.de
Mon Jan 7 22:00:01 UTC 2008


>Number:         119436
>Category:       ports
>Synopsis:       New Port: textproc/p5-exceltex perl-script and LaTeX style-file to import data from excel documents into LaTeX documents
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 07 22:00:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Gerrit Kühn
>Release:        7.0-BETA4
>Organization:
MPI für Gravitationsphysik
>Environment:
FreeBSD comet.terra.ger 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Fri Dec 14 21:02:47 CET 2007     root at comet.terra.ger:/usr/obj/usr/src/sys/COMET.7  i386
>Description:
New Port: textproc/p5-exceltex perl-script and LaTeX style-file to import data from excel documents into LaTeX documents:

Exceltex is a LaTeX package combined with a helper program written in
Perl. It provides a easy to use yet powerfull and flexible way to get
data from Spreadsheets into LaTeX.

In difference to other existing solutions, exceltex does not seek for
making the creation of tables in LaTeX easier, but to get data from
Spreadsheets in into LaTeX as easy as possible.

The excel fileformat acts as an interface between the spreadsheet
application and exceltex beacause it is easily accessible via the
Spreadsheet::ParseExcel Perl module and because most spreadsheet
applications are able to read and write excel files.

WWW: http://www.physik.uni-freiburg.de/~doerr/exceltex

>How-To-Repeat:

>Fix:
See shar file attached.

Patch attached with submission follows:

# 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:
#
#	/usr/ports/textproc/p5-exceltex
#	/usr/ports/textproc/p5-exceltex/Makefile
#	/usr/ports/textproc/p5-exceltex/pkg-message
#	/usr/ports/textproc/p5-exceltex/distinfo
#	/usr/ports/textproc/p5-exceltex/pkg-plist
#	/usr/ports/textproc/p5-exceltex/pkg-descr
#
echo c - /usr/ports/textproc/p5-exceltex
mkdir -p /usr/ports/textproc/p5-exceltex > /dev/null 2>&1
echo x - /usr/ports/textproc/p5-exceltex/Makefile
sed 's/^X//' >/usr/ports/textproc/p5-exceltex/Makefile << 'END-of-/usr/ports/textproc/p5-exceltex/Makefile'
X# New ports collection makefile for:	exceltex
X# Date created:		07 Jan 2008
X# Whom:			Gerrit Kuehn <gerrit at pmp.uni-hannover.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	exceltex
XPORTVERSION=	0.5.1
XPORTREVISION=	1
XCATEGORIES=	textproc perl5 print
XMASTER_SITES=	http://www.physik.uni-freiburg.de/~doerr/debian/
XPKGNAMEPREFIX=	p5-
XDISTNAME=	${PORTNAME}_${PORTVERSION}-${PORTREVISION}
X
XCOMMENT=	Get information from Excel file into LaTeX tables
X
XRUN_DEPENDS=	${SITE_PERL}/Spreadsheet/ParseExcel.pm:${PORTSDIR}/textproc/p5-Spreadsheet-ParseExcel
XBUILD_DEPENDS=	${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
X
XWRKSRC=         ${WRKDIR}/${PORTNAME:S/^latex-//}
X
XMAN1=		exceltex.1
X
XNO_BUILD=	YES
XUSE_PERL5_RUN=	YES
X
XTEXMFLOCAL=	share/texmf-local
XTEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
XMKTEXLSR=       ${LOCALBASE}/bin/mktexlsr
XCLASSDIR=       ${TEXMFLOCAL}/tex/latex/misc
X
XPLIST_SUB=	TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
X		CLASSDIR=${CLASSDIR}
X
XCLASS_FILES=	exceltex.sty
X
XDOC_FILES=      README
X
Xdo-extract:
X	${MKDIR} ${WRKSRC}
X	cd ${WRKSRC} && ${TAR} -xvzf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/${CLASSDIR}
X	${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/${PORTNAME}-${PORTVERSION}/@} ${PREFIX}/${CLASSDIR}
X	${INSTALL} ${WRKSRC}/${PORTNAME}-${PORTVERSION}/${PORTNAME} ${PREFIX}/bin/
X	${INSTALL} ${MAN1:S@^@${WRKSRC}/${PORTNAME}-${PORTVERSION}/@} ${PREFIX}/man/man1/
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/${PORTNAME}-${PORTVERSION}/@} ${DOCSDIR}
X.endif
X
Xpost-install:
X	@${MKTEXLSR}
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-/usr/ports/textproc/p5-exceltex/Makefile
echo x - /usr/ports/textproc/p5-exceltex/pkg-message
sed 's/^X//' >/usr/ports/textproc/p5-exceltex/pkg-message << 'END-of-/usr/ports/textproc/p5-exceltex/pkg-message'
X=======================================================================
Xexceltex has been installed.
XFor examples see README or visit
X<http://www.physik.uni-freiburg.de/~doerr/exceltex>
X=======================================================================
END-of-/usr/ports/textproc/p5-exceltex/pkg-message
echo x - /usr/ports/textproc/p5-exceltex/distinfo
sed 's/^X//' >/usr/ports/textproc/p5-exceltex/distinfo << 'END-of-/usr/ports/textproc/p5-exceltex/distinfo'
XMD5 (exceltex_0.5.1-1.tar.gz) = 5a10fc99cdbc971ade59a7dcaf32e8a7
XSHA256 (exceltex_0.5.1-1.tar.gz) = 273960b85e8cd97f9caebfd0ced9c19992bd9c9f11c6c7a4cfba0daba0c61648
XSIZE (exceltex_0.5.1-1.tar.gz) = 38304
END-of-/usr/ports/textproc/p5-exceltex/distinfo
echo x - /usr/ports/textproc/p5-exceltex/pkg-plist
sed 's/^X//' >/usr/ports/textproc/p5-exceltex/pkg-plist << 'END-of-/usr/ports/textproc/p5-exceltex/pkg-plist'
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%CLASSDIR%%/exceltex.sty
Xbin/exceltex
X at dirrm %%CLASSDIR%%
X at unexec %%MKTEXLSR%%
END-of-/usr/ports/textproc/p5-exceltex/pkg-plist
echo x - /usr/ports/textproc/p5-exceltex/pkg-descr
sed 's/^X//' >/usr/ports/textproc/p5-exceltex/pkg-descr << 'END-of-/usr/ports/textproc/p5-exceltex/pkg-descr'
XExceltex is a LaTeX package combined with a helper program written in
XPerl. It provides a easy to use yet powerfull and flexible way to get
Xdata from Spreadsheets into LaTeX.
X
XIn difference to other existing solutions, exceltex does not seek for
Xmaking the creation of tables in LaTeX easier, but to get data from
XSpreadsheets in into LaTeX as easy as possible.
X
XThe excel fileformat acts as an interface between the spreadsheet
Xapplication and exceltex beacause it is easily accessible via the
XSpreadsheet::ParseExcel Perl module and because most spreadsheet
Xapplications are able to read and write excel files.
X
XWWW: http://www.physik.uni-freiburg.de/~doerr/exceltex
END-of-/usr/ports/textproc/p5-exceltex/pkg-descr
exit



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



More information about the freebsd-ports-bugs mailing list