On 2013/09/18 15:35, Dmitrij D. Czarkoff wrote:
> Hello!
> 
> I prepared a port of MediaInfo - media files analysis utility. Comments? OKs?

It would be a bit more standard with the changes from the diff below.
I don't like the "do-build" much though, this *is* running normal
autoconf scripts internally so it would really be better to find
a way to use CONFIGURE_STYLE=gnu which passes in the normal
flags/variables and, importantly, copies in correct versions of
config.status/config.guess/config.cache...

Other things, doesn't honour CFLAGS/CXXFLAGS, CC/CXX, and I haven't
tried but it looks like it may pick up textproc/tinyxml if installed at
build time.

> begin-base64 644 MediaInfo.tgz

MIME attachments are preferred.


diff --git a/Makefile b/Makefile
index 528abea..c28b3b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
 # $OpenBSD$
 
 V =                    0.7.64
-DISTNAME =             MediaInfo-${V}
+DISTNAME =             MediaInfo_CLI_${V}_GNU_FromSource
+PKGNAME =              mediainfo-${V}
 COMMENT =              multimedia files analysis tool
 CATEGORIES =           multimedia
 HOMEPAGE =             http://mediaarea.net/
@@ -12,13 +13,13 @@ PERMIT_PACKAGE_CDROM =      Yes
 
 WANTLIB = c crypto curl glib-2.0 iconv idn intl m mms pcre pthread ssl stdc++ z
 
-MASTER_SITES =         
${MASTER_SITE_SOURCEFORGE:=mediainfo/binary/mediainfo/${V}/}
-MASTER_SITES0 =                ${HOMEPAGE:=download/binary/mediainfo/${V}/}
+MASTER_SITES =         
${MASTER_SITE_SOURCEFORGE:=mediainfo/binary/mediainfo/${V}/} \
+                       http://mediaarea.net/download/binary/mediainfo/${V}/
 
-DISTFILES =            MediaInfo_CLI_0.7.64_GNU_FromSource${EXTRACT_SUFX}
 EXTRACT_SUFX =         .tar.bz2
 
-LIB_DEPENDS =          multimedia/libmms net/curl
+LIB_DEPENDS =          multimedia/libmms \
+                       net/curl
 
 WRKDIST =              ${WRKDIR}/MediaInfo_CLI_GNU_FromSource
 


Reply via email to