Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 14:54:54 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330331 - head/audio/ecasound
Message-ID:  <201310141454.r9EEss2x060727@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Oct 14 14:54:54 2013
New Revision: 330331
URL: http://svnweb.freebsd.org/changeset/ports/330331

Log:
  - Update MASTER_SITES and WWW
  - While I'm here:
    - Remove deprecated PTHREAD_*
    - Convert to new OPTIONS helper
    - Support STAGEDIR
  
  PR:		ports/181887
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/audio/ecasound/Makefile
  head/audio/ecasound/pkg-descr   (contents, props changed)
  head/audio/ecasound/pkg-plist   (contents, props changed)

Modified: head/audio/ecasound/Makefile
==============================================================================
--- head/audio/ecasound/Makefile	Mon Oct 14 14:26:39 2013	(r330330)
+++ head/audio/ecasound/Makefile	Mon Oct 14 14:54:54 2013	(r330331)
@@ -5,7 +5,7 @@ PORTNAME=	ecasound
 PORTVERSION=	2.9.0
 CATEGORIES=	audio
 MASTER_SITES=	http://ecasound.seul.org/download/ \
-		http://eca.cx/download/ \
+		http://nosignal.fi/download/ \
 		http://ecawave.sourceforge.net/download/
 
 MAINTAINER=	ports@FreeBSD.org
@@ -16,14 +16,11 @@ LICENSE_COMB=	dual
 
 BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
 
-OPTIONS_DEFINE=	ALSA AUDIOFILE JACK LO OIL PYTHON SAMPLERATE
+OPTIONS_DEFINE=	ALSA AUDIOFILE JACK LIBLO LIBOIL PYTHON SAMPLERATE SNDFILE
 OPTIONS_DEFAULT=PYTHON
-AUDIOFILE_DESC=	Enable libaudiofile support
-LO_DESC=	Enable liblo support
-OIL_DESC=	Enable liboil support
+OPTIONS_SUB=	PYTHON
 
 USES=		gmake readline
-NO_STAGE=	yes
 USE_AUTOTOOLS=	libtool
 CONFIGURE_ARGS=	--disable-liblilv \
 		--disable-rubyecasound \
@@ -31,66 +28,35 @@ CONFIGURE_ARGS=	--disable-liblilv \
 		--disable-arts
 USE_LDCONFIG=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib -pthread
 
-MAN1=		ecaconvert.1 ecafixdc.1 ecalength.1 ecamonitor.1 \
-		ecanormalize.1 ecaplay.1 ecasignalview.1 ecasound.1 \
-		ecasound-iam.1 ecatools.1
-MAN5=		ecasoundrc.5
+ALSA_CONFIGURE_ENABLE=	alsa
+ALSA_LIB_DEPENDS=	libasound.so:${PORTSDIR}/audio/alsa-lib
+AUDIOFILE_CONFIGURE_ENABLE=	audiofile
+AUDIOFILE_LIB_DEPENDS=	libaudiofilei.so:${PORTSDIR}/audio/libaudiofile
+JACK_CONFIGURE_ENABLE=	jack
+JACK_LIB_DEPENDS=	libjack.so:${PORTSDIR}/audio/jack
+LO_CONFIGURE_ENABLE=	liblo
+LO_LIB_DEPENDS=		liblo.so:${PORTSDIR}/audio/liblo
+OIL_CONFIGURE_ENABLE=	liboil
+OIL_LIB_DEPENDS=	liboil-0.3.so:${PORTSDIR}/devel/liboil
+PYTHON_CONFIGURE_ENABLE=pyecasound
+SAMPLERATE_CONFIGURE_ENABLE=	libsamplerate
+SAMPLERATE_LIB_DEPENDS=	libsamplerate.so:${PORTSDIR}/audio/libsamplerate
+SNDFILE_CONFIGURE_ENABLE=	sndfile
+SNDFILE_LIB_DEPENDS=	libsndfile.so:${PORTSDIR}/audio/libsndfile
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MALSA}
-LIB_DEPENDS+=	asound:${PORTSDIR}/audio/alsa-lib
-.else
-CONFIGURE_ARGS+=	--disable-alsa
-.endif
-
-.if ${PORT_OPTIONS:MAUDIOFILE}
-LIB_DEPENDS+=	audiofile:${PORTSDIR}/audio/libaudiofile
-.else
-CONFIGURE_ARGS+=	--disable-audiofile
-.endif
-
-.if ${PORT_OPTIONS:MJACK}
-LIB_DEPENDS+=	jack:${PORTSDIR}/audio/jack
-.else
-CONFIGURE_ARGS+=	--disable-jack
-.endif
-
-.if ${PORT_OPTIONS:MLO}
-LIB_DEPENDS+=	lo:${PORTSDIR}/audio/liblo
-.else
-CONFIGURE_ARGS+=	--disable-liblo
-.endif
-
-.if ${PORT_OPTIONS:MOIL}
-LIB_DEPENDS+=	oil-0.3:${PORTSDIR}/devel/liboil
-.else
-CONFIGURE_ARGS+=	--disable-liboil
-.endif
-
 .if ${PORT_OPTIONS:MPYTHON}
 USE_PYTHON=	yes
