openbsd-ports/devel/libdvdread/Makefile
brad f662cb54be Remove SHARED_ONLY now that libdvdread links directly to libdvdcss
instead of relying upon dlopen() the library.

ok sthen@
2013-03-13 00:28:05 +00:00

38 lines
807 B
Makefile

#$OpenBSD: Makefile,v 1.25 2013/03/13 00:28:05 brad Exp $
COMMENT = accessing DVD files
DISTNAME = libdvdread-4.2.0
REVISION = 2
CATEGORIES = devel
MASTER_SITES = ${HOMEPAGE}releases/
EXTRACT_SUFX = .tar.bz2
SHARED_LIBS += dvdread 5.1
HOMEPAGE = http://dvdnav.mplayerhq.hu/
MAINTAINER = Marc Espie <espie@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += dvdcss
LIB_DEPENDS = converters/libdvdcss>=1.2.12p0
MAKE_ENV = LIBDVDREAD_VERSION=${LIBdvdread_VERSION}
USE_GMAKE = Yes
CONFIGURE_STYLE = simple
CONFIGURE_SCRIPT = configure2
CONFIGURE_ARGS =--prefix="${PREFIX}" \
--cc="${CC}" \
--extra-cflags="${CFLAGS}" \
--extra-cflags="-I${LOCALBASE}/include -DHAVE_DVDCSS_DVDCSS_H" \
--extra-ldflags="-L${LOCALBASE}/lib" \
--disable-debug \
--disable-opts
.include <bsd.port.mk>