summaryrefslogtreecommitdiff
path: root/graphics/mtv/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-05-17 12:40:42 +0000
committertron <tron@pkgsrc.org>1999-05-17 12:40:42 +0000
commita6aaf46af19e6f41ea7147cef848452317e34e76 (patch)
treedd8d7da80fbfd7867b2c2fa7ba75e8a4dd0b1adf /graphics/mtv/Makefile
parentb1c00c6a582df5c8bb8051b0a733c883e6510b53 (diff)
downloadpkgsrc-a6aaf46af19e6f41ea7147cef848452317e34e76.tar.gz
Import new "mtv" package: MPEG Video+Audio and VCD Player
Diffstat (limited to 'graphics/mtv/Makefile')
-rw-r--r--graphics/mtv/Makefile42
1 files changed, 42 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"