diff options
Diffstat (limited to 'print')
-rw-r--r-- | print/cpp2latex/Makefile | 6 | ||||
-rw-r--r-- | print/cpp2latex/distinfo | 2 | ||||
-rw-r--r-- | print/cpp2latex/files/patch-main.cpp | 28 | ||||
-rw-r--r-- | print/cpp2latex/pkg-plist | 10 |
4 files changed, 9 insertions, 37 deletions
diff --git a/print/cpp2latex/Makefile b/print/cpp2latex/Makefile index d0da5ff56a1..99ce71f4c25 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 c1d83485889..0f1082900e6 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 6a9785b0b33..00000000000 --- 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 860908a28fa..140262145f6 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%% |