svn commit: r306163 - head/print/cpp2latex
Jason E. Hale
jhale at FreeBSD.org
Sat Oct 20 06:50:46 UTC 2012
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 at 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 at 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
More information about the svn-ports-head
mailing list