summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mtv/Makefile42
-rw-r--r--graphics/mtv/files/md54
-rw-r--r--graphics/mtv/pkg/COMMENT1
-rw-r--r--graphics/mtv/pkg/DESCR5
-rw-r--r--graphics/mtv/pkg/PLIST3
5 files changed, 55 insertions, 0 deletions
diff --git a/graphics/mtv/Makefile b/graphics/mtv/Makefile
new file mode 100644
index 00000000000..e7c37d0d0e2
--- /dev/null
+++ b/graphics/mtv/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/05/17 12:40:42 tron Exp $
+
+DISTNAME= mtv-1.0.9.2
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.mpegtv.com/pub/mpeg/mpegtv/player/x86-unknown-linux-glibc/packages/RPMS/ \
+ ftp://ftp.mpeg.org/pub/mpeg/mpegtv/player/x86-unknown-linux-glibc/packages/RPMS/
+DISTFILES= ${DISTNAME}-1.i386.rpm SDL-0.9.9-5.i386.rpm
+ONLY_FOR_ARCHS= i386
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.mpegtv.com/
+
+DEPENDS+= suse_xforms-6.1:../../emulators/suse_xforms
+
+DIST_SUBDIR= mtv
+LICENSE= fee-based-commercial-use
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+NO_PATCH= yes
+NO_CONFIGURE= yes
+NO_WRKSUBDIR= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+EMULSUBDIR= emul/linux
+EMULDIR= ${PREFIX}/${EMULSUBDIR}
+SBINDIR= ${PREFIX}/sbin
+
+do-install:
+ @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+.for FILE in mtv mtvp
+ ${LN} -fs ../${EMULSUBDIR}/usr/X11R6/bin/${FILE} ${PREFIX}/bin
+.endfor
+ cd ${_DISTDIR} && \
+ ${SBINDIR}/rpm2pkg ${DISTFILES} >>${PLIST_SRC}
+ @${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" >>${PLIST_SRC}
+ ${EMULDIR}/sbin/ldconfig -r ${EMULDIR} || ${TRUE}
+
+show-shlib-type:
+ @${ECHO} linux-${MACHINE_ARCH}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/mtv/files/md5 b/graphics/mtv/files/md5
new file mode 100644
index 00000000000..0bd6f476477
--- /dev/null
+++ b/graphics/mtv/files/md5
@@ -0,0 +1,4 @@
+$NetBSD: md5,v 1.1.1.1 1999/05/17 12:40:42 tron Exp $
+
+MD5 (mtv/mtv-1.0.9.2-1.i386.rpm) = 03faa3be4992350e15d0c57bedb0ae1b
+MD5 (mtv/SDL-0.9.9-5.i386.rpm) = 701a391e37723bbb2472f08440678ae7
diff --git a/graphics/mtv/pkg/COMMENT b/graphics/mtv/pkg/COMMENT
new file mode 100644
index 00000000000..fcaa1eb8129
--- /dev/null
+++ b/graphics/mtv/pkg/COMMENT
@@ -0,0 +1 @@
+MPEG Video+Audio and VCD Player
diff --git a/graphics/mtv/pkg/DESCR b/graphics/mtv/pkg/DESCR
new file mode 100644
index 00000000000..c96517c9464
--- /dev/null
+++ b/graphics/mtv/pkg/DESCR
@@ -0,0 +1,5 @@
+MpegTV Player (mtv) is a realtime software MPEG-1 Video+Audio Player
+and VCD Player. It supports full-screen mode, can play from file,
+pipe, network URL, or Video CD.
+
+Contact Information: info@mpegtv.com
diff --git a/graphics/mtv/pkg/PLIST b/graphics/mtv/pkg/PLIST
new file mode 100644
index 00000000000..10a064af208
--- /dev/null
+++ b/graphics/mtv/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/17 12:40:42 tron Exp $
+bin/mtv
+bin/mtvp