aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libbluray
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-11 20:58:40 +0800
committerbapt <bapt@FreeBSD.org>2013-05-11 20:58:40 +0800
commitf486fae1e58629d92b1f794b4f60cc9fc1283478 (patch)
tree2ec79ba0438e788ff8ca417ef033f5706959398e /multimedia/libbluray
parentf69f231146e5bf6f00ac4e8196a730688545c46a (diff)
downloadfreebsd-ports-gnome-f486fae1e58629d92b1f794b4f60cc9fc1283478.tar.gz
freebsd-ports-gnome-f486fae1e58629d92b1f794b4f60cc9fc1283478.tar.zst
freebsd-ports-gnome-f486fae1e58629d92b1f794b4f60cc9fc1283478.zip
Convert to new options framework
While here remove test for unsupported versions
Diffstat (limited to 'multimedia/libbluray')
-rw-r--r--multimedia/libbluray/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/multimedia/libbluray/Makefile b/multimedia/libbluray/Makefile
index 26abf0a49082..3b930b6f05c5 100644
--- a/multimedia/libbluray/Makefile
+++ b/multimedia/libbluray/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: libbluray
-# Date created: 19 February 2011
-# Whom: kamikaze@bsdforen.de
-#
+# Created by: kamikaze@bsdforen.de
# $FreeBSD$
-#
PORTNAME= libbluray
PORTVERSION= 0.2.2
@@ -32,11 +28,12 @@ MAKE_JOBS_SAFE= yes
MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
CFLAGS=${CFLAGS:Q}
-OPTIONS= JAVA "Enable Blu-Ray Java support" off
+OPTIONS_DEFINE= JAVA
+JAVA_DESC+ Enable Blu-Ray Java support
.include <bsd.port.options.mk>
-.if defined(WITH_JAVA)
+.if ${PORT_OPTIONS:MJAVA}
BUILD_DEPENDS+= ant:${PORTSDIR}/devel/apache-ant
CATEGORIES+= java
USE_JAVA= 1.6+