-CONFIGURE_ARGS+=	--enable-pyecasound
-PLIST_SUB+=	PYTHON=""
-.else
-PLIST_SUB+=	PYTHON="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MSAMPLERATE}
-LIB_DEPENDS+=	samplerate:${PORTSDIR}/audio/libsamplerate
-.else
-CONFIGURE_ARGS+=	--disable-libsamplerate --disable-sndfile
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e '/test/s|==|=|g ; \
+	@${REINPLACE_CMD} -e '/test/ s|==|=|g ; \
 		 s| $$EXTRAGCCFLAGS||g ; \
 		 s| $$EXTRACPPFLAGS||g ; \
-		 s| -pthread||g ; \
-		 s| -D_THREAD_SAFE||g ; \
 		 s| -D_P1003_1B_VISIBLE||' ${WRKSRC}/configure
 
 .include <bsd.port.mk>

Modified: head/audio/ecasound/pkg-descr
==============================================================================
--- head/audio/ecasound/pkg-descr	Mon Oct 14 14:26:39 2013	(r330330)
+++ head/audio/ecasound/pkg-descr	Mon Oct 14 14:54:54 2013	(r330331)
@@ -9,4 +9,4 @@ and MIDI-CCs. As most functionality is l
 creating alternative user-interfaces is easy. A versatile console mode
 interface is included in the package.
 
-WWW: http://www.eca.cx/ecasound/
+WWW: http://nosignal.fi/ecasound/

Modified: head/audio/ecasound/pkg-plist
==============================================================================
--- head/audio/ecasound/pkg-plist	Mon Oct 14 14:26:39 2013	(r330330)
+++ head/audio/ecasound/pkg-plist	Mon Oct 14 14:54:54 2013	(r330331)
@@ -164,6 +164,17 @@ lib/libkvutils.la
 %%DATADIR%%/ecasoundrc
 %%DATADIR%%/effect_presets
 %%DATADIR%%/generic_oscillators
+man/man1/ecaconvert.1.gz
+man/man1/ecafixdc.1.gz
+man/man1/ecalength.1.gz
+man/man1/ecamonitor.1.gz
+man/man1/ecanormalize.1.gz
+man/man1/ecaplay.1.gz
+man/man1/ecasignalview.1.gz
+man/man1/ecasound-iam.1.gz
+man/man1/ecasound.1.gz
+man/man1/ecatools.1.gz
+man/man5/ecasoundrc.5.gz
 @dirrm %%DATADIR%%
 @dirrm include/libecasoundc
 @dirrm include/libecasound



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