aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/handbrake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/handbrake/Makefile')
-rw-r--r--multimedia/handbrake/Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile
index 4cc48ac67e91..88ee09123c60 100644
--- a/multimedia/handbrake/Makefile
+++ b/multimedia/handbrake/Makefile
@@ -40,6 +40,7 @@ PLIST_FILES= bin/handbrake
JAM?= ${LOCALBASE}/bin/jam
SYSCTL_CMD?= /sbin/sysctl
+WITH_DVD_DEVICE?= acd0
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude beos \
--exclude contrib \
@@ -47,16 +48,6 @@ EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude beos \
--exclude macosx \
--exclude wx
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-USE_GETOPT_LONG= yes
-MAKE_ENV= EXTRA_LIBS="-lcipher -lgnugetopt"
-WITH_DVD_DEVICE?= acd0c
-.else
-WITH_DVD_DEVICE?= acd0
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g ; s|HBTest|${PORTNAME}|g' \
@@ -74,4 +65,4 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>