From c8e535f1ed953c8ff135f49d3f452d7a13b73ebc Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Sun, 31 Oct 2004 15:37:17 +0000 Subject: [PATCH] - add USE_GCC=3.3 when gcc is 3.4 by default - replace pkg-plist with PLIST_FILES and PORTDOCS - update the URL in pkg-descr --- devel/libformat/Makefile | 9 +++++---- devel/libformat/pkg-descr | 2 +- devel/libformat/pkg-plist | 8 -------- 3 files changed, 6 insertions(+), 13 deletions(-) delete mode 100644 devel/libformat/pkg-plist diff --git a/devel/libformat/Makefile b/devel/libformat/Makefile index c6d62db989ea..f9e002770ee1 100644 --- a/devel/libformat/Makefile +++ b/devel/libformat/Makefile @@ -18,18 +18,19 @@ COMMENT= C++ library that supports printf style like format printing MAKEFILE= ${FILESDIR}/Makefile.lib INSTALLS_SHLIB= yes +PORTDOCS= ChangeLog README testformat.cpp +PLIST_FILES= include/format.h lib/libformat.a lib/libformat.so lib/libformat.so.1 + .include .if ${OSVERSION} >= 502126 -BROKEN= "Does not compile with gcc 3.4.2" +USE_GCC= 3.3 .endif post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for file in ChangeLog README testformat.cpp - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include diff --git a/devel/libformat/pkg-descr b/devel/libformat/pkg-descr index f40ccc81555c..66d7cfa9a24a 100644 --- a/devel/libformat/pkg-descr +++ b/devel/libformat/pkg-descr @@ -1,3 +1,3 @@ C++ library that supports printf style like format printing -WWW: http://home.pages.at/kingleo/development/cpp-en.html#format +WWW: http://kingleo.home.pages.at/index.php?language=EN&show=/development/cpp diff --git a/devel/libformat/pkg-plist b/devel/libformat/pkg-plist deleted file mode 100644 index f252472f6c75..000000000000 --- a/devel/libformat/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -include/format.h -lib/libformat.a -lib/libformat.so -lib/libformat.so.1 -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/testformat.cpp -%%PORTDOCS%%@dirrm %%DOCSDIR%%