Add CC=${CC} through MAKE_ARGS, to override hard-coded gcc by actual
compiler. To fix FreeBSD 10-CURRENT fallout (untested on 10 because flac is broken due to libstdc++ removal; flac needs to be told to use libc++, 9.X Tinderbox has no complaints though). Drop library versions from LIB_DEPENDS. NOPORTDOCS -> PORT_OPTIONS. ${MKDIR} ${RUBY_SITELIBDIR} in installation to support "port test".
This commit is contained in:
parent
22b7691b1d
commit
e487af5f22
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327119
1 changed files with 12 additions and 7 deletions
|
@ -12,17 +12,21 @@ MAINTAINER= mandree@FreeBSD.org
|
|||
COMMENT= Learning console-based MP3/OGG player
|
||||
|
||||
LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac \
|
||||
fftw.2:${PORTSDIR}/math/fftw \
|
||||
id3-3.8.3:${PORTSDIR}/audio/id3lib \
|
||||
mad.2:${PORTSDIR}/audio/mad \
|
||||
vorbis.4:${PORTSDIR}/audio/libvorbis \
|
||||
ao.4:${PORTSDIR}/audio/libao
|
||||
fftw:${PORTSDIR}/math/fftw \
|
||||
id3:${PORTSDIR}/audio/id3lib \
|
||||
mad:${PORTSDIR}/audio/mad \
|
||||
vorbis:${PORTSDIR}/audio/libvorbis \
|
||||
ao:${PORTSDIR}/audio/libao
|
||||
RUN_DEPENDS= id3v2:${PORTSDIR}/audio/id3v2
|
||||
|
||||
USE_BZIP2= yes
|
||||
USES= gmake
|
||||
USE_RUBY= yes
|
||||
.if !defined(NOPORTDOCS)
|
||||
MAKE_ARGS= CC=${CC}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
|
||||
|
@ -41,9 +45,10 @@ do-install:
|
|||
.for FILE in collect_info edit_tag export_music import_music joystick uncollect_info
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/extra/${FILE}.rb ${PREFIX}/bin
|
||||
.endfor
|
||||
${MKDIR} ${RUBY_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/extra/musicdb_lib.rb ${RUBY_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/extra/squash.conf ${PREFIX}/etc/squash.conf.dist
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for i in README doc/FEATURES doc/LOCKS doc/INSTALL doc/USERS_GUIDE
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
|
|
Loading…
Reference in a new issue