aboutsummaryrefslogtreecommitdiff
path: root/multimedia/handbrake
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-06-17 09:23:52 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-06-17 09:23:52 +0000
commit7ec1aad297bbbac3bb837ef0a8c60ef600f3ae00 (patch)
tree5611b9db986cfe8ff44aa62ad074736f273baa0b /multimedia/handbrake
parent0f84ee597549eb5e18c2e7958b215f26df732680 (diff)
downloadports-7ec1aad297bbbac3bb837ef0a8c60ef600f3ae00.tar.gz
ports-7ec1aad297bbbac3bb837ef0a8c60ef600f3ae00.zip
Notes
Diffstat (limited to 'multimedia/handbrake')
-rw-r--r--multimedia/handbrake/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile
index 8ce75ca64b28..e0ff071fc019 100644
--- a/multimedia/handbrake/Makefile
+++ b/multimedia/handbrake/Makefile
@@ -3,7 +3,7 @@
PORTNAME= handbrake
PORTVERSION= 0.9.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} \
http://download.handbrake.fr/handbrake/contrib/:contrib
@@ -38,6 +38,7 @@ LICENSE= GPLv2
BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
LIB_DEPENDS= fribidi:${PORTSDIR}/converters/fribidi
+RUN_DEPENDS= ${LOCALBASE}/lib/libdvdcss.so:${PORTSDIR}/multimedia/libdvdcss
USE_AUTOTOOLS= libtool aclocal
LIBTOOLFILES= configure
@@ -125,6 +126,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/contrib/libass/module.defs \
${WRKSRC}/libhb/module.defs ${WRKSRC}/test/module.defs
+ @${REINPLACE_CMD} -e 's|libdvdcss\.so\.2|libdvdcss.so|' \
+ ${BUILD_WRKSRC}/contrib/libdvdread/libdvdread/src/dvd_input.c
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/HandBrakeCLI ${PREFIX}/bin