- Add seq2 to the dependency list.

- Add a regex replace for seq -> seq2
- Consolidat the REINPLACE_CMD's
- Remove the do-build workaround for the NO_BUILD/OPTIONS bug
  that was fixed a while back.

PR:		ports/94706
Submitted by:	maintainer
This commit is contained in:
Sergey Matveychuk 2006-03-20 15:24:56 +00:00
parent 48b19385b0
commit 03575ddef2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157744

View file

@ -7,7 +7,7 @@
PORTNAME= dvd-slideshow
PORTVERSION= 0.7.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -22,6 +22,7 @@ RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
sox:${PORTSDIR}/audio/sox \
dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
mkisofs:${PORTSDIR}/sysutils/cdrtools \
seq2:${PORTSDIR}/misc/seq2 \
${X11BASE}/lib/X11/fonts/urwfonts-ttf/README:${PORTSDIR}/x11-fonts/urwfonts-ttf
NO_BUILD= yes
@ -75,14 +76,11 @@ RUN_DEPENDS+= oggdec:${PORTSDIR}/audio/vorbis-tools
post-patch:
.for FILE in dvd-slideshow dvd-menu dir2slideshow gallery2slideshow jigl2slideshow
@${REINPLACE_CMD} -e 's|!/bin/bash|!${PREFIX}/bin/bash|g' ${WRKSRC}/${FILE}
@${REINPLACE_CMD} -e 's|!/bin/bash|!${PREFIX}/bin/bash|g ; \
s|/usr/share/fonts/|${X11BASE}/lib/X11/fonts/|g ; \
s|seq |seq2 |g' \
${WRKSRC}/${FILE}
.endfor
.for FILE in dvd-menu dvd-slideshow
@${REINPLACE_CMD} -e 's|/usr/share/fonts/|${X11BASE}/lib/X11/fonts/|' ${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 dir2slideshow gallery2slideshow jigl2slideshow