Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 01:14:16 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330583 - head/audio/audiere
Message-ID:  <201310170114.r9H1EGB6010153@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Oct 17 01:14:16 2013
New Revision: 330583
URL: http://svnweb.freebsd.org/changeset/ports/330583

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax

Modified:
  head/audio/audiere/Makefile

Modified: head/audio/audiere/Makefile
==============================================================================
--- head/audio/audiere/Makefile	Thu Oct 17 01:06:58 2013	(r330582)
+++ head/audio/audiere/Makefile	Thu Oct 17 01:14:16 2013	(r330583)
@@ -11,7 +11,6 @@ MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	High-level audio API
 
 GNU_CONFIGURE=	yes
-NO_STAGE=	yes
 USES=		gmake
 WANT_WX=	yes
 USE_AUTOTOOLS=	autoconf
@@ -49,7 +48,7 @@ CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|du
 .endif
 
 .if ${PORT_OPTIONS:MCDAUDIO}
-LIB_DEPENDS+=	cdaudio:${PORTSDIR}/audio/libcdaudio
+LIB_DEPENDS+=	libcdaudio.so:${PORTSDIR}/audio/libcdaudio
 .else
 CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|cdaudio|no_&|'
 .endif
@@ -57,14 +56,14 @@ CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|cd
 # since dumb is a static lib and it depends on ogg, we should
 # link audiere with ogg as well
 .if ${PORT_OPTIONS:MVORBIS} || ${PORT_OPTIONS:MDUMB}
-LIB_DEPENDS+=	vorbis:${PORTSDIR}/audio/libvorbis \
-		ogg:${PORTSDIR}/audio/libogg
+LIB_DEPENDS+=	libvorbis.so:${PORTSDIR}/audio/libvorbis \
+		libogg.so:${PORTSDIR}/audio/libogg
 .else
 CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|vorbis|no_&|'
 .endif
 
 .if ${PORT_OPTIONS:MSPEEX}
-LIB_DEPENDS+=	speex:${PORTSDIR}/audio/speex
+LIB_DEPENDS+=	libspeex.so:${PORTSDIR}/audio/speex
 .else
 CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|speex|no_&|'
 .endif
@@ -75,11 +74,9 @@ post-patch:
 		${WRKSRC}/configure.in
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310170114.r9H1EGB6010153>