ae39b18460
Follow-up to r462195 Reported by: tijl Approved by: tcberner (mentor, implicit)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: kamikaze@bsdforen.de
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libbluray
|
|
DISTVERSION= 1.0.2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
|
|
http://blu.opsec.eu/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Blu-Ray discs playback library for media players
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
|
libfontconfig.so:x11-fonts/fontconfig
|
|
# dlopen dependencies
|
|
LIB_DEPENDS+= libaacs.so:multimedia/libaacs \
|
|
libbdplus.so:multimedia/libbdplus
|
|
|
|
USES= iconv libtool pathfix pkgconfig tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-static
|
|
USE_LDCONFIG= yes
|
|
USE_GNOME= libxml2
|
|
INSTALL_TARGET= install-strip
|
|
|
|
.include "Makefile.include"
|
|
|
|
OPTIONS_DEFINE= JAVA
|
|
OPTIONS_SUB= yes
|
|
JAVA_DESC= Enable Blu-Ray Java support
|
|
|
|
JAVA_BUILD_DEPENDS= ant:devel/apache-ant
|
|
JAVA_CATEGORIES= java
|
|
JAVA_USE= JAVA=yes
|
|
JAVA_VARS= JAVA_VERSION=1.6+ JAVA_BUILD=yes JAVA_RUN=yes
|
|
JAVA_CONFIGURE_ENABLE= bdjava-jar
|
|
JAVA_CONFIGURE_ENV= JDK_HOME="${JAVA_HOME}"
|
|
|
|
post-patch:
|
|
@${RLN} ${WRKSRC}/jni/linux ${WRKSRC}/jni/freebsd
|
|
|
|
.include <bsd.port.mk>
|