From c7d7dc68dd20b4b154e9ea96bcb2e4a308d89dcd Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Mon, 5 Jan 2015 13:18:06 +0000 Subject: [PATCH] - Update to upstream version 1.3.1 - Uses GNU_CONFIGURE and pkgconfig now -> simplify port Makefile --- textproc/libebml/Makefile | 19 ++++++++----------- textproc/libebml/distinfo | 4 ++-- textproc/libebml/pkg-plist | 4 ++++ 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/textproc/libebml/Makefile b/textproc/libebml/Makefile index 00b8c8c33a02..e6dd1b3302d5 100644 --- a/textproc/libebml/Makefile +++ b/textproc/libebml/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libebml -PORTVERSION= 1.3.0 +PORTVERSION= 1.3.1 CATEGORIES= textproc MASTER_SITES= http://dl.matroska.org/downloads/libebml/ \ http://www.bunkus.org/videotools/mkvtoolnix/sources/ @@ -12,17 +12,14 @@ COMMENT= EBML (Extensible Binary Meta Language), sort of binary version of XML LICENSE= LGPL21 -USES= gmake tar:bzip2 -BUILD_WRKSRC= ${WRKSRC}/make/linux -INSTALL_WRKSRC= ${WRKSRC}/make/linux +USES= gmake libtool tar:bzip2 USE_LDCONFIG= yes +GNU_CONFIGURE= yes -MAKE_ARGS= INSTALL_DIR_OPTS="${INSTALL} -d -m 755" \ - INSTALL_OPTS="${INSTALL_DATA}" \ - INSTALL_OPTS_LIB="${INSTALL_LIB}" \ - INSTALL="" \ - prefix=${STAGEDIR}${PREFIX} \ - CXX="${CXX}" \ - CXXFLAGS="${CXXFLAGS}" +INSTALL_TARGET= install-strip + +post-patch: + ${REINPLACE_CMD} -e 's|$${libdir}/pkgconfig|@prefix@/libdata/pkgconfig|' \ + ${WRKSRC}/Makefile.in .include diff --git a/textproc/libebml/distinfo b/textproc/libebml/distinfo index acaf1effcf44..7022d2f2413f 100644 --- a/textproc/libebml/distinfo +++ b/textproc/libebml/distinfo @@ -1,2 +1,2 @@ -SHA256 (libebml-1.3.0.tar.bz2) = 83b074d6b62715aa0080406ea84d33df2e44b5d874096640233a4db49b8096de -SIZE (libebml-1.3.0.tar.bz2) = 59359 +SHA256 (libebml-1.3.1.tar.bz2) = 195894b31aaca55657c9bc157d744f23b0c25597606b97cfa5a9039c4b684295 +SIZE (libebml-1.3.1.tar.bz2) = 599116 diff --git a/textproc/libebml/pkg-plist b/textproc/libebml/pkg-plist index e9c78b2a1c2d..b2ddb582f922 100644 --- a/textproc/libebml/pkg-plist +++ b/textproc/libebml/pkg-plist @@ -22,8 +22,12 @@ include/ebml/EbmlVersion.h include/ebml/EbmlVoid.h include/ebml/IOCallback.h include/ebml/MemIOCallback.h +include/ebml/MemReadIOCallback.h +include/ebml/SafeReadIOCallback.h include/ebml/StdIOCallback.h include/ebml/c/libebml_t.h lib/libebml.a lib/libebml.so lib/libebml.so.4 +lib/libebml.so.4.0.0 +libdata/pkgconfig/libebml.pc