44 lines
929 B
Makefile
44 lines
929 B
Makefile
# $OpenBSD: Makefile,v 1.15 2010/11/19 07:23:13 espie 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
|
|
|
|
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
|
|
|
|
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>
|