From owner-svn-ports-head@FreeBSD.ORG Thu Sep 4 22:39:41 2014 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 6110C8E4; Thu, 4 Sep 2014 22:39:41 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C7D81FDA; Thu, 4 Sep 2014 22:39:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s84Mdf1s096569; Thu, 4 Sep 2014 22:39:41 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s84Mde53096562; Thu, 4 Sep 2014 22:39:40 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201409042239.s84Mde53096562@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Thu, 4 Sep 2014 22:39:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367312 - head/multimedia/dvd-slideshow 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.18-1 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, 04 Sep 2014 22:39:41 -0000 Author: danfe Date: Thu Sep 4 22:39:40 2014 New Revision: 367312 URL: http://svnweb.freebsd.org/changeset/ports/367312 QAT: https://qat.redports.org/buildarchive/r367312/ Log: - Drop TOOLAME_DESC as it is in the standard pool now; use OPTIONS helpers - Stagify, cleanup Makefile, fix a typo in options handling (VORBISTOOLS -> VORBIS), and also formatting, misc. style bugs (including pkg-descr) There is a pending PR for this port (184132), but it was last updated on 2014-01-18 with no reply from maintainer since then, so I guess I am not stepping on anyone's toes. Modified: head/multimedia/dvd-slideshow/Makefile head/multimedia/dvd-slideshow/pkg-descr head/multimedia/dvd-slideshow/pkg-plist Modified: head/multimedia/dvd-slideshow/Makefile ============================================================================== --- head/multimedia/dvd-slideshow/Makefile Thu Sep 4 21:20:48 2014 (r367311) +++ head/multimedia/dvd-slideshow/Makefile Thu Sep 4 22:39:40 2014 (r367312) @@ -5,13 +5,13 @@ PORTNAME= dvd-slideshow PORTVERSION= 0.8.4 PORTREVISION= 1 CATEGORIES= multimedia -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-2:main \ +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-2 \ SF/${PORTNAME}/${PORTNAME}-themes/${THEMEVERSION}-1:themes -DISTFILES= ${PORTNAME}-${PORTVERSION}-2${EXTRACT_SUFX}:main +DISTFILES= ${PORTNAME}-${PORTVERSION}-2${EXTRACT_SUFX} THEMEVERSION= 0.8.4 MAINTAINER= oz@nixil.net -COMMENT= Script that creates a slideshow-style DVD with some simple menus +COMMENT= Script to create slideshow-style DVD with some simple menus RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ identify:${PORTSDIR}/graphics/ImageMagick \ @@ -30,27 +30,14 @@ NO_BUILD= yes DATADIR= ${PREFIX}/share/apps/${PORTNAME} OPTIONS_DEFINE= LAME THEMES TOOLAME VORBIS -THEMES_DESC= Optional themes -TOOLAME_DESC= Faster Optional mp3 audio support +THEMES_DESC= Install optional themes -MAN1= dvd-slideshow.1 \ - dvd-menu.1 \ - dir2slideshow.1 \ - gallery1-to-slideshow.1 \ - jigl2slideshow.1 +LAME_RUN_DEPENDS= lame:${PORTSDIR}/audio/lame +VORBIS_RUN_DEPENDS= oggdec:${PORTSDIR}/audio/vorbis-tools +TOOLAME_RUN_DEPENDS= toolame:${PORTSDIR}/audio/toolame -NO_STAGE= yes .include -.if ${PORT_OPTIONS:MLAME} -RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame -.endif -.if ${PORT_OPTIONS:MVORBISTOOLS} -RUN_DEPENDS+= oggdec:${PORTSDIR}/audio/vorbis-tools -.endif -.if ${PORT_OPTIONS:MTOOLAME} -RUN_DEPENDS+= toolame:${PORTSDIR}/audio/toolame -.endif .if ${PORT_OPTIONS:MTHEMES} DISTFILES+= ${PORTNAME}-themes-${THEMEVERSION}-1${EXTRACT_SUFX}:themes WRKSRC2= ${WRKDIR}/${PORTNAME}-themes-${THEMEVERSION}-1 @@ -60,38 +47,32 @@ PLIST_SUB+= NOTHEMES="@comment " .endif post-patch: -.for FILE in dvd-slideshow dvd-menu dir2slideshow gallery1-to-slideshow jigl2slideshow +.for f in dvd-slideshow dvd-menu dir2slideshow gallery1-to-slideshow jigl2slideshow @${REINPLACE_CMD} -e 's|!/bin/bash|!${PREFIX}/bin/bash|g ; \ - s|/usr/share/fonts/|${LOCALBASE}/lib/X11/fonts/|g ; \ - s|seq |seq2 |g' \ - ${WRKSRC}/${FILE} -.if ${PORT_OPTIONS:MTHEMES} + s|/usr/share/fonts/|${LOCALBASE}/lib/X11/fonts/|g ; \ + s|seq |seq2 |g' ${WRKSRC}/${f} +. if ${PORT_OPTIONS:MTHEMES} @${REINPLACE_CMD} -e 's|/opt/dvd-slideshow/themes|${DATADIR}/themes|g' \ - ${WRKSRC}/${FILE} -.endif + ${WRKSRC}/${f} +. endif .endfor do-install: - @${ECHO_MSG} "Installing scripts." -.for FILE in dvd-slideshow dvd-menu dir2slideshow gallery1-to-slideshow jigl2slideshow - ${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${PREFIX}/bin +.for s in dvd-slideshow dvd-menu dir2slideshow gallery1-to-slideshow jigl2slideshow + ${INSTALL_SCRIPT} ${WRKSRC}/${s} ${STAGEDIR}${PREFIX}/bin .endfor - @${ECHO_MSG} "Installing man files." -.for FILE in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/man/${FILE} ${PREFIX}/man/man1 +.for m in dvd-slideshow dvd-menu dir2slideshow gallery1-to-slideshow jigl2slideshow + ${INSTALL_MAN} ${WRKSRC}/man/${m}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .endfor -.if ${PORT_OPTIONS:MDOCS} - @${ECHO_MSG} "Installing doc files." - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/dvd-slideshowrc ${DOCSDIR} -.for FILE in changelog.html gallery1-to-slideshow.html dir2slideshow.html jigl2slideshow.html dvd-menu.html dvd-slideshow.html - ${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/dvd-slideshowrc ${STAGEDIR}${DOCSDIR} +.for d in changelog gallery1-to-slideshow dir2slideshow jigl2slideshow dvd-menu dvd-slideshow + ${INSTALL_DATA} ${WRKSRC}/doc/${d}.html ${STAGEDIR}${DOCSDIR} .endfor -.endif .if ${PORT_OPTIONS:MTHEMES} - @${ECHO_MSG} "Installing theme files." - ${MKDIR} ${DATADIR}/themes - cd ${WRKSRC2} && ${FIND} * | ${CPIO} -dpmu -R ${BINOWN}:${BINGRP} --quiet ${DATADIR}/themes + @${MKDIR} ${STAGEDIR}${DATADIR}/themes + cd ${WRKSRC2} && ${FIND} . | ${CPIO} -dpmu -R ${BINOWN}:${BINGRP} \ + --quiet ${STAGEDIR}${DATADIR}/themes .endif .include Modified: head/multimedia/dvd-slideshow/pkg-descr ============================================================================== --- head/multimedia/dvd-slideshow/pkg-descr Thu Sep 4 21:20:48 2014 (r367311) +++ head/multimedia/dvd-slideshow/pkg-descr Thu Sep 4 22:39:40 2014 (r367312) @@ -1,3 +1,3 @@ -Script that creates a slideshow-style dvd with some simple menus +Script that creates a slideshow-style DVD with some simple menus. WWW: http://dvd-slideshow.sourceforge.net/ Modified: head/multimedia/dvd-slideshow/pkg-plist ============================================================================== --- head/multimedia/dvd-slideshow/pkg-plist Thu Sep 4 21:20:48 2014 (r367311) +++ head/multimedia/dvd-slideshow/pkg-plist Thu Sep 4 22:39:40 2014 (r367312) @@ -3,6 +3,11 @@ bin/dvd-menu bin/dir2slideshow bin/gallery1-to-slideshow bin/jigl2slideshow +man/man1/dir2slideshow.1.gz +man/man1/dvd-menu.1.gz +man/man1/dvd-slideshow.1.gz +man/man1/gallery1-to-slideshow.1.gz +man/man1/jigl2slideshow.1.gz %%PORTDOCS%%%%DOCSDIR%%/changelog.html %%PORTDOCS%%%%DOCSDIR%%/gallery1-to-slideshow.html %%PORTDOCS%%%%DOCSDIR%%/dir2slideshow.html