aboutsummaryrefslogtreecommitdiff
path: root/multimedia/handbrake
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 02:01:29 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 02:01:29 +0000
commitfa9509791fb3ad63885e207da5c039b25eeef942 (patch)
tree583269ded864355a8d5031d218db57c2bc88511d /multimedia/handbrake
parent81cd10f8d2bfe2ad25124f31d629351947acaa56 (diff)
downloadports-fa9509791fb3ad63885e207da5c039b25eeef942.tar.gz
ports-fa9509791fb3ad63885e207da5c039b25eeef942.zip
Notes
Diffstat (limited to 'multimedia/handbrake')
-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>