1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/multimedia/mtv/Makefile
2003-07-12 10:37:02 +00:00

48 lines
1.3 KiB
Makefile

# New ports collection makefile for: mtv
# Date created: 30 Jan 2000
# Whom: kris
#
# $FreeBSD$
#
PORTNAME= mtv
PORTVERSION= 1.2.5
CATEGORIES= multimedia linux
MASTER_SITES= ftp://ftp.mpegtv.com/pub/mpeg/mpegtv/player/x86-unknown-linux-glibc/packages/TGZ/
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz libSDLx11.so.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= High-performance MPEG video player (shareware)
RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz
NO_PACKAGE= "No redistribution"
NO_CDROM= "No redistribution"
NO_BUILD= yes
NO_FILTER_SHLIBS=yes
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/mtv
MAN1= mtv.1
do-install:
@${MKDIR} ${WRKDIR}/libSDLx11
@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/libSDLx11.so.tar.gz \
${EXTRACT_AFTER_ARGS} -C ${WRKDIR}/libSDLx11
${INSTALL_DATA} ${WRKDIR}/libSDLx11/libSDLx11.so.0.9.9 \
${LINUXBASE}/usr/X11R6/lib
${LINUXBASE}/sbin/ldconfig
${INSTALL_SCRIPT} ${WRKSRC}/mtv ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/mtvp ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mtv.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/mtv
.for file in LICENSE README README-Fullscreen README-mtv-redhat \
release-notes.html
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mtv
.endfor
.endif
.include <bsd.port.mk>