aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-04-11 16:24:16 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-04-11 16:24:16 +0000
commitdcc7bbb1a4ae93ef7aa801b4c816b85e0a625184 (patch)
treef3b96c648d576b845089b2068cee8616a729d33b /multimedia
parent7afa3840766df555a3c55f840986c60e9cb61727 (diff)
downloadports-dcc7bbb1a4ae93ef7aa801b4c816b85e0a625184.tar.gz
ports-dcc7bbb1a4ae93ef7aa801b4c816b85e0a625184.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ogmtools/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/multimedia/ogmtools/Makefile b/multimedia/ogmtools/Makefile
index eb22d046333e..f8c6b134fe8b 100644
--- a/multimedia/ogmtools/Makefile
+++ b/multimedia/ogmtools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ogmtools
PORTVERSION= 1.5
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= multimedia audio
MASTER_SITES= http://www.bunkus.org/videotools/ogmtools/
@@ -48,9 +48,7 @@ post-configure:
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libdvdread.so.4)
-WITH_DVDREAD=yes
-.endif
+OPTIONS= DVDREAD "DVD title chapter extraction via libdvdread" on
.ifdef(WITH_DVDREAD)
LIB_DEPENDS+= dvdread.4:${PORTSDIR}/multimedia/libdvdread
@@ -66,9 +64,4 @@ CONFIGURE_ARGS+= --without-dvdread
PLIST_SUB+= WITH_DVDREAD="@comment "
.endif
-pre-everything::
-.ifndef(WITH_DVDREAD)
- @${ECHO_MSG} "===> Define WITH_DVDREAD in order to be able to 'Extract chapter information from DVDs'"
-.endif
-
.include <bsd.port.post.mk>