1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/multimedia/ldvd/Makefile
Robert Noland c6542427d4 Replace libdvdread with the version maintained by the mplayer group
-Turn over maintainership
	-Bump ports that depend on libdvdread since shared lib
	 version rolls back from .5 to .4
	-Fix multimedia/ogle build with this version

PR:		127849
Submitted by:	Ganael LAPLANCHE <ganael.laplanche@martymac.com>
2009-02-08 18:45:38 +00:00

57 lines
1.7 KiB
Makefile

# New ports collection makefile for: ldvd9to5
# Date created: 2004-10-03
# Whom: Andreas Fehlner <fehlner@gmx.de>
#
# $FreeBSD$
#
PORTNAME= ldvd
PORTVERSION= 2.0.1
PORTREVISION= 8
CATEGORIES= multimedia
MASTER_SITES= http://freebsd.unixfreunde.de/sources/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Gui, which shall simplify shrinking a DVD-9 to a DVD-5
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
LIB_DEPENDS= dvdread.4:${PORTSDIR}/multimedia/libdvdread
RUN_DEPENDS= transcode:${PORTSDIR}/multimedia/transcode \
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
ifo_dump:${PORTSDIR}/multimedia/ogle \
dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
buffer:${PORTSDIR}/misc/buffer \
mplex:${PORTSDIR}/multimedia/mjpegtools \
${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
USE_BZIP2= yes
USE_PERL5= yes
USE_CDRTOOLS= yes
DATA= de.lang en.lang
PORTDOCS= AUTHORS HISTORY README.de README.en
PLIST_FILES= bin/ldvd bin/ldvd-ls etc/ldvd.conf.sample \
${DATA:S|^|%%DATADIR%%/|}
PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/$$sh_name-$$version|${DATADIR}|g; \
s|/etc|${PREFIX}/etc|g' ${WRKSRC}/ldvd
do-build:
@cd ${WRKSRC} && \
${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
-ldvdread ldvd-ls.c -o ldvd-ls
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ldvd ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/ldvd-ls ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/ldvd.conf ${PREFIX}/etc/ldvd.conf.sample
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${DATA:S|^|${WRKSRC}/|} ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>