Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2012 06:50:45 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306163 - head/print/cpp2latex
Message-ID:  <201210200650.q9K6ojNl070028@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Sat Oct 20 06:50:45 2012
New Revision: 306163
URL: http://svn.freebsd.org/changeset/ports/306163

Log:
  - Update MASTER_SITES
  - Fix COMMENT grammar
  - Add LICENSE (GPLv2 or later)
  - Convert to new options framework
  - Update pkg-descr
  
  PR:		ports/172049
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Approved by:	makc, avilla (mentors, implicit)
  Feature safe:	yes

Modified:
  head/print/cpp2latex/Makefile   (contents, props changed)
  head/print/cpp2latex/pkg-descr   (contents, props changed)

Modified: head/print/cpp2latex/Makefile
==============================================================================
--- head/print/cpp2latex/Makefile	Sat Oct 20 06:35:59 2012	(r306162)
+++ head/print/cpp2latex/Makefile	Sat Oct 20 06:50:45 2012	(r306163)
@@ -1,29 +1,31 @@
-# ex:ts=8
-# New ports collection makefile for:	cpp2latex
-# Date created:			Jul 20, 2001
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD$
-#
 
 PORTNAME=	cpp2latex
 PORTVERSION=	2.3
 CATEGORIES=	print
-MASTER_SITES=	http://www.arnoldarts.de/downloads/cpp2latex/
+MASTER_SITES=	http://www.arnoldarts.de/files/cpp2latex/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Convert C++ source to a file you can input in an LaTeX-document
+COMMENT=	Converts C++ source to output that can be used in LaTeX documents
+
+LICENSE=	GPLv2 GPLv3
+LICENSE_COMB=	dual
 
 GNU_CONFIGURE=	yes
 
-PLIST_FILES=	bin/cpp2latex
 PORTDOCS=	AUTHORS ChangeLog README TODO
 
+PLIST_FILES=	bin/cpp2latex
+
+.include <bsd.port.options.mk>
+
 post-patch:
-	@${REINPLACE_CMD} -e 's|-pedantic||g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e '/-O2 /s|^|#|' -e '/-pedantic /s|^|#|' \
+		${WRKSRC}/configure
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for docfile in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}

Modified: head/print/cpp2latex/pkg-descr
==============================================================================
--- head/print/cpp2latex/pkg-descr	Sat Oct 20 06:35:59 2012	(r306162)
+++ head/print/cpp2latex/pkg-descr	Sat Oct 20 06:50:45 2012	(r306163)
@@ -1,3 +1,4 @@
-Convert C++-programmlistings to a file you can input in an LaTeX-document
+Cpp2LaTeX converts C++ source code to output you can insert into a
+LaTeX document or pipe directly to LaTex.
 
-WWW: http://www.arnoldarts.de/drupal/?q=Cpp2LaTeX
+WWW: http://www.arnoldarts.de/cpp2latex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210200650.q9K6ojNl070028>