From owner-svn-ports-head@FreeBSD.ORG Thu Dec 26 18:17:44 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ACB14C9C; Thu, 26 Dec 2013 18:17:44 +0000 (UTC) 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 991681653; Thu, 26 Dec 2013 18:17:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBQIHiCe011620; Thu, 26 Dec 2013 18:17:44 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBQIHiV0011619; Thu, 26 Dec 2013 18:17:44 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201312261817.rBQIHiV0011619@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 26 Dec 2013 18:17:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337591 - head/audio/crip 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.17 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: Thu, 26 Dec 2013 18:17:44 -0000 Author: bapt Date: Thu Dec 26 18:17:44 2013 New Revision: 337591 URL: http://svnweb.freebsd.org/changeset/ports/337591 Log: Support stage Optionify Fix shebangs Modified: head/audio/crip/Makefile Modified: head/audio/crip/Makefile ============================================================================== --- head/audio/crip/Makefile Thu Dec 26 18:17:07 2013 (r337590) +++ head/audio/crip/Makefile Thu Dec 26 18:17:44 2013 (r337591) @@ -10,35 +10,26 @@ MASTER_SITES= http://bach.dynet.com/crip MAINTAINER= philip@FreeBSD.org COMMENT= Terminal-based ripper/encoder/tagger +OPTIONS_DEFINE= SOX DOCS +SOX_DESC= SoX audio support + RUN_DEPENDS= p5-CDDB_get>=0:${PORTSDIR}/audio/p5-CDDB_get \ cdparanoia:${PORTSDIR}/audio/cdparanoia \ oggenc:${PORTSDIR}/audio/vorbis-tools \ vorbisgain:${PORTSDIR}/audio/vorbisgain -.if defined(WITH_SOX) -RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox -.endif - -.if !defined(NOPORTDOCS) +SOX_RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox PORTDOCS= Changelog README criprc_example -.endif +USES= shebangfix perl5 +SHEBANG_FILES= crip editcomment editfilenames NO_BUILD= yes -USES= perl5 -NO_STAGE= yes - -pre-fetch: -.if !defined (WITH_SOX) - @${ECHO_MSG} "Define WITH_SOX to enable normalization with sox." -.endif do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/crip ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/editcomment ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/editfilenames ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/crip ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/editcomment ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/editfilenames ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include