aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mkvtoolnix
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-12-22 11:25:39 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-12-22 11:25:39 +0000
commit1ee9fc2f3dbf624390d7c3a910ab38c596bd679b (patch)
tree16ce0e18e177a768d9d0639a6dd1b406ed015736 /multimedia/mkvtoolnix
parent80b71b23d3a09cd0e69acb26a65c468b18dcf1a9 (diff)
downloadports-1ee9fc2f3dbf624390d7c3a910ab38c596bd679b.tar.gz
ports-1ee9fc2f3dbf624390d7c3a910ab38c596bd679b.zip
Notes
Diffstat (limited to 'multimedia/mkvtoolnix')
-rw-r--r--multimedia/mkvtoolnix/Makefile38
-rw-r--r--multimedia/mkvtoolnix/distinfo6
-rw-r--r--multimedia/mkvtoolnix/pkg-plist1
3 files changed, 23 insertions, 22 deletions
diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile
index bc62e9de2d8d..320ffc642427 100644
--- a/multimedia/mkvtoolnix/Makefile
+++ b/multimedia/mkvtoolnix/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mkvtoolnix
-PORTVERSION= 2.9.8
+PORTVERSION= 3.0.0
CATEGORIES= multimedia audio
MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/
@@ -14,14 +14,13 @@ MAINTAINER= multimedia@FreeBSD.org
COMMENT= Tools to extract from/get info about/create Matroska media streams
LIB_DEPENDS= FLAC.10:${PORTSDIR}/audio/flac \
- ebml:${PORTSDIR}/textproc/libebml \
+ ebml.0:${PORTSDIR}/textproc/libebml \
expat.6:${PORTSDIR}/textproc/expat2 \
lzo2.2:${PORTSDIR}/archivers/lzo2 \
matroska.0:${PORTSDIR}/multimedia/libmatroska \
vorbis.4:${PORTSDIR}/audio/libvorbis \
ogg.6:${PORTSDIR}/audio/libogg \
- pcrecpp.0:${PORTSDIR}/devel/pcre \
- boost_regex:${PORTSDIR}/devel/boost-libs
+ boost_regex.4:${PORTSDIR}/devel/boost-libs
USE_BZIP2= yes
USE_GETTEXT= yes
@@ -29,12 +28,24 @@ USE_GMAKE= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
CPPFLAGS= -I${LOCALBASE}/include
-LDFLAGS= -L${LOCALBASE}/lib -lmagic -lz
+LDFLAGS= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --enable-lzo --enable-bz2 --disable-qt
+CONFIGURE_ARGS= --enable-lzo --enable-bz2 --disable-qt \
+ --with-boost=${LOCALBASE} \
+ --with-boost-regex=boost_regex
MAKE_JOBS_SAFE= yes
-MAN1= mkvextract.1 mkvinfo.1 mkvmerge.1
+MAN1= mkvextract.1 mkvinfo.1 mkvmerge.1 mkvpropedit.1
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= Does not install on sparc64
+.endif
+
+.if defined(BATCH)
+MAKE_ENV+= V=1
+.endif
.ifndef(WITHOUT_WXGTK)
USE_WX= yes
@@ -47,9 +58,7 @@ PLIST_SUB+= GUI="@comment "
.endif
post-patch:
- ${REINPLACE_CMD} -e \
- 's|BOOSTLIBDIR/libboost_regex\*\.{so,a,dylib}\*|BOOSTLIBDIR/libboost_regex.so|' \
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|"-O3"|""|g' ${WRKSRC}/configure
pre-configure::
.ifndef(WITHOUT_WXGTK)
@@ -59,13 +68,4 @@ pre-configure::
@${ECHO_MSG} "===>"
.endif
-pre-install:
- @${INSTALL} -d ${DATADIR}/
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not install on sparc64
-.endif
-
.include <bsd.port.post.mk>
diff --git a/multimedia/mkvtoolnix/distinfo b/multimedia/mkvtoolnix/distinfo
index 08083c01bba1..aab9b3190da3 100644
--- a/multimedia/mkvtoolnix/distinfo
+++ b/multimedia/mkvtoolnix/distinfo
@@ -1,3 +1,3 @@
-MD5 (mkvtoolnix-2.9.8.tar.bz2) = 7b049aa43c6b39dfcb19f5a46d5574ac
-SHA256 (mkvtoolnix-2.9.8.tar.bz2) = a0d18636635fad7e750b228095b312cad1a8adaf52e30df7405ecf489cfd2bbe
-SIZE (mkvtoolnix-2.9.8.tar.bz2) = 1093036
+MD5 (mkvtoolnix-3.0.0.tar.bz2) = 2e9373edd5a5523313d8f5bea3ee8f8e
+SHA256 (mkvtoolnix-3.0.0.tar.bz2) = 6450de85d63c657230363ab82ce1f5423427a6a0073e7fd18bff4f48f3b8b5a8
+SIZE (mkvtoolnix-3.0.0.tar.bz2) = 1117727
diff --git a/multimedia/mkvtoolnix/pkg-plist b/multimedia/mkvtoolnix/pkg-plist
index dbbfce46c666..51b223f9a7ba 100644
--- a/multimedia/mkvtoolnix/pkg-plist
+++ b/multimedia/mkvtoolnix/pkg-plist
@@ -1,6 +1,7 @@
bin/mkvextract
bin/mkvinfo
bin/mkvmerge
+bin/mkvpropedit
%%GUI%%bin/mmg
share/locale/de/LC_MESSAGES/mkvtoolnix.mo
share/locale/ja/LC_MESSAGES/mkvtoolnix.mo