From owner-svn-ports-head@freebsd.org Fri Dec 1 11:23:44 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1DDDFDFCD0F; Fri, 1 Dec 2017 11:23:44 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC7767D4E1; Fri, 1 Dec 2017 11:23:43 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB1BNhxR000678; Fri, 1 Dec 2017 11:23:43 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB1BNhjp000677; Fri, 1 Dec 2017 11:23:43 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201712011123.vB1BNhjp000677@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 1 Dec 2017 11:23:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455273 - head/audio/pacpl X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/audio/pacpl X-SVN-Commit-Revision: 455273 X-SVN-Commit-Repository: ports 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.25 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: Fri, 01 Dec 2017 11:23:44 -0000 Author: amdmi3 Date: Fri Dec 1 11:23:42 2017 New Revision: 455273 URL: https://svnweb.freebsd.org/changeset/ports/455273 Log: - Add LICENSE_FILE - Simplify installation - Cosmetic fixes Modified: head/audio/pacpl/Makefile Modified: head/audio/pacpl/Makefile ============================================================================== --- head/audio/pacpl/Makefile Fri Dec 1 11:19:28 2017 (r455272) +++ head/audio/pacpl/Makefile Fri Dec 1 11:23:42 2017 (r455273) @@ -11,6 +11,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Perl Audio Converter LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= p5-Audio-FLAC-Header>0:audio/p5-Audio-FLAC-Header \ p5-Audio-Scan>0:audio/p5-Audio-Scan \ @@ -53,7 +54,7 @@ SHORTEN_RUN_DEPENDS= shorten:audio/shorten SOX_DESC= Audio conversion support via SoX SOX_RUN_DEPENDS= sox:audio/sox SPEEX_RUN_DEPENDS= speexenc:audio/speex -TOOLAME_RUN_DEPENDS+= toolame:audio/toolame +TOOLAME_RUN_DEPENDS= toolame:audio/toolame TTA_RUN_DEPENDS= ttaenc:audio/tta VORBIS_RUN_DEPENDS= vorbiscomment:audio/vorbis-tools WAVPACK_RUN_DEPENDS= wavpack:audio/wavpack @@ -74,35 +75,30 @@ do-build: @(cd ${WRKSRC} && pod2man pacpl pacpl.1) do-install: - (cd ${WRKSRC} && ${INSTALL_SCRIPT} pacpl \ - ${STAGEDIR}${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_MAN} pacpl.1 \ - ${STAGEDIR}${MANPREFIX}/man/man1) + ${INSTALL_SCRIPT} ${WRKSRC}/pacpl ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/pacpl.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${ETCDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} pacpl.png \ - ${STAGEDIR}${ETCDIR}) + ${INSTALL_DATA} ${WRKSRC}/pacpl.png ${STAGEDIR}${ETCDIR} .for i in codecs.conf pacpl.conf - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ - ${STAGEDIR}${ETCDIR}/${i}.sample) + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${ETCDIR}/${i}.sample .endfor @${MKDIR} ${STAGEDIR}${ETCDIR}/modules - (cd ${WRKSRC}/extra && ${INSTALL_DATA} sample.m \ - ${STAGEDIR}${ETCDIR}/modules) + ${INSTALL_DATA} ${WRKSRC}/extra/sample.m ${STAGEDIR}${ETCDIR}/modules @${MKDIR} ${STAGEDIR}${DATADIR}/locale - (cd ${WRKSRC}/po && ${INSTALL_DATA} *.po \ - ${STAGEDIR}${DATADIR}/locale) - ${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog README \ - ${STAGEDIR}${DOCSDIR}) - (cd ${WRKSRC}/extra && ${INSTALL_DATA} README.module \ - ${STAGEDIR}${DOCSDIR}) - (cd ${WRKSRC}/plugins/gnome/nautilus && ${INSTALL_SCRIPT} PACPL-Convert \ - ${STAGEDIR}${PREFIX}/libexec) + ${INSTALL_DATA} ${WRKSRC}/po/*.po ${STAGEDIR}${DATADIR}/locale + ${INSTALL_SCRIPT} ${WRKSRC}/plugins/gnome/nautilus/PACPL-Convert \ + ${STAGEDIR}${PREFIX}/libexec + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README \ + ${WRKSRC}/extra/README.module ${STAGEDIR}${DOCSDIR} + do-install-KDE4-on: - (cd ${WRKSRC}/plugins/kde && ${INSTALL_SCRIPT} PACPL-Konvert \ - ${STAGEDIR}${PREFIX}/libexec) + ${INSTALL_SCRIPT} ${WRKSRC}/plugins/kde/PACPL-Konvert \ + ${STAGEDIR}${PREFIX}/libexec @${MKDIR} ${STAGEDIR}${PREFIX}/share/kde4/services/ServiceMenus - (cd ${WRKSRC}/plugins/kde && ${INSTALL_DATA} pacpl.desktop \ - ${STAGEDIR}${PREFIX}/share/kde4/services/ServiceMenus) + ${INSTALL_DATA} ${WRKSRC}/plugins/kde/pacpl.desktop \ + ${STAGEDIR}${PREFIX}/share/kde4/services/ServiceMenus .include