summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2012-10-20 06:50:45 +0000
committerJason E. Hale <jhale@FreeBSD.org>2012-10-20 06:50:45 +0000
commitf7449248474d13bc07a24c5e66ece60fd770ff48 (patch)
tree3c445817a6e8308a4560ad189329761cb389c4f6 /print
parentFix run dependency line (diff)
- 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
Notes
Notes: svn path=/head/; revision=306163
Diffstat (limited to 'print')
-rw-r--r--print/cpp2latex/Makefile24
-rw-r--r--print/cpp2latex/pkg-descr5
2 files changed, 16 insertions, 13 deletions
diff --git a/print/cpp2latex/Makefile b/print/cpp2latex/Makefile
index 80cc2c3a7676..bd156f1462cc 100644
--- a/print/cpp2latex/Makefile
+++ b/print/cpp2latex/Makefile
@@ -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}
diff --git a/print/cpp2latex/pkg-descr b/print/cpp2latex/pkg-descr
index 113dc0c712ad..7aec0fd1b215 100644
--- a/print/cpp2latex/pkg-descr
+++ b/print/cpp2latex/pkg-descr
@@ -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