aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-06-15 21:07:21 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-06-15 21:07:21 +0000
commit283a31c5f40d5c883dbb3d0d8279180d4ab63bcc (patch)
treec30952560d16920411d9465106250f209686e9a2
parent6065a47810fb83957e740bf5bddba8129ff411da (diff)
downloadports-283a31c5f40d5c883dbb3d0d8279180d4ab63bcc.tar.gz
ports-283a31c5f40d5c883dbb3d0d8279180d4ab63bcc.zip
- Update to 0.14
PR: 135555 Submitted by: bf <bf1783@gmail.com> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=235925
-rw-r--r--textproc/csv2latex/Makefile22
-rw-r--r--textproc/csv2latex/distinfo6
-rw-r--r--textproc/csv2latex/pkg-descr2
3 files changed, 21 insertions, 9 deletions
diff --git a/textproc/csv2latex/Makefile b/textproc/csv2latex/Makefile
index 0a1d4752ad4a..13278a323b5a 100644
--- a/textproc/csv2latex/Makefile
+++ b/textproc/csv2latex/Makefile
@@ -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@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 --git a/textproc/csv2latex/distinfo b/textproc/csv2latex/distinfo
index f5a5d37262a8..f25675fb9095 100644
--- a/textproc/csv2latex/distinfo
+++ b/textproc/csv2latex/distinfo
@@ -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 --git a/textproc/csv2latex/pkg-descr b/textproc/csv2latex/pkg-descr
index fc92cebf95fe..e96e62a7406d 100644
--- a/textproc/csv2latex/pkg-descr
+++ b/textproc/csv2latex/pkg-descr
@@ -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/