diff options
Diffstat (limited to 'multimedia/dvd-slideshow/Makefile')
-rw-r--r-- | multimedia/dvd-slideshow/Makefile | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/multimedia/dvd-slideshow/Makefile b/multimedia/dvd-slideshow/Makefile index 06f8cf6b18c8..228904225013 100644 --- a/multimedia/dvd-slideshow/Makefile +++ b/multimedia/dvd-slideshow/Makefile @@ -6,8 +6,7 @@ # PORTNAME= dvd-slideshow -PORTVERSION= 0.6.0 -PORTREVISION= 1 +PORTVERSION= 0.7.1 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -18,9 +17,10 @@ COMMENT= Script that creates a slideshow-style DVD with some simple menus RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ identify:${PORTSDIR}/graphics/ImageMagick \ + mpeg2enc:${PORTSDIR}/multimedia/mjpegtools \ + ffmpeg:${PORTSDIR}/multimedia/ffmpeg \ sox:${PORTSDIR}/audio/sox \ dvdauthor:${PORTSDIR}/multimedia/dvdauthor \ - ppmtoyuv:${PORTSDIR}/graphics/netpbm \ mkisofs:${PORTSDIR}/sysutils/cdrtools NO_BUILD= yes @@ -32,21 +32,22 @@ OPTIONS= DVDRWTOOLS "Needed to record/burn DVD" off \ PLIST_FILES= bin/dvd-slideshow \ bin/dvd-menu \ + bin/dir2slideshow \ bin/gallery2slideshow \ bin/jigl2slideshow MAN1= dvd-slideshow.1 \ dvd-menu.1 \ + dir2slideshow.1 \ gallery2slideshow.1 \ jigl2slideshow.1 .if !defined(NOPORTDOCS) -DOC_FILES= README.html examples.html changelog.html \ - gallery2slideshow.html dir2slideshow.html \ - jigl2slideshow.html dvd-encode.html \ - test_with_background.html dvd-menu.html \ - test_with_background.txt dvd-slideshow.html +DOC_FILES= README.html changelog.html gallery2slideshow.html \ + dir2slideshow.html jigl2slideshow.html \ + dvd-menu.html dvd-slideshow.html PLIST_FILES+= ${DOC_FILES:S,^,%%DOCSDIR%%/,} +PLIST_FILES+= %%DOCSDIR%%/dvd-slideshowrc PLIST_DIRS+= %%DOCSDIR%% .endif @@ -73,19 +74,25 @@ RUN_DEPENDS+= oggdec:${PORTSDIR}/audio/vorbis-tools .endif pre-patch: -.for FILE in dvd-slideshow dvd-menu gallery2slideshow jigl2slideshow +.for FILE in dvd-slideshow dvd-menu dir2slideshow gallery2slideshow jigl2slideshow @${REINPLACE_CMD} -e 's|!/bin/bash|!${PREFIX}/bin/bash|g' ${WRKSRC}/${FILE} .endfor +do-build: +# nada. NO_BUILD does not work if no OPTION is selected. see PR 78436 + do-install: -.for FILE in dvd-slideshow dvd-menu gallery2slideshow jigl2slideshow +.for FILE in dvd-slideshow dvd-menu dir2slideshow gallery2slideshow jigl2slideshow ${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${PREFIX}/bin .endfor + @${ECHO_MSG} "Installing man files." .for FILE in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/man/${FILE} ${PREFIX}/man/man1 + @${INSTALL_MAN} ${WRKSRC}/man/${FILE} ${PREFIX}/man/man1 .endfor .ifndef(NOPORTDOCS) + @${ECHO_MSG} "Installing doc files." @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/dvd-slideshowrc ${DOCSDIR} .for FILE in ${DOC_FILES} @${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR} .endfor |