ports/135555: [PATCH]textproc/csv2latex: upgrade to 0.14
bf
bf1783 at gmail.com
Sun Jun 14 01:50:03 UTC 2009
>Number: 135555
>Category: ports
>Synopsis: [PATCH]textproc/csv2latex: upgrade to 0.14
>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: Sun Jun 14 01:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: bf
>Release: 8-CURRENT i386
>Organization:
-
>Environment:
>Description:
Update to 0.14; correct master site; correct minor grammar nit in pkg-descr; add
do-build target to avoid patching bundled Makefile in order to respect CFLAGS
and NO_INSTALL_MANPAGES. If desired, a converter other than docbook-to-man could
be used -- docbook2X, for instance.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN csv2latex.orig/Makefile csv2latex/Makefile
--- csv2latex.orig/Makefile 2009-03-14 10:10:22.000000000 -0400
+++ csv2latex/Makefile 2009-06-13 20:54:53.571567100 -0400
@@ -7,20 +7,32 @@
#
PORTNAME= csv2latex
-PORTVERSION= 0.12.3
+PORTVERSION= 0.14
PORTEPOCH= 1
CATEGORIES= textproc converters
-MASTER_SITES= http://ppa.launchpad.net/brouits/ppa/ubuntu/pool/main/c/csv2latex/
-DISTNAME= ${PORTNAME}_${PORTVERSION:R}-${PORTVERSION:E}
+MASTER_SITES= http://brouits.free.fr/csv2latex/
MAINTAINER= wenheping at gmail.com
COMMENT= Converts a well formed csv file to a LaTeX document
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
PLIST_FILES= bin/csv2latex
+do-build:
+ ${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.if ( defined(WITH_MAN) && !defined(NO_INSTALL_MANPAGES) )
+BUILD_DEPENDS += docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
+MAN1= ${PORTNAME}.1
+
+post-build:
+ docbook-to-man ${WRKSRC}/${PORTNAME}.sgml > ${WRKSRC}/${MAN1}
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
+
+.endif
+
.include <bsd.port.mk>
diff -ruN csv2latex.orig/distinfo csv2latex/distinfo
--- csv2latex.orig/distinfo 2009-03-14 10:10:22.000000000 -0400
+++ csv2latex/distinfo 2009-06-13 20:34:17.734729737 -0400
@@ -1,3 +1,3 @@
-MD5 (csv2latex_0.12-3.tar.gz) = e3e47826fab328702b859d2bc9f58d04
-SHA256 (csv2latex_0.12-3.tar.gz) = b550ac4ee629d03432bbe71eb2f93e5cf075928af269c08a1fa786166a556ded
-SIZE (csv2latex_0.12-3.tar.gz) = 18830
+MD5 (csv2latex-0.14.tar.gz) = 096192ef26bb34997bfe95889cf028c6
+SHA256 (csv2latex-0.14.tar.gz) = 2965c0b6f8682a10ac7fb005348c1983223afa1b90df51995f01777ae2714a9d
+SIZE (csv2latex-0.14.tar.gz) = 16172
diff -ruN csv2latex.orig/pkg-descr csv2latex/pkg-descr
--- csv2latex.orig/pkg-descr 2003-05-19 04:32:37.000000000 -0400
+++ csv2latex/pkg-descr 2009-06-13 20:34:17.734729737 -0400
@@ -1,4 +1,4 @@
-csv2latex converts a well formed csv file (as done by OpenOffice.org) to
+csv2latex converts a well-formed csv file (such as made by OpenOffice.org) to
a LaTeX document.
WWW: http://brouits.free.fr/csv2latex/
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list