freebsd-ports/multimedia/linux-xmovie/Makefile
Boris Samorodov 0263b9d868 Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.

The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.

The idea was taken from bsd.gnome.mk and others.

More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.

Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.

Other changes are coming. Stay tuned!

PR:		ports/132510
Submitted by:	bsam (me)
Exp-run by:	portmgr (pav)
2009-03-19 17:28:51 +00:00

38 lines
867 B
Makefile

# New ports collection makefile for: xmovie
# Date created: 20 December 1998
# Whom: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
#
# $FreeBSD$
#
PORTNAME= xmovie
PORTVERSION= 1.9.8.1
PORTREVISION= 3
CATEGORIES= multimedia linux
MASTER_SITES= SF/heroines
PKGNAMEPREFIX= linux-
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}.i386.rpm
EXTRACT_SUFX=
MAINTAINER= multimedia@FreeBSD.org
COMMENT= A movie player for AVI, MPEG-2/4 and MOV movies
EXTRACT_DEPENDS=rpm2cpio:${PORTSDIR}/archivers/rpm
ONLY_FOR_ARCHS= i386
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
EXTRACT_CMD= rpm2cpio
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= | ${CPIO} -id --quiet
NO_BUILD= yes
PLIST_FILES= bin/xmovie
WRKSRC= ${WRKDIR}/usr/bin
pre-install:
@${BRANDELF} -t Linux ${WRKSRC}/${PORTNAME}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>