add USE_GCC=2.95 and unbreak this port.

replace pkg-plist with PORTDOCS and PLIST_FILES.
This commit is contained in:
Yen-Ming Lee 2004-02-08 07:20:01 +00:00
parent 3902c89d08
commit 9d1acc217e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100349
2 changed files with 6 additions and 16 deletions

View file

@ -18,18 +18,13 @@ COMMENT= Future Composer Reference Player
BUILD_DEPENDS= ${LOCALBASE}/include/sidplay/compconf.h:${PORTSDIR}/audio/libsidplay
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CXXFLAGS+= -I${LOCALBASE}/include
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
.endif
USE_GCC= 2.95
PORTDOCS= ABOUT POINTER
PLIST_FILES= bin/fcplay
post-patch:
.for f in configure Config.h.in
@ -41,9 +36,8 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fcplay ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/fcplay
${INSTALL_DATA} ${WRKSRC}/ABOUT ${PREFIX}/share/doc/fcplay
${INSTALL_DATA} ${WRKSRC}/POINTER ${PREFIX}/share/doc/fcplay
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,4 +0,0 @@
bin/fcplay
%%PORTDOCS%%%%DOCSDIR%%/ABOUT
%%PORTDOCS%%%%DOCSDIR%%/POINTER
%%PORTDOCS%%@dirrm %%DOCSDIR%%