4272ee15d5
from brad
44 lines
1004 B
Makefile
44 lines
1004 B
Makefile
# $OpenBSD: Makefile,v 1.2 2012/08/27 09:34:42 jasper Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT = library supporting Blu-ray playback
|
|
|
|
V = 0.2.2
|
|
DISTNAME = libbluray-${V}
|
|
REVISION = 0
|
|
CATEGORIES = multimedia
|
|
|
|
HOMEPAGE = http://www.videolan.org/developers/libbluray.html
|
|
|
|
MAINTAINER = Peter Hessler <phessler@openbsd.org>
|
|
|
|
MASTER_SITES = http://download.videolan.org/pub/videolan/libbluray/${V}/ \
|
|
ftp://ftp.videolan.org/pub/videolan/libbluray/${V}/
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
# LGPL v2.1
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
SHARED_LIBS += bluray 0.0 # 0.0
|
|
WANTLIB += m pthread xml2 z
|
|
|
|
MODULES = converters/libiconv
|
|
|
|
LIB_DEPENDS = textproc/libxml
|
|
BUILD_DEPENDS = devel/bison \
|
|
devel/flex
|
|
|
|
MAKE_FLAGS = CFLAGS="${CFLAGS}"
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
USE_LIBTOOL = yes
|
|
YACC = ${LOCALBASE}/bin/bison -y
|
|
CONFIGURE_ENV = ac_cv_prog_LEX="${LOCALBASE}/bin/gflex"
|
|
CONFIGURE_ARGS += --disable-doxygen-doc
|
|
|
|
.include <bsd.port.mk>
|