# New ports collection makefile for: mediainfo # Date created: 24 April 2008 # Whom: freebsd-ports@evilcode.net # # $FreeBSD$ # PORTNAME= mediainfo PORTVERSION= 0.7.33 PORTREVISION= 1 DISTVERSIONSUFFIX= _AllInclusive CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/source/${PORTNAME}/${PORTVERSION} DISTNAME= mediainfo_${PORTVERSION}${DISTVERSIONSUFFIX} EXTRACT_SUFX= .7z MAINTAINER= freebsd-ports@evilcode.net COMMENT= Supplies technical and tag information about a video or audio file EXTRACT_DEPENDS= p7zip>=0:${PORTSDIR}/archivers/p7zip PLIST_FILES= bin/mediainfo EXTRACT_CMD= 7z EXTRACT_BEFORE_ARGS= x -o${WRKSRC} EXTRACT_AFTER_ARGS= >/dev/null USE_AUTOTOOLS= aclocal:110:env automake:110:env autoconf:267:env libtool:22:env WRKSRC= ${WRKDIR}/MediaInfo${DISTVERSIONSUFFIX} pre-build: @(cd ${WRKSRC} && ${CP} ./MediaInfo/Project/GNU/CLI/AddThisToRoot_CLI_compile.sh ./CLI_Compile.sh) do-build: @(cd ${WRKSRC}/ZenLib/Project/GNU/Library/ && ${SH} ./autogen) @(cd ${WRKSRC}/MediaInfoLib/Project/GNU/Library/ && ${SH} ./autogen) @(cd ${WRKSRC}/MediaInfo/Project/GNU/CLI/ && ${SH} ./autogen) @(cd ${WRKSRC}/ && ${SH} ./CLI_Compile.sh --prefix=${PREFIX}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/MediaInfo/Project/GNU/CLI/mediainfo ${PREFIX}/bin .include