diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-08 20:31:32 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-08 20:31:32 +0800 |
commit | 6c28df0ae29cb9131f0821bf794b749c211e58af (patch) | |
tree | 1cc988eef1525e98bdecee3b7ea79fb25f1b44e8 /multimedia/lxdvdrip | |
parent | 43690535b28e5a58cdd23e65d307b5e395d77f6c (diff) | |
download | freebsd-ports-gnome-6c28df0ae29cb9131f0821bf794b749c211e58af.tar.gz freebsd-ports-gnome-6c28df0ae29cb9131f0821bf794b749c211e58af.tar.zst freebsd-ports-gnome-6c28df0ae29cb9131f0821bf794b749c211e58af.zip |
Update port: multimedia/lxdvdrip to 1.51
- Update to 1.51 [*]
- Add multimedia/mplayer as dependency [*]
- Install lxdvdrip.wav under DATADIR [*]
- Change playwave reference in the source code to wavplay [*]
- Stop building of vamps in the source code and add a dependency
to multimedia/vamps
- Pass maintainership to ports@FreeBSD.org
[*]Mario Sergio Fujikawa Ferreira <lioux _at_ FreeBSD _dot_ org>
PR: ports/91486
Submitted by: Serge Gagnon <serge.gagnon@b2b2c.ca>
Diffstat (limited to 'multimedia/lxdvdrip')
-rw-r--r-- | multimedia/lxdvdrip/Makefile | 39 | ||||
-rw-r--r-- | multimedia/lxdvdrip/distinfo | 5 | ||||
-rw-r--r-- | multimedia/lxdvdrip/pkg-plist | 1 |
3 files changed, 20 insertions, 25 deletions
diff --git a/multimedia/lxdvdrip/Makefile b/multimedia/lxdvdrip/Makefile index 0038214b80a1..7e72edb26231 100644 --- a/multimedia/lxdvdrip/Makefile +++ b/multimedia/lxdvdrip/Makefile @@ -6,30 +6,32 @@ # PORTNAME= lxdvdrip -PORTVERSION= 1.47 -PORTREVISION= 5 +PORTVERSION= 1.51 CATEGORIES= multimedia MASTER_SITES= http://download.berlios.de/lxdvdrip/ \ ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/ EXTRACT_SUFX= .tgz -MAINTAINER= serge.gagnon@b2b2c.ca +MAINTAINER= ports@FreeBSD.org COMMENT= Command Line Tool to make a copy from a Video DVD LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread RUN_DEPENDS= buffer:${PORTSDIR}/misc/buffer \ dvdauthor:${PORTSDIR}/multimedia/dvdauthor \ dvdbackup:${PORTSDIR}/sysutils/dvdbackup \ - dvdwizard:${PORTSDIR}/multimedia/dvdwizard \ growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \ mpgtx:${PORTSDIR}/multimedia/mpgtx \ - transcode:${PORTSDIR}/multimedia/transcode + mplayer:${PORTSDIR}/multimedia/mplayer \ + transcode:${PORTSDIR}/multimedia/transcode \ + vamps:${PORTSDIR}/multimedia/vamps + +USE_REINPLACE= yes SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message WRKSRC= ${WRKDIR}/${PORTNAME} -VAMPSRC= vamps.c requant.c +LXDVDRIPSRC= ${PORTNAME}.c streamanalyze.c CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -ldvdread -lm @@ -41,22 +43,16 @@ MAN1= lxdvdrip.1 .include <bsd.port.pre.mk> -# vamps needs strtof() -.if ${OSVERSION} > 500000 -PLIST_SUB= VAMPS="" -.else -PLIST_SUB= VAMPS="@comment " -.endif +post-patch: + @${REINPLACE_CMD} -E \ + -e 's|playwave[[:space:]]+-r[[:space:]]+|wavplay -s|' \ + -e 's|playwave|wavplay|' \ + -e 's|/usr/local/share/lxdvdrip.wav|${DATADIR}/lxdvdrip.wav|' \ + ${WRKSRC}/${PORTNAME}.c do-build: - ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c + ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} ${LXDVDRIPSRC:C/^/${WRKSRC}\//} ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/lxac3scan ${WRKSRC}/lxac3scan.c -.if ${OSVERSION} > 500000 -.for f in ${VAMPSRC} - ${CC} ${CFLAGS} -c ${WRKSRC}/vamps/${f} -o ${WRKSRC}/vamps/${f:C/\.c$/.o/} -.endfor - ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/vamps/vamps ${VAMPSRC:C/(.*)\.c$/${WRKSRC}\/vamps\/\1.o/} -.endif do-install: .for f in lxdvdrip lxac3scan @@ -67,13 +63,12 @@ do-install: .if !exists(${PREFIX}/etc/lxdvdrip.conf) ${INSTALL_DATA} ${WRKSRC}/doc-pak/lxdvdrip.conf.EN ${PREFIX}/etc/lxdvdrip.conf .endif -.if ${OSVERSION} > 500000 - ${INSTALL_PROGRAM} ${WRKSRC}/vamps/vamps ${PREFIX}/bin -.endif @${MKDIR} ${EXAMPLESDIR} .for f in lxdvdrip.conf.DE lxdvdrip.conf.EN lxdvdrip.conf.FR ${INSTALL_DATA} ${WRKSRC}/doc-pak/${f} ${EXAMPLESDIR} .endfor + @${MKDIR} ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.wav ${DATADIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/multimedia/lxdvdrip/distinfo b/multimedia/lxdvdrip/distinfo index f03dedbdc95e..004139ce4ea5 100644 --- a/multimedia/lxdvdrip/distinfo +++ b/multimedia/lxdvdrip/distinfo @@ -1,2 +1,3 @@ -MD5 (lxdvdrip-1.47.tgz) = 793a3d37e98c329b6392e32ad1a04bb4 -SIZE (lxdvdrip-1.47.tgz) = 514792 +MD5 (lxdvdrip-1.51.tgz) = 712f05e604ba52579f6d77df7d1945cd +SHA256 (lxdvdrip-1.51.tgz) = c26a8c1a3e3966684d3fe0e4e541cfc997e7f7fe16a84db83606013e4f8b6e5c +SIZE (lxdvdrip-1.51.tgz) = 524189 diff --git a/multimedia/lxdvdrip/pkg-plist b/multimedia/lxdvdrip/pkg-plist index dc439669f98b..af02aa58e988 100644 --- a/multimedia/lxdvdrip/pkg-plist +++ b/multimedia/lxdvdrip/pkg-plist @@ -1,6 +1,5 @@ bin/lxdvdrip bin/lxac3scan -%%VAMPS%%bin/vamps @unexec if cmp -s %D/etc/lxdvdrip.conf %D/etc/lxdvdrip.conf.sample; then rm -f %D/etc/lxdvdrip.conf; fi etc/lxdvdrip.conf.sample @exec [ -f %B/lxdvdrip.conf ] || cp %B/%f %B/lxdvdrip.conf |