aboutsummaryrefslogtreecommitdiffstats
path: root/print/cpp2latex
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-03-29 00:55:32 +0800
committerijliao <ijliao@FreeBSD.org>2003-03-29 00:55:32 +0800
commit5c4acdbac49afc2c38aa94df16af78d1c8f37dfd (patch)
tree95f79a8ed5d9a047c6ef953ac40dcfb437fad84c /print/cpp2latex
parent1598f8c6d7adfd554436a3e1cfc4f7ef9e4ee2f9 (diff)
downloadfreebsd-ports-gnome-5c4acdbac49afc2c38aa94df16af78d1c8f37dfd.tar.gz
freebsd-ports-gnome-5c4acdbac49afc2c38aa94df16af78d1c8f37dfd.tar.zst
freebsd-ports-gnome-5c4acdbac49afc2c38aa94df16af78d1c8f37dfd.zip
upgrade to 2.3
Diffstat (limited to 'print/cpp2latex')
-rw-r--r--print/cpp2latex/Makefile6
-rw-r--r--print/cpp2latex/distinfo2
-rw-r--r--print/cpp2latex/files/patch-main.cpp28
-rw-r--r--print/cpp2latex/pkg-plist10
4 files changed, 9 insertions, 37 deletions
diff --git a/print/cpp2latex/Makefile b/print/cpp2latex/Makefile
index d0da5ff56a14..99ce71f4c256 100644
--- a/print/cpp2latex/Makefile
+++ b/print/cpp2latex/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= cpp2latex
-PORTVERSION= 2.1
+PORTVERSION= 2.3
CATEGORIES= print
MASTER_SITES= http://www.arnoldarts.de/
@@ -15,10 +15,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Convert C++ source to a file you can input in an LaTeX-document
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cpp2latex/cpp2latex ${PREFIX}/bin
.if !defined(NOPORTDOCS)
+post-install:
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS ChangeLog README TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
diff --git a/print/cpp2latex/distinfo b/print/cpp2latex/distinfo
index c1d83485889b..0f1082900e68 100644
--- a/print/cpp2latex/distinfo
+++ b/print/cpp2latex/distinfo
@@ -1 +1 @@
-MD5 (cpp2latex-2.1.tar.gz) = d13a0359d41823f2c6d4802794ccdee8
+MD5 (cpp2latex-2.3.tar.gz) = bfe67773548df87c3e0975591f835c74
diff --git a/print/cpp2latex/files/patch-main.cpp b/print/cpp2latex/files/patch-main.cpp
deleted file mode 100644
index 6a9785b0b336..000000000000
--- a/print/cpp2latex/files/patch-main.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
---- cpp2latex/main.cpp.orig Mon Jun 11 14:14:19 2001
-+++ cpp2latex/main.cpp Tue Nov 26 19:32:41 2002
-@@ -25,6 +25,14 @@
- #include <fstream>
- #include <vector>
-
-+using std::cerr;
-+using std::cout;
-+using std::endl;
-+using std::getline;
-+using std::ifstream;
-+using std::string;
-+using std::vector;
-+
- struct replace{
- string voraus;
- string ersetzt;
-@@ -87,8 +95,8 @@
- cerr<<" Skipping "<<skip<<" lines."<<endl;
- for(int i=0; i<skip; i++)
- {
-- char* tmp;
-- file.gets( &tmp );
-+ string line;
-+ getline( file, line );
- }
-
- // Tabspace setzen
diff --git a/print/cpp2latex/pkg-plist b/print/cpp2latex/pkg-plist
index 860908a28fae..140262145f69 100644
--- a/print/cpp2latex/pkg-plist
+++ b/print/cpp2latex/pkg-plist
@@ -1,6 +1,6 @@
bin/cpp2latex
-%%PORTDOCS%%share/doc/cpp2latex/AUTHORS
-%%PORTDOCS%%share/doc/cpp2latex/ChangeLog
-%%PORTDOCS%%share/doc/cpp2latex/README
-%%PORTDOCS%%share/doc/cpp2latex/TODO
-%%PORTDOCS%%@dirrm share/doc/cpp2latex
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%