From owner-svn-ports-head@FreeBSD.ORG Tue Feb 26 14:40:42 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B0D43DF8; Tue, 26 Feb 2013 14:40:42 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 9496185C; Tue, 26 Feb 2013 14:40:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1QEegsi044991; Tue, 26 Feb 2013 14:40:42 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1QEeg9u044989; Tue, 26 Feb 2013 14:40:42 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201302261440.r1QEeg9u044989@svn.freebsd.org> From: Alexey Dokuchaev Date: Tue, 26 Feb 2013 14:40:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r312981 - head/audio/darkice X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2013 14:40:42 -0000 Author: danfe Date: Tue Feb 26 14:40:41 2013 New Revision: 312981 URL: http://svnweb.freebsd.org/changeset/ports/312981 Log: - Trim the Makefile header per new guidelines - Remove hardcoded shlib ABI versions from LIB_DEPENDS - Drop leading indefinite article and fix a typo in COMMENT - Remove redundant standard knob description (TWOLAME) - Unmute installation commands, cleanup Makefile a bit - Reformat port description text for better visual appeal Modified: head/audio/darkice/Makefile head/audio/darkice/pkg-descr Modified: head/audio/darkice/Makefile ============================================================================== --- head/audio/darkice/Makefile Tue Feb 26 14:37:32 2013 (r312980) +++ head/audio/darkice/Makefile Tue Feb 26 14:40:41 2013 (r312981) @@ -1,10 +1,5 @@ -# ex:ts=8 -# New ports collection makefile for: darkice -# Date created: Dec 28, 2001 -# Whom: ijliao -# +# Created by: Ying-Chieh Liao # $FreeBSD$ -# PORTNAME= darkice PORTVERSION= 1.1 @@ -13,7 +8,7 @@ CATEGORIES= audio net MASTER_SITES= GOOGLE_CODE MAINTAINER= ports@FreeBSD.org -COMMENT= An IceCast, IceCast2, and ShoutCast live audio streamer +COMMENT= IceCast, IceCast2, and ShoutCast live audio streamer LICENSE= GPLv3 @@ -23,7 +18,6 @@ OPTIONS_MULTI_CODEC= VORBIS LAME TWOLAME OPTIONS_DEFAULT= VORBIS AACPLUS_DESC= AAC HEv2 and libsamplerate support -TWOLAME_DESC= TwoLAME support for MP2 USE_AUTOTOOLS= aclocal autoconf GNU_CONFIGURE= yes @@ -41,44 +35,45 @@ MAN5= darkice.cfg.5 .include .if ${PORT_OPTIONS:MVORBIS} +LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis CONFIGURE_ARGS+= --with-vorbis-prefix=${LOCALBASE} -LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis .else CONFIGURE_ARGS+= --without-vorbis .endif .if ${PORT_OPTIONS:MLAME} -LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame +LIB_DEPENDS+= mp3lame:${PORTSDIR}/audio/lame CONFIGURE_ARGS+= --with-lame-prefix=${LOCALBASE} .else CONFIGURE_ARGS+= --without-lame .endif .if ${PORT_OPTIONS:MTWOLAME} -LIB_DEPENDS+= twolame.0:${PORTSDIR}/audio/twolame +LIB_DEPENDS+= twolame:${PORTSDIR}/audio/twolame CONFIGURE_ARGS+= --with-twolame-prefix=${LOCALBASE} .else CONFIGURE_ARGS+= --without-twolame .endif .if ${PORT_OPTIONS:MFAAC} -LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac +LIB_DEPENDS+= faac:${PORTSDIR}/audio/faac CONFIGURE_ARGS+= --with-faac-prefix=${LOCALBASE} .else CONFIGURE_ARGS+= --without-faac .endif .if ${PORT_OPTIONS:MJACK} -LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack +LIB_DEPENDS+= jack:${PORTSDIR}/audio/jack CONFIGURE_ARGS+= --with-jack-prefix=${LOCALBASE} .else CONFIGURE_ARGS+= --without-jack .endif .if ${PORT_OPTIONS:MAACPLUS} -LIB_DEPENDS+= aacplus.2:${PORTSDIR}/audio/libaacplus \ - samplerate.1:${PORTSDIR}/audio/libsamplerate -CONFIGURE_ARGS+= --with-aacplus-prefix=${LOCALBASE} --with-samplerate-prefix=${LOCALBASE} +LIB_DEPENDS+= aacplus:${PORTSDIR}/audio/libaacplus \ + samplerate:${PORTSDIR}/audio/libsamplerate +CONFIGURE_ARGS+= --with-aacplus-prefix=${LOCALBASE} \ + --with-samplerate-prefix=${LOCALBASE} .else CONFIGURE_ARGS+= --without-aacplus --without-samplerate .endif @@ -89,13 +84,16 @@ post-patch: @${REINPLACE_CMD} -e 's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.in do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg ${PREFIX}/etc/${PORTNAME}.cfg.dist - @${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 - @${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.cfg.5 ${MAN5PREFIX}/man/man5 - @${CAT} ${PKGMESSAGE} + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg \ + ${PREFIX}/etc/${PORTNAME}.cfg.dist + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.cfg.5 ${MAN5PREFIX}/man/man5 post-install: + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} @if [ ! -f ${PREFIX}/etc/darkice.cfg ]; then \ ${CP} -p ${PREFIX}/etc/darkice.cfg.dist ${PREFIX}/etc/darkice.cfg ; \ fi Modified: head/audio/darkice/pkg-descr ============================================================================== --- head/audio/darkice/pkg-descr Tue Feb 26 14:37:32 2013 (r312980) +++ head/audio/darkice/pkg-descr Tue Feb 26 14:40:41 2013 (r312981) @@ -1,20 +1,20 @@ -DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It +DarkIce is an IceCast, IceCast2, and ShoutCast live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a stream server. DarkIce can encode in the following formats: - mp3 - using the lame library - mp2 - using the twolame library - Ogg Vorbis - AAC - using the faac library - AAC HEv2 - using libaacplus library + - mp3 (using the lame library) + - mp2 (using the twolame library) + - Ogg Vorbis + - AAC (using the faac library) + - AAC HEv2 (using libaacplus library) DarkIce can send the encoded stream to the following streaming servers: - ShoutCast - IceCast 1.3.x and 2.x - Darwin Streaming Server - archive the encoded audio in files + - ShoutCast + - IceCast 1.3.x and 2.x + - Darwin Streaming Server + - Archive the encoded audio in files WWW: http://darkice.org/