From owner-svn-ports-head@FreeBSD.ORG Sun Nov 24 18:36:37 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 ESMTPS id 6A605162; Sun, 24 Nov 2013 18:36:37 +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 3FAE72E76; Sun, 24 Nov 2013 18:36:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAOIabGo022727; Sun, 24 Nov 2013 18:36:37 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAOIabAm022725; Sun, 24 Nov 2013 18:36:37 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201311241836.rAOIabAm022725@svn.freebsd.org> From: Baptiste Daroussin Date: Sun, 24 Nov 2013 18:36:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334755 - head/audio/audiotag 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.16 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: Sun, 24 Nov 2013 18:36:37 -0000 Author: bapt Date: Sun Nov 24 18:36:36 2013 New Revision: 334755 URL: http://svnweb.freebsd.org/changeset/ports/334755 Log: Support staging Use optiosn helpers Modified: head/audio/audiotag/Makefile Modified: head/audio/audiotag/Makefile ============================================================================== --- head/audio/audiotag/Makefile Sun Nov 24 18:32:02 2013 (r334754) +++ head/audio/audiotag/Makefile Sun Nov 24 18:36:36 2013 (r334755) @@ -7,7 +7,7 @@ CATEGORIES= audio multimedia MASTER_SITES= GHC MAINTAINER= ports@FreeBSD.org -COMMENT= A command-line tool for mass tagging/renaming of audio files +COMMENT= Command-line tool for mass tagging/renaming of audio files LICENSE= GPLv2 @@ -16,7 +16,6 @@ OPTIONS_DEFAULT= VORBIS ID3 MP4 FLAC NO_BUILD= yes -NO_STAGE= yes USES= shebangfix perl5 USE_BZIP2= yes USE_PERL5= run @@ -26,32 +25,21 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER SHEBANG_FILES= audiotag -.include - -.if ${PORT_OPTIONS:MVORBIS} -RUN_DEPENDS+= vorbiscomment:${PORTSDIR}/audio/vorbis-tools -.endif -.if ${PORT_OPTIONS:MFLAC} -RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac -.endif -.if ${PORT_OPTIONS:MID3} -RUN_DEPENDS+= id3tag:${PORTSDIR}/audio/id3lib -.endif -.if ${PORT_OPTIONS:MMP4} -RUN_DEPENDS+= AtomicParsley:${PORTSDIR}/multimedia/atomicparsley -.endif +VORBIS_RUN_DEPENDS= vorbiscomment:${PORTSDIR}/audio/vorbis-tools +FLAC_RUN_DEPENDS= flac:${PORTSDIR}/audio/flac +ID3_RUN_DEPENDS= id3tag:${PORTSDIR}/audio/id3lib +MP4_RUN_DEPENDS= AtomicParsley:${PORTSDIR}/multimedia/atomicparsley PORTDOCS= COPYING ChangeLog README PLIST_FILES= bin/audiotag do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/audiotag ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/audiotag ${STAGEDIR}${PREFIX}/bin post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif