2020-03-20 12:57:53 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2020/03/20 11:58:03 nia Exp $
|
2007-12-28 21:30:46 +01:00
|
|
|
|
|
|
|
DISTNAME= dvd-slideshow-0.7.5
|
2014-08-12 20:22:06 +02:00
|
|
|
PKGREVISION= 12
|
2007-12-28 21:30:46 +01:00
|
|
|
CATEGORIES= multimedia
|
2007-12-29 16:47:27 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dvd-slideshow/}
|
2007-12-28 21:30:46 +01:00
|
|
|
|
|
|
|
MAINTAINER= darcy@NetBSD.org
|
2020-03-20 12:57:53 +01:00
|
|
|
HOMEPAGE= http://dvd-slideshow.sourceforge.net/
|
2007-12-28 21:30:46 +01:00
|
|
|
COMMENT= Script that creates a slideshow-style DVD with some simple menus
|
|
|
|
|
2007-12-29 16:47:27 +01:00
|
|
|
DEPENDS+= cdrtools-[0-9]*:../../sysutils/cdrtools
|
|
|
|
DEPENDS+= lame-[0-9]*:../../audio/lame
|
|
|
|
DEPENDS+= vorbis-tools-[0-9]*:../../audio/vorbis-tools
|
|
|
|
DEPENDS+= sox-[0-9]*:../../audio/sox
|
|
|
|
DEPENDS+= dvdauthor-[0-9]*:../../multimedia/dvdauthor
|
|
|
|
DEPENDS+= dvd+rw-tools-[0-9]*:../../sysutils/dvd+rw-tools
|
2009-08-11 14:46:41 +02:00
|
|
|
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
|
2012-01-20 14:55:27 +01:00
|
|
|
# uses programs only (mplex, ffmpeg)
|
|
|
|
DEPENDS+= mjpegtools-[0-9]*:../../multimedia/mjpegtools
|
2014-08-12 20:22:06 +02:00
|
|
|
DEPENDS+= ffmpeg1-[0-9]*:../../multimedia/ffmpeg1
|
2007-12-29 16:47:27 +01:00
|
|
|
|
|
|
|
USE_TOOLS+= bash:run
|
2007-12-28 21:30:46 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
SCRIPTS= dvd-slideshow dvd-menu dir2slideshow gallery1-to-slideshow \
|
|
|
|
jigl2slideshow
|
|
|
|
DOC_FILES= changelog.html gallery1-to-slideshow.html \
|
|
|
|
dir2slideshow.html jigl2slideshow.html \
|
|
|
|
dvd-menu.html dvd-slideshow.html
|
|
|
|
MAN1= dvd-slideshow.1 dvd-menu.1 dir2slideshow.1 gallery1-to-slideshow.1 \
|
|
|
|
jigl2slideshow.1
|
|
|
|
|
|
|
|
REPLACE_BASH = dir2slideshow dvd-burn dvd-encode dvd-iso dvd-menu \
|
|
|
|
dvd-slideshow dvd-slideshow.orig gallery1-to-slideshow \
|
|
|
|
install.sh jigl2slideshow
|
|
|
|
|
2019-11-03 18:11:59 +01:00
|
|
|
SUBST_CLASSES+= fonts
|
|
|
|
SUBST_STAGE.fonts= post-configure
|
|
|
|
SUBST_FILES.fonts= dvd-menu dvd-slideshow
|
|
|
|
SUBST_SED.fonts= -e 's,/usr/share/fonts/,${PREFIX}/share/fonts/,g'
|
2008-02-02 22:01:24 +01:00
|
|
|
SUBST_MESSAGE.fonts= Fixing hardcoded fonts paths.
|
2007-12-28 21:30:46 +01:00
|
|
|
|
2019-11-03 18:11:59 +01:00
|
|
|
SUBST_CLASSES+= pipeline
|
2007-12-29 23:37:54 +01:00
|
|
|
SUBST_STAGE.pipeline= post-configure
|
|
|
|
SUBST_FILES.pipeline= dvd-slideshow
|
2019-11-03 18:11:59 +01:00
|
|
|
SUBST_SED.pipeline= -e 's/print0/printx/g;s/sort -z/sort/g;s/xargs -0/xargs/g'
|
2007-12-29 23:37:54 +01:00
|
|
|
SUBST_MESSAGE.pipeline= Fixing Linux centric pipeline.
|
2007-12-29 16:47:27 +01:00
|
|
|
|
2008-02-02 22:01:24 +01:00
|
|
|
SUBST_CLASSES+= lsof
|
|
|
|
SUBST_STAGE.lsof= post-configure
|
|
|
|
SUBST_FILES.lsof= dvd-slideshow
|
|
|
|
SUBST_SED.lsof= -e 's+/usr/sbin/lsof+${DESTDIR}${PREFIX}/sbin/lsof+g'
|
|
|
|
SUBST_MESSAGE.lsof= Fixing lsof command line
|
|
|
|
|
2007-12-30 15:17:37 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/dvd-slideshow
|
|
|
|
|
2007-12-28 21:30:46 +01:00
|
|
|
do-install:
|
|
|
|
.for file in ${SCRIPTS}
|
2007-12-29 16:47:27 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/bin
|
2007-12-28 21:30:46 +01:00
|
|
|
.endfor
|
|
|
|
.for file in ${MAN1}
|
2007-12-29 16:47:27 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/${file} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2007-12-28 21:30:46 +01:00
|
|
|
.endfor
|
2007-12-30 15:17:37 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dvd-slideshowrc ${DESTDIR}${PREFIX}/share/doc/dvd-slideshow
|
2007-12-28 21:30:46 +01:00
|
|
|
.for file in ${DOC_FILES}
|
2007-12-30 15:17:37 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DESTDIR}${PREFIX}/share/doc/dvd-slideshow
|
2007-12-28 21:30:46 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|