- Support staging
- Use new LIB_DEPENDS syntax
This commit is contained in:
parent
bd4724d1af
commit
c3c373cc28
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330583
1 changed files with 6 additions and 9 deletions
|
@ -11,7 +11,6 @@ MAINTAINER= amdmi3@FreeBSD.org
|
||||||
COMMENT= High-level audio API
|
COMMENT= High-level audio API
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
NO_STAGE= yes
|
|
||||||
USES= gmake
|
USES= gmake
|
||||||
WANT_WX= yes
|
WANT_WX= yes
|
||||||
USE_AUTOTOOLS= autoconf
|
USE_AUTOTOOLS= autoconf
|
||||||
|
@ -49,7 +48,7 @@ CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|dumb|no_&|'
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MCDAUDIO}
|
.if ${PORT_OPTIONS:MCDAUDIO}
|
||||||
LIB_DEPENDS+= cdaudio:${PORTSDIR}/audio/libcdaudio
|
LIB_DEPENDS+= libcdaudio.so:${PORTSDIR}/audio/libcdaudio
|
||||||
.else
|
.else
|
||||||
CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|cdaudio|no_&|'
|
CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|cdaudio|no_&|'
|
||||||
.endif
|
.endif
|
||||||
|
@ -57,14 +56,14 @@ CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|cdaudio|no_&|'
|
||||||
# since dumb is a static lib and it depends on ogg, we should
|
# since dumb is a static lib and it depends on ogg, we should
|
||||||
# link audiere with ogg as well
|
# link audiere with ogg as well
|
||||||
.if ${PORT_OPTIONS:MVORBIS} || ${PORT_OPTIONS:MDUMB}
|
.if ${PORT_OPTIONS:MVORBIS} || ${PORT_OPTIONS:MDUMB}
|
||||||
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis \
|
LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis \
|
||||||
ogg:${PORTSDIR}/audio/libogg
|
libogg.so:${PORTSDIR}/audio/libogg
|
||||||
.else
|
.else
|
||||||
CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|vorbis|no_&|'
|
CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|vorbis|no_&|'
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MSPEEX}
|
.if ${PORT_OPTIONS:MSPEEX}
|
||||||
LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex
|
LIB_DEPENDS+= libspeex.so:${PORTSDIR}/audio/speex
|
||||||
.else
|
.else
|
||||||
CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|speex|no_&|'
|
CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|speex|no_&|'
|
||||||
.endif
|
.endif
|
||||||
|
@ -75,11 +74,9 @@ post-patch:
|
||||||
${WRKSRC}/configure.in
|
${WRKSRC}/configure.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${MKDIR} ${DOCSDIR}
|
|
||||||
.for f in ${PORTDOCS}
|
.for f in ${PORTDOCS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Reference in a new issue