openbsd-ports/multimedia/libdvdnav/Makefile

44 lines
934 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.14 2010/10/28 10:02:05 steven Exp $
COMMENT= DVD read/navigation library
DISTNAME= libdvdnav-4.1.3
REVISION= 1
EPOCH= 0
CATEGORIES= multimedia
SHARED_LIBS= dvdnav 6.0 \
dvdnavmini 6.0
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/
# GPLv2
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
2010-10-24 17:40:38 -04:00
WANTLIB += dvdread
EXTRACT_SUFX= .tar.bz2
AUTOMAKE_VERSION=1.9
AUTOCONF_VERSION=2.59
USE_LIBTOOL= Yes
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} ${MODGNU_AUTOMAKE_DEPENDS}
# needs libtoolize
BUILD_DEPENDS+= ::devel/libtool
2010-10-24 17:40:38 -04:00
LIB_DEPENDS= ::devel/libdvdread
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= DVDREAD_CFLAGS="-I${LOCALBASE}/include" \
DVDREAD_LIBS="-L${LOCALBASE}/lib -ldvdread"
post-patch:
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh noconfig
.include <bsd.port.mk>