summaryrefslogtreecommitdiffstats
path: root/audio/fcplay
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-02-08 07:20:01 +0000
committerleeym <leeym@FreeBSD.org>2004-02-08 07:20:01 +0000
commit90cd14bce2f372d03a899611baddce2debc4f84a (patch)
tree65af3069b848245611ad6302a571cf543e9e000b /audio/fcplay
parent6c48fa6a4decca8acbaa4f18629bfc55a10281ab (diff)
downloadFreeBSD-ports-90cd14bce2f372d03a899611baddce2debc4f84a.zip
FreeBSD-ports-90cd14bce2f372d03a899611baddce2debc4f84a.tar.gz
add USE_GCC=2.95 and unbreak this port.
replace pkg-plist with PORTDOCS and PLIST_FILES.
Diffstat (limited to 'audio/fcplay')
-rw-r--r--audio/fcplay/Makefile18
-rw-r--r--audio/fcplay/pkg-plist4
2 files changed, 6 insertions, 16 deletions
diff --git a/audio/fcplay/Makefile b/audio/fcplay/Makefile
index 51a255a..f315648 100644
--- a/audio/fcplay/Makefile
+++ b/audio/fcplay/Makefile
@@ -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>
diff --git a/audio/fcplay/pkg-plist b/audio/fcplay/pkg-plist
deleted file mode 100644
index 35c4603..0000000
--- a/audio/fcplay/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/fcplay
-%%PORTDOCS%%%%DOCSDIR%%/ABOUT
-%%PORTDOCS%%%%DOCSDIR%%/POINTER
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
OpenPOWER on IntegriCloud