From nobody@FreeBSD.org  Sun Jun 14 01:46:35 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 49DA4106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 14 Jun 2009 01:46:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1D2378FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 14 Jun 2009 01:46:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5E1kYm5055707
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 14 Jun 2009 01:46:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n5E1kYV4055706;
	Sun, 14 Jun 2009 01:46:34 GMT
	(envelope-from nobody)
Message-Id: <200906140146.n5E1kYV4055706@www.freebsd.org>
Date: Sun, 14 Jun 2009 01:46:34 GMT
From: bf <bf1783@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH]textproc/csv2latex: upgrade to 0.14
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: wenheping@gmail.com

>Number:         135555
>Category:       ports
>Synopsis:       [PATCH]textproc/csv2latex: upgrade to 0.14
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 14 01:50:02 UTC 2009
>Closed-Date:    Mon Jun 15 21:07:18 UTC 2009
>Last-Modified:  Mon Jun 15 21:10:20 UTC 2009
>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@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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Jun 14 01:50:12 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135555 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: wenheping@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/135555: [PATCH]textproc/csv2latex: upgrade to 0.14
Date: Sun, 14 Jun 2009 01:50:11 UT

 Maintainer of textproc/csv2latex,
 
 Please note that PR ports/135555 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/135555
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: wen heping <wenheping@gmail.com>
To: bug-followup@FreeBSD.org, bf1783@gmail.com
Cc:  
Subject: Re: ports/135555: [PATCH]textproc/csv2latex: upgrade to 0.14
Date: Sun, 14 Jun 2009 10:28:26 +0800

 --0016e647f026465145046c45b26a
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 It looks fine.
 Please committ it.
 
 wen
 
 --0016e647f026465145046c45b26a
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 It looks fine.<br>Please committ it.<br><br>wen<br>
 
 --0016e647f026465145046c45b26a--
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Sun Jun 14 02:50:37 UTC 2009 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135555 
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Jun 14 08:31:09 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135555 
Responsible-Changed-From-To: miwi->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Mon Jun 15 13:09:17 UTC 2009 
Responsible-Changed-Why:  
I'll take this. It's already on my TODO list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135555 
Responsible-Changed-From-To: wxs->miwi 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Mon Jun 15 13:10:45 UTC 2009 
Responsible-Changed-Why:  
Back to miwi@ as I used the wrong PR number. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135555 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Jun 15 21:07:18 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135555 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/135555: commit references a PR
Date: Mon, 15 Jun 2009 21:09:14 +0000 (UTC)

 miwi        2009-06-15 21:07:21 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc/csv2latex   Makefile distinfo pkg-descr 
   Log:
   - Update to 0.14
   
   PR:             135555
   Submitted by:   bf <bf1783@gmail.com>
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.8       +17 -5     ports/textproc/csv2latex/Makefile
   1.7       +3 -3      ports/textproc/csv2latex/distinfo
   1.2       +1 -1      ports/textproc/csv2latex/pkg-descr
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
