From owner-svn-ports-head@FreeBSD.ORG Mon Sep 2 17:19:00 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 21A44C38; Mon, 2 Sep 2013 17:19:00 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0E125236E; Mon, 2 Sep 2013 17:19:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r82HIxo4005650; Mon, 2 Sep 2013 17:18:59 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r82HIxDt005647; Mon, 2 Sep 2013 17:18:59 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201309021718.r82HIxDt005647@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Mon, 2 Sep 2013 17:18:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326041 - in head/audio/icecast2: . files 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: Mon, 02 Sep 2013 17:19:00 -0000 Author: sunpoet Date: Mon Sep 2 17:18:59 2013 New Revision: 326041 URL: http://svnweb.freebsd.org/changeset/ports/326041 Log: - Add my LOCAL to MASTER_SITES - Convert to new LIB_DEPENDS format - Convert to new options framework - Pet portlint: move LICENSE upward - Use DATADIR - Use PORTDOCS macro - Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk - Simplify regex - Cosmetic change Added: - copied unchanged from r325327, head/audio/icecast2/files/patch-conf::Makefile.in Directory Properties: head/audio/icecast2/files/patch-conf-Makefile.in (props changed) Deleted: head/audio/icecast2/files/patch-conf::Makefile.in Modified: head/audio/icecast2/Makefile head/audio/icecast2/pkg-plist (contents, props changed) Modified: head/audio/icecast2/Makefile ============================================================================== --- head/audio/icecast2/Makefile Mon Sep 2 17:17:28 2013 (r326040) +++ head/audio/icecast2/Makefile Mon Sep 2 17:18:59 2013 (r326041) @@ -7,41 +7,44 @@ PORTREVISION= 10 PORTEPOCH= 1 CATEGORIES= audio net ipv6 MASTER_SITES= http://downloads.xiph.org/releases/icecast/ \ - http://svn.xiph.org/releases/icecast/ + http://svn.xiph.org/releases/icecast/ \ + LOCAL/sunpoet DISTNAME= icecast-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Streaming mp3/ogg-vorbis audio server -LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \ - shout.5:${PORTSDIR}/audio/libshout2 \ - speex.1:${PORTSDIR}/audio/speex \ - theora.0:${PORTSDIR}/multimedia/libtheora \ - vorbis.4:${PORTSDIR}/audio/libvorbis \ - xslt.2:${PORTSDIR}/textproc/libxslt - LICENSE= GPLv2 -GNU_CONFIGURE= yes -USE_RC_SUBR= icecast2 -SUB_FILES+= pkg-message -CONFIGURE_ENV= OGG_PREFIX=${LOCALBASE} +LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ + libshout.so:${PORTSDIR}/audio/libshout2 \ + libspeex.so:${PORTSDIR}/audio/speex \ + libtheora.so:${PORTSDIR}/multimedia/libtheora \ + libvorbis.so:${PORTSDIR}/audio/libvorbis \ + libxslt.so:${PORTSDIR}/textproc/libxslt + +OPTIONS_DEFINE= DOCS + CFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ENV= OGG_PREFIX=${LOCALBASE} +GNU_CONFIGURE= yes +USE_RC_SUBR= ${PORTNAME} USES= gmake +WRKSRC= ${WRKDIR}/icecast-${PORTVERSION} +DATADIR= ${PREFIX}/share/icecast DOCSDIR= ${PREFIX}/share/doc/icecast -WRKSRC= ${WRKDIR}/icecast-${PORTVERSION} +PORTDOCS= * +SUB_FILES= pkg-message -.include +.include -.if defined(NOPORTDOCS) post-patch: - ${REINPLACE_CMD} \ - -e 's|SUBDIRS = src conf debian doc web admin win32 examples|SUBDIRS = src conf debian web admin win32 examples # doc|' \ - -e 's| install-exec-am install-data-am| install-exec-am|' ${WRKSRC}/Makefile.in +.if !${PORT_OPTIONS:MDOCS} + ${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||; s| install-exec-am install-data-am| install-exec-am|' ${WRKSRC}/Makefile.in .endif post-install: @${CAT} ${PKGMESSAGE} -.include +.include Copied: head/audio/icecast2/files/patch-conf-Makefile.in (from r325327, head/audio/icecast2/files/patch-conf::Makefile.in) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/icecast2/files/patch-conf-Makefile.in Mon Sep 2 17:18:59 2013 (r326041, copy of r325327, head/audio/icecast2/files/patch-conf::Makefile.in) @@ -0,0 +1,12 @@ +--- conf/Makefile.in.orig 2008-05-30 08:58:57.000000000 +0900 ++++ conf/Makefile.in 2010-05-14 17:36:16.000000000 +0900 +@@ -407,8 +407,7 @@ + + install-data-hook: + $(mkinstalldirs) $(DESTDIR)$(sysconfdir) +- test -f $(DESTDIR)$(sysconfdir)/icecast.xml || \ +- $(INSTALL_DATA) icecast.xml.dist $(DESTDIR)$(sysconfdir)/icecast.xml ++ $(INSTALL_DATA) icecast.xml.dist $(DESTDIR)$(sysconfdir)/icecast.xml.sample + + icecast.xml.dist: $(srcdir)/icecast.xml.in + $(edit) $(srcdir)/icecast.xml.in > icecast.xml.dist Modified: head/audio/icecast2/pkg-plist ============================================================================== --- head/audio/icecast2/pkg-plist Mon Sep 2 17:17:28 2013 (r326040) +++ head/audio/icecast2/pkg-plist Mon Sep 2 17:18:59 2013 (r326041) @@ -1,55 +1,30 @@ bin/icecast etc/icecast.xml.sample -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/icecast2_admin.html -%%PORTDOCS%%%%DOCSDIR%%/icecast2_basicsetup.html -%%PORTDOCS%%%%DOCSDIR%%/icecast2_changes.html -%%PORTDOCS%%%%DOCSDIR%%/icecast2_config_file.html -%%PORTDOCS%%%%DOCSDIR%%/icecast2_faq.html -%%PORTDOCS%%%%DOCSDIR%%/icecast2_glossary.html -%%PORTDOCS%%%%DOCSDIR%%/icecast2_introduction.html -%%PORTDOCS%%%%DOCSDIR%%/icecast2_listenerauth.html -%%PORTDOCS%%%%DOCSDIR%%/icecast2_relay.html -%%PORTDOCS%%%%DOCSDIR%%/icecast2_stats.html -%%PORTDOCS%%%%DOCSDIR%%/icecast2_win32.html -%%PORTDOCS%%%%DOCSDIR%%/icecast2_yp.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/listener_auth1.jpg -%%PORTDOCS%%%%DOCSDIR%%/listener_auth2.jpg -%%PORTDOCS%%%%DOCSDIR%%/listener_auth3.jpg -%%PORTDOCS%%%%DOCSDIR%%/masterslave.png -%%PORTDOCS%%%%DOCSDIR%%/relay.png -share/icecast/admin/listclients.xsl -share/icecast/admin/listmounts.xsl -share/icecast/admin/manageauth.xsl -share/icecast/admin/moveclients.xsl -share/icecast/admin/response.xsl -share/icecast/admin/stats.xsl -share/icecast/admin/updatemetadata.xsl -share/icecast/doc/icecast.xml.dist -share/icecast/doc/icecast_minimal.xml.dist -share/icecast/doc/icecast_shoutcast_compat.xml.dist -share/icecast/doc/icecast_urlauth.xml.dist -share/icecast/web/auth.xsl -share/icecast/web/corner_bottomleft.jpg -share/icecast/web/corner_bottomright.jpg -share/icecast/web/corner_topleft.jpg -share/icecast/web/corner_topright.jpg -share/icecast/web/icecast.png -share/icecast/web/key.gif -share/icecast/web/key.png -share/icecast/web/server_version.xsl -share/icecast/web/status.xsl -share/icecast/web/status2.xsl -share/icecast/web/style.css -share/icecast/web/tunein.png -@dirrm share/icecast/web -@dirrm share/icecast/doc -@dirrm share/icecast/admin -@dirrm share/icecast -%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%DATADIR%%/admin/listclients.xsl +%%DATADIR%%/admin/listmounts.xsl +%%DATADIR%%/admin/manageauth.xsl +%%DATADIR%%/admin/moveclients.xsl +%%DATADIR%%/admin/response.xsl +%%DATADIR%%/admin/stats.xsl +%%DATADIR%%/admin/updatemetadata.xsl +%%DATADIR%%/doc/icecast.xml.dist +%%DATADIR%%/doc/icecast_minimal.xml.dist +%%DATADIR%%/doc/icecast_shoutcast_compat.xml.dist +%%DATADIR%%/doc/icecast_urlauth.xml.dist +%%DATADIR%%/web/auth.xsl +%%DATADIR%%/web/corner_bottomleft.jpg +%%DATADIR%%/web/corner_bottomright.jpg +%%DATADIR%%/web/corner_topleft.jpg +%%DATADIR%%/web/corner_topright.jpg +%%DATADIR%%/web/icecast.png +%%DATADIR%%/web/key.gif +%%DATADIR%%/web/key.png +%%DATADIR%%/web/server_version.xsl +%%DATADIR%%/web/status.xsl +%%DATADIR%%/web/status2.xsl +%%DATADIR%%/web/style.css +%%DATADIR%%/web/tunein.png +@dirrm %%DATADIR%%/web +@dirrm %%DATADIR%%/doc +@dirrm %%DATADIR%%/admin +@dirrm %%DATADIR%%