aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xmovie/Makefile
diff options
context:
space:
mode:
authorimura <imura@FreeBSD.org>2000-02-13 10:06:53 +0800
committerimura <imura@FreeBSD.org>2000-02-13 10:06:53 +0800
commitd23928a5751bc7758afe9a10bfaed51861de1e9c (patch)
treea1dd25a1f7044107208ef08fb7ba0f028d1b7b92 /multimedia/xmovie/Makefile
parentcf81bb36df14413040843dd87f202cdeda8bc37c (diff)
downloadfreebsd-ports-gnome-d23928a5751bc7758afe9a10bfaed51861de1e9c.tar.gz
freebsd-ports-gnome-d23928a5751bc7758afe9a10bfaed51861de1e9c.tar.zst
freebsd-ports-gnome-d23928a5751bc7758afe9a10bfaed51861de1e9c.zip
Initial import of xmovie-1.3.1.
A movie player for MPEG-2, DVD, and Quicktime movies PR: 16593 Submitted by: MIHIRA Yoshiro <sanpei@sanpei.org>
Diffstat (limited to 'multimedia/xmovie/Makefile')
-rw-r--r--multimedia/xmovie/Makefile67
1 files changed, 67 insertions, 0 deletions
diff --git a/multimedia/xmovie/Makefile b/multimedia/xmovie/Makefile
new file mode 100644
index 000000000000..470d9f5a6e6b
--- /dev/null
+++ b/multimedia/xmovie/Makefile
@@ -0,0 +1,67 @@
+# New ports collection makefile for: xmovie
+# Version required: 1.3
+# Date created: 20 December 1998
+# Whom: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= xmovie-i586-1.3.1
+PKGNAME= xmovie-1.3.1
+CATEGORIES= graphics
+MASTER_SITES= http://people.FreeBSD.org/~imura/distfiles/
+# Distfile has no version info. The original site is below.
+# MASTER_SITES= http://heroine.linuxbox.com/
+
+PATCH_SITES= ${RPM_MIRRORS:S/__DIR__/${STDDIR}/g}
+PATCHFILES= ${RPM_LIBJPEG} ${RPM_LIBPNG}
+
+MAINTAINER= sanpei@sanpei.org
+
+BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
+RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
+
+ONLY_FOR_ARCHS= i386
+DOC_DIR= ${PREFIX}/share/doc/xmovie
+NO_BUILD= yes
+USE_X_PREFIX= yes
+
+RPM_MIRRORS= \
+ ftp://ftp.cdrom.com/pub/linux/redhat/__DIR__/ \
+ ftp://ftp.redhat.com/redhat/__DIR__/ \
+ ftp://ftp.infomagic.com/pub/mirrors/linux/RedHat/__DIR__/ \
+ ftp://ftp.crc.ca/mirrors/by-site/ftp.redhat.com/redhat/__DIR__/ \
+ ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/__DIR__/ \
+ ftp://mirror.nucba.ac.jp/mirror/redhat/__DIR__/ \
+ ftp://ftp.is.co.za/linux/distributions/redhat/__DIR__/ \
+ ftp://mirror.aarnet.edu.au/pub/linux/redhat/__DIR__/
+STDDIR= redhat-6.1/${MACHINE_ARCH}/RedHat/RPMS
+RPM_LIBJPEG= libjpeg-6b-9.i386.rpm
+RPM_LIBPNG= libpng-1.0.3-4.i386.rpm
+DBPATH= /var/lib/rpm
+LINUX_PREFIX= /compat/linux
+RPMFLAGS= --ignoreos --root ${LINUX_PREFIX} --dbpath ${DBPATH} \
+ --nodeps --replacepkgs
+RPMDIR= ${DISTDIR}
+
+do-patch:
+ @${DO_NADA}
+
+do-install:
+#
+# Install Linux libraries
+#
+ @for R in ${PATCHFILES}; do \
+ ${ECHO} $$R; \
+ rpm -U ${RPMFLAGS} ${RPMDIR}/$$R; \
+ done
+ @${INSTALL_PROGRAM} ${WRKSRC}/xmovie ${PREFIX}/bin
+ @brandelf -t Linux ${PREFIX}/bin/xmovie
+ @${INSTALL_PROGRAM} ${WRKSRC}/mpeg2toc ${PREFIX}/bin
+ @brandelf -t Linux ${PREFIX}/bin/mpeg2toc
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOC_DIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOC_DIR}/README
+ @${INSTALL_DATA} ${WRKSRC}/docs/index.html ${DOC_DIR}/index.html
+.endif
+.include <bsd.port.mk>