freebsd-ports/multimedia/iso2mkv/Makefile
Rong-En Fan 9776899737 - Chase multimedia/mplayer split
PR:		ports/115416
Submitted by:	Thomas Zander <thomas.e.zander at googlemail.com>
2007-08-11 15:33:56 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: iso2mkv
# Date created: 31 Dec 2006
# Whom: Alexander Botero-Lowry <alexbl@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= iso2mkv
PORTVERSION= 0.8.4
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://5ko.free.fr/dl/
DISTNAME= ${PORTNAME}
MAINTAINER= alexbl@FreeBSD.org
COMMENT= Front-end shell script to convert DVD image, device, or VIDEO_TS to mkv with xvid and ogg or mp3 audio
RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mencoder \
bash:${PORTSDIR}/shells/bash \
mkvmerge:${PORTSDIR}/multimedia/mkvtoolnix \
lame:${PORTSDIR}/audio/lame \
oggenc:${PORTSDIR}/audio/vorbis-tools \
normalize:${PORTSDIR}/audio/normalize
USE_BZIP2= yes
NO_BUILD= yes
PLIST_FILES= bin/iso2mkv
post-patch:
@${REINPLACE_CMD} -e 's|stat -c %s|stat -f %z|g' \
${WRKSRC}/iso2mkv
@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g' \
${WRKSRC}/iso2mkv
@${REINPLACE_CMD} -e 's|normalize-audio|normalize|g' \
${WRKSRC}/iso2mkv
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/iso2mkv ${PREFIX}/bin
.include <bsd.port.mk>