40 lines
867 B
Makefile
40 lines
867 B
Makefile
# $OpenBSD: Makefile,v 1.8 2010/11/19 07:23:13 espie Exp $
|
|
|
|
COMMENT= extensible open standard audio/video container library
|
|
|
|
DISTNAME= libmatroska-1.0.0
|
|
REVISION= 0
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://dl.matroska.org/downloads/libmatroska/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
SHARED_LIBS= matroska 1.0
|
|
|
|
HOMEPAGE= http://www.matroska.org/
|
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
|
|
|
# LGPLv2.1+
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
WANTLIB= ebml m stdc++
|
|
|
|
LIB_DEPENDS= textproc/libebml
|
|
|
|
MAKE_ENV+= LIBmatroska_VERSION=${LIBmatroska_VERSION}
|
|
MAKE_FLAGS+= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" LOCALBASE=${LOCALBASE}
|
|
FAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
WRKSRC= ${WRKDIST}/make/linux
|
|
|
|
post-extract:
|
|
@perl -pi -e 's/\r\n/\n/;' ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|