blob: 6d9071fd2d8ea63728e594933aa4c9c5d843581b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# $NetBSD: Makefile,v 1.12 2010/01/18 09:59:16 wiz Exp $
# FreeBSD Id: ports/multimedia/dvd-slideshow/Makefile,v 1.12 2007/09/23 04:42:06 edwin Exp
DISTNAME= dvd-slideshow-0.7.5
PKGREVISION= 9
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dvd-slideshow/}
MAINTAINER= darcy@NetBSD.org
HOMEPAGE= http://dvd-slideshow.sourceforge.net/
COMMENT= Script that creates a slideshow-style DVD with some simple menus
PKG_DESTDIR_SUPPORT= user-destdir
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
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
USE_X11BASE= yes
USE_TOOLS+= bash:run
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
SUBST_CLASSES+= fonts
SUBST_STAGE.fonts= post-configure
SUBST_FILES.fonts= dvd-menu dvd-slideshow
SUBST_SED.fonts= -e 's,/usr/share/fonts/,${X11BASE}/lib/X11/fonts/,g'
SUBST_MESSAGE.fonts= Fixing hardcoded fonts paths.
SUBST_CLASSES+= pipeline
SUBST_STAGE.pipeline= post-configure
SUBST_FILES.pipeline= dvd-slideshow
SUBST_SED.pipeline= -e 's/print0/printx/g;s/sort -z/sort/g;s/xargs -0/xargs/g'
SUBST_MESSAGE.pipeline= Fixing Linux centric pipeline.
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
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/dvd-slideshow
do-install:
.for file in ${SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/bin
.endfor
.for file in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/man/${file} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.endfor
${INSTALL_DATA} ${WRKSRC}/dvd-slideshowrc ${DESTDIR}${PREFIX}/share/doc/dvd-slideshow
.for file in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DESTDIR}${PREFIX}/share/doc/dvd-slideshow
.endfor
.include "../../multimedia/mjpegtools/buildlink3.mk"
.include "../../multimedia/ffmpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|