1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/multimedia/mkvtoolnix/Makefile
Baptiste Daroussin 2f07dcc945 - fix building when PREFIX != LOCALBASE
- fix plist nl man pages
- remove now useless libebml and libmatroska dependencies, now build system forces to use bundled one
- bump port revision
2011-04-23 11:14:06 +00:00

80 lines
1.8 KiB
Makefile

# New ports collection makefile for: mkvtoolnix
# Date created: Tue Feb 24 02:09:12 UTC 2004
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mkvtoolnix
PORTVERSION= 4.7.0
PORTREVISION= 1
CATEGORIES= multimedia audio
MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/ \
CRITICAL
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Tools to extract from/get info about/create Matroska media streams
LIB_DEPENDS= FLAC.10:${PORTSDIR}/audio/flac \
expat.6:${PORTSDIR}/textproc/expat2 \
lzo2.2:${PORTSDIR}/archivers/lzo2 \
vorbis.4:${PORTSDIR}/audio/libvorbis \
ogg.7:${PORTSDIR}/audio/libogg \
boost_regex.4:${PORTSDIR}/devel/boost-libs \
curl.6:${PORTSDIR}/ftp/curl
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes
USE_GETTEXT= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_RAKE= yes
USE_RUBY= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
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} \
--with-boost-filesystem=boost_filesystem \
--with-boost-system=boost_system \
--with-boost-regex=boost_regex
MAKE_JOBS_SAFE= yes
MANLANG= "" ja zh_CN nl
MAN1= mkvextract.1 mkvinfo.1 mkvmerge.1 mkvpropedit.1
OPTIONS= WXGTK "build wxGTK2 based GUI" on
.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= 2.8+
WX_UNICODE= yes
WX_CONF_ARGS= absolute
MAN1+= mmg.1
PLIST_SUB+= GUI=""
.else
CONFIGURE_ARGS+=--disable-gui
PLIST_SUB+= GUI="@comment "
.endif
do-build:
@(cd ${WRKSRC}/; unset PREFIX; ${RAKE_BIN})
do-install:
@(cd ${WRKSRC}/; unset PREFIX; ${RAKE_BIN} install)
.include <bsd.port.post.mk>