openbsd-ports/multimedia/libdvdnav/Makefile

45 lines
857 B
Makefile

# $OpenBSD: Makefile,v 1.19 2012/09/26 00:04:09 brad Exp $
SHARED_ONLY= Yes
COMMENT= DVD navigation library
DISTNAME= libdvdnav-4.2.0
REVISION= 2
EPOCH= 0
CATEGORIES= multimedia
MASTER_SITES= ${HOMEPAGE}releases/
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS= dvdnav 6.2 \
dvdnavmini 6.2
HOMEPAGE= http://dvdnav.mplayerhq.hu/
# GPLv2
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= dvdread pthread
AUTOCONF_VERSION= 2.61
AUTOMAKE_VERSION= 1.10
# needs libtoolize
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
devel/libtool
LIB_DEPENDS= devel/libdvdread>=4.2.0
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
post-patch:
@cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh noconfig
.include <bsd.port.mk>