openbsd-ports/textproc/libebml/Makefile

38 lines
763 B
Makefile
Raw Normal View History

2011-10-04 04:57:42 -04:00
# $OpenBSD: Makefile,v 1.9 2011/10/04 08:57:42 giovanni Exp $
COMMENT= Extensible Binary Meta Language library
2011-10-04 04:57:42 -04:00
DISTNAME= libebml-1.2.2
CATEGORIES= textproc
MASTER_SITES= http://dl.matroska.org/downloads/libebml/
EXTRACT_SUFX= .tar.bz2
2011-10-04 04:57:42 -04:00
SHARED_LIBS= ebml 2.1
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
2011-10-04 04:57:42 -04:00
WANTLIB= m stdc++
MAKE_ENV+= LIBebml_VERSION=${LIBebml_VERSION}
MAKE_FLAGS+= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
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>