openbsd-ports/multimedia/libaacs/Makefile
2012-09-25 21:58:59 +00:00

42 lines
948 B
Makefile

# $OpenBSD: Makefile,v 1.4 2012/09/25 21:58:59 brad Exp $
SHARED_ONLY = Yes
COMMENT = AACS support library for Blu-ray playback
V = 0.5.0
DISTNAME = libaacs-${V}
CATEGORIES = multimedia
HOMEPAGE = http://www.videolan.org/developers/libaacs.html
MASTER_SITES = http://download.videolan.org/pub/videolan/libaacs/${V}/ \
ftp://ftp.videolan.org/pub/videolan/libaacs/${V}/
EXTRACT_SUFX = .tar.bz2
# LGPL v2.1
PERMIT_PACKAGE_CDROM = Free speech issue
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Free speech issue
PERMIT_DISTFILES_FTP = Yes
SHARED_LIBS += aacs 1.0 # 2.0
WANTLIB += c gcrypt gpg-error pthread
MODULES = devel/gettext
LIB_DEPENDS = security/libgcrypt
BUILD_DEPENDS = devel/bison \
devel/flex
MAKE_FLAGS = CFLAGS="${CFLAGS}"
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
USE_LIBTOOL = yes
YACC = ${LOCALBASE}/bin/bison -y
CONFIGURE_ENV = ac_cv_prog_LEX="${LOCALBASE}/bin/gflex"
.include <bsd.port.mk>