aboutsummaryrefslogtreecommitdiff
path: root/devel/libformat
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-10-31 15:37:17 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-10-31 15:37:17 +0000
commitc8e535f1ed953c8ff135f49d3f452d7a13b73ebc (patch)
tree2948fd587d9fc68bbc7a619ce9ff61b9514bd44d /devel/libformat
parent90270cf1d683bdf70846ab5985420e58aaa1f147 (diff)
downloadports-c8e535f1ed953c8ff135f49d3f452d7a13b73ebc.tar.gz
ports-c8e535f1ed953c8ff135f49d3f452d7a13b73ebc.zip
- 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
Notes
Notes: svn path=/head/; revision=120535
Diffstat (limited to 'devel/libformat')
-rw-r--r--devel/libformat/Makefile9
-rw-r--r--devel/libformat/pkg-descr2
-rw-r--r--devel/libformat/pkg-plist8
3 files changed, 6 insertions, 13 deletions
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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>
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%%