- 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
This commit is contained in:
Yen-Ming Lee 2004-10-31 15:37:17 +00:00
parent 90270cf1d6
commit c8e535f1ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120535
3 changed files with 6 additions and 13 deletions

View file

@ -18,18 +18,19 @@ COMMENT= C++ library that supports printf style like format printing
MAKEFILE= ${FILESDIR}/Makefile.lib MAKEFILE= ${FILESDIR}/Makefile.lib
INSTALLS_SHLIB= yes 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> .include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126 .if ${OSVERSION} >= 502126
BROKEN= "Does not compile with gcc 3.4.2" USE_GCC= 3.3
.endif .endif
post-install: post-install:
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}
.for file in ChangeLog README testformat.cpp @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif .endif
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
C++ library that supports printf style like format printing 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

View file

@ -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%%