aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mkvtoolnix
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-04-23 11:14:06 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-04-23 11:14:06 +0000
commit2f07dcc94502e3510716132d62910cd9c3906cf7 (patch)
tree4f2f287c02d79970e4cfd5b0533660658b636e35 /multimedia/mkvtoolnix
parentab4a77c4dd3c73120e5d915d6cf8895286b05aa9 (diff)
downloadports-2f07dcc94502e3510716132d62910cd9c3906cf7.tar.gz
ports-2f07dcc94502e3510716132d62910cd9c3906cf7.zip
Notes
Diffstat (limited to 'multimedia/mkvtoolnix')
-rw-r--r--multimedia/mkvtoolnix/Makefile15
-rw-r--r--multimedia/mkvtoolnix/pkg-plist2
2 files changed, 8 insertions, 9 deletions
diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile
index 4ab742bb98dd..eabe8ec4a7e7 100644
--- a/multimedia/mkvtoolnix/Makefile
+++ b/multimedia/mkvtoolnix/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mkvtoolnix
PORTVERSION= 4.7.0
+PORTREVISION= 1
CATEGORIES= multimedia audio
MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/ \
CRITICAL
@@ -15,10 +16,8 @@ MAINTAINER= multimedia@FreeBSD.org
COMMENT= Tools to extract from/get info about/create Matroska media streams
LIB_DEPENDS= FLAC.10:${PORTSDIR}/audio/flac \
- ebml.3:${PORTSDIR}/textproc/libebml \
expat.6:${PORTSDIR}/textproc/expat2 \
lzo2.2:${PORTSDIR}/archivers/lzo2 \
- matroska.3:${PORTSDIR}/multimedia/libmatroska \
vorbis.4:${PORTSDIR}/audio/libvorbis \
ogg.7:${PORTSDIR}/audio/libogg \
boost_regex.4:${PORTSDIR}/devel/boost-libs \
@@ -35,7 +34,8 @@ USE_RAKE= yes
USE_RUBY= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
ac_cv_path_PO4A=no
CONFIGURE_ARGS= --enable-lzo --enable-bz2 --disable-qt \
--with-boost=${LOCALBASE} \
@@ -44,7 +44,7 @@ CONFIGURE_ARGS= --enable-lzo --enable-bz2 --disable-qt \
--with-boost-regex=boost_regex
MAKE_JOBS_SAFE= yes
-MANLANG= "" ja zh_CN
+MANLANG= "" ja zh_CN nl
MAN1= mkvextract.1 mkvinfo.1 mkvmerge.1 mkvpropedit.1
OPTIONS= WXGTK "build wxGTK2 based GUI" on
@@ -70,13 +70,10 @@ CONFIGURE_ARGS+=--disable-gui
PLIST_SUB+= GUI="@comment "
.endif
-post-patch:
- @${REINPLACE_CMD} -e 's|"-O3"|""|g' ${WRKSRC}/configure
-
do-build:
- @(cd ${WRKSRC}/; ${SETENV} ${MAKE_ENV} ${RAKE_BIN})
+ @(cd ${WRKSRC}/; unset PREFIX; ${RAKE_BIN})
do-install:
- @(cd ${WRKSRC}/; ${SETENV} ${MAKE_ENV} ${RAKE_BIN} install)
+ @(cd ${WRKSRC}/; unset PREFIX; ${RAKE_BIN} install)
.include <bsd.port.post.mk>
diff --git a/multimedia/mkvtoolnix/pkg-plist b/multimedia/mkvtoolnix/pkg-plist
index dfedd4a5d960..55ca8b876226 100644
--- a/multimedia/mkvtoolnix/pkg-plist
+++ b/multimedia/mkvtoolnix/pkg-plist
@@ -58,6 +58,8 @@ share/locale/zh_TW/LC_MESSAGES/mkvtoolnix.mo
%%DOCSDIR%%/guide/zh_CN/mkvmerge-gui.hhk
@dirrmtry man/zh_CN/man1
@dirrmtry man/zh_CN
+@dirrmtry man/nl/man1
+@dirrmtry man/nl
@dirrm %%DOCSDIR%%/guide/zh_CN/images
@dirrm %%DOCSDIR%%/guide/zh_CN
@dirrm %%DOCSDIR%%/guide/en/images