33 lines
902 B
Makefile
33 lines
902 B
Makefile
# $NetBSD: Makefile,v 1.31 2011/03/18 12:42:24 adam Exp $
|
|
|
|
DISTNAME= libebml-1.2.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://dl.matroska.org/downloads/libebml/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= salo@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/projects/ebml/
|
|
COMMENT= Extensible Binary Meta Language support library
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LANGUAGES= c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake
|
|
|
|
NO_CONFIGURE= yes
|
|
MAKEFLAGS+= prefix=${PREFIX}
|
|
MAKE_ENV+= CXXFLAGS=${CXXFLAGS:Q} RANLIB=${RANLIB:Q}
|
|
BUILD_DIRS= make/linux
|
|
BUILD_TARGET= sharedlib
|
|
INSTALL_TARGET= install_headers install_sharedlib
|
|
|
|
# remove CRs: fixes patching on Darwin and stops pkglint from complaining
|
|
pre-patch:
|
|
cd ${WRKSRC}/make/linux && \
|
|
${TR} -d '\r' < Makefile > Makefile.new && \
|
|
${MV} Makefile.new Makefile
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|