2004-02-24 03:19:55 +01:00
|
|
|
# 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
|
2007-02-24 20:43:28 +01:00
|
|
|
PORTVERSION= 2.0.2
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2004-02-24 03:19:55 +01:00
|
|
|
CATEGORIES= multimedia audio
|
2006-12-07 01:48:54 +01:00
|
|
|
MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/ CSME
|
2004-02-24 03:19:55 +01:00
|
|
|
|
2007-04-01 09:50:30 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2004-02-24 03:19:55 +01:00
|
|
|
COMMENT= Tools to extract from/get info about/create Matroska media streams
|
|
|
|
|
2005-03-16 15:50:13 +01:00
|
|
|
LIB_DEPENDS= FLAC.7:${PORTSDIR}/audio/flac \
|
2005-10-17 03:53:39 +02:00
|
|
|
ebml:${PORTSDIR}/textproc/libebml \
|
2006-01-31 00:20:05 +01:00
|
|
|
expat.6:${PORTSDIR}/textproc/expat2 \
|
2005-12-12 21:02:36 +01:00
|
|
|
lzo2.2:${PORTSDIR}/archivers/lzo2 \
|
2005-10-17 03:53:39 +02:00
|
|
|
matroska.0:${PORTSDIR}/multimedia/libmatroska \
|
2006-12-03 16:29:07 +01:00
|
|
|
vorbis.3:${PORTSDIR}/audio/libvorbis \
|
|
|
|
ogg.5:${PORTSDIR}/audio/libogg \
|
|
|
|
pcrecpp.0:${PORTSDIR}/devel/pcre
|
2004-02-24 03:19:55 +01:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2004-03-27 06:32:32 +01:00
|
|
|
USE_GMAKE= yes
|
2004-02-24 03:19:55 +01:00
|
|
|
USE_ICONV= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-12-03 16:29:07 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -lmagic -lz
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --enable-lzo --enable-bz2 --disable-qt
|
2004-02-24 03:19:55 +01:00
|
|
|
|
2004-03-27 06:32:32 +01:00
|
|
|
MAN1= base64tool.1 mkvextract.1 mkvinfo.1 mkvmerge.1
|
2004-08-24 01:12:51 +02:00
|
|
|
PLIST_FILES= bin/base64tool bin/mkvextract bin/mkvinfo bin/mkvmerge
|
2004-02-24 03:19:55 +01:00
|
|
|
|
2005-09-18 00:41:08 +02:00
|
|
|
# data files
|
|
|
|
FILES_DATA= \
|
|
|
|
mkvmerge-gui.hhc \
|
|
|
|
mkvmerge-gui.hhk \
|
|
|
|
mkvmerge-gui.hhp \
|
2005-12-12 21:02:36 +01:00
|
|
|
mkvmerge-gui.html
|
|
|
|
IMAGES_DATA= \
|
2005-09-18 00:41:08 +02:00
|
|
|
addingremovingattachments.gif \
|
|
|
|
addremovefiles.gif \
|
|
|
|
attachmentoptions.gif \
|
|
|
|
audiotrackoptions.gif \
|
|
|
|
chaptereditor.gif \
|
2007-01-30 14:05:10 +01:00
|
|
|
generaltrackoptions.gif \
|
2005-09-18 00:41:08 +02:00
|
|
|
jobmanager.gif \
|
|
|
|
movietitle.gif \
|
|
|
|
muxingwindow.gif \
|
|
|
|
selectmkvmergeexecutable.gif \
|
|
|
|
splitting.gif \
|
|
|
|
textsubtitlestrackoptions.gif \
|
|
|
|
trackselection.gif \
|
|
|
|
videotrackoptions.gif
|
2007-02-24 20:43:28 +01:00
|
|
|
PLIST_FILES+= ${FILES_DATA:S|^|%%DATADIR%%/|} ${IMAGES_DATA:S|^|%%DATADIR%%/images/|}
|
|
|
|
PLIST_DIRS+= %%DATADIR%%/images %%DATADIR%%
|
2005-09-18 00:41:08 +02:00
|
|
|
|
2004-08-24 01:12:51 +02:00
|
|
|
.ifndef(WITHOUT_WXGTK)
|
2006-12-03 16:29:07 +01:00
|
|
|
USE_WX= yes
|
2006-12-01 08:39:02 +01:00
|
|
|
WX_UNICODE= yes
|
2006-12-03 16:29:07 +01:00
|
|
|
WX_CONF_ARGS= absolute
|
2004-08-24 01:12:51 +02:00
|
|
|
MAN1+= mmg.1
|
|
|
|
PLIST_FILES+= bin/mmg
|
|
|
|
.endif
|
|
|
|
|
2006-12-03 16:29:07 +01:00
|
|
|
pre-configure::
|
2004-08-24 01:12:51 +02:00
|
|
|
.ifndef(WITHOUT_WXGTK)
|
|
|
|
@${ECHO_MSG} "===>"
|
|
|
|
@${ECHO_MSG} "===> You can disable wxGTK2 support by defining"
|
|
|
|
@${ECHO_MSG} "===> WITHOUT_WXGTK"
|
|
|
|
@${ECHO_MSG} "===>"
|
|
|
|
.endif
|
|
|
|
|
2005-09-18 00:41:08 +02:00
|
|
|
pre-install:
|
2006-12-03 16:29:07 +01:00
|
|
|
@${INSTALL} -d ${DATADIR}/
|
2005-09-18 00:41:08 +02:00
|
|
|
|
2007-02-24 20:43:28 +01:00
|
|
|
.include <bsd.port.mk>
|