2000-02-12 21:06:53 -05:00
|
|
|
# New ports collection makefile for: xmovie
|
|
|
|
# Date created: 20 December 1998
|
|
|
|
# Whom: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 06:48:02 -04:00
|
|
|
PORTNAME= xmovie
|
2001-04-07 21:29:52 -04:00
|
|
|
PORTVERSION= 1.6.1
|
2000-02-28 03:34:04 -05:00
|
|
|
CATEGORIES= graphics linux
|
2000-12-04 23:00:18 -05:00
|
|
|
MASTER_SITES= http://heroines.sourceforge.net/
|
2000-10-08 08:21:43 -04:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}.i386.rpm
|
2000-02-12 21:06:53 -05:00
|
|
|
|
2000-08-03 10:28:33 -04:00
|
|
|
MAINTAINER= sanpei@FreeBSD.org
|
2000-02-12 21:06:53 -05:00
|
|
|
|
2001-03-20 15:28:14 -05:00
|
|
|
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm
|
2000-04-22 16:40:17 -04:00
|
|
|
RUN_DEPENDS= ${LINUX_BASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
|
2000-09-28 10:49:38 -04:00
|
|
|
${LINUX_BASE}/usr/lib/libjpeg.so.62.0.0:${PORTSDIR}/graphics/linux-jpeg \
|
|
|
|
${LINUX_BASE}/usr/lib/libpng.so.2.1.0.3:${PORTSDIR}/graphics/linux-png
|
2000-02-12 21:06:53 -05:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
DOC_DIR= ${PREFIX}/share/doc/xmovie
|
2000-10-08 08:21:43 -04:00
|
|
|
EXTRACT_CMD= rpm2cpio
|
|
|
|
EXTRACT_BEFORE_ARGS=
|
|
|
|
EXTRACT_AFTER_ARGS= | cpio -id --quiet
|
2000-04-22 16:40:17 -04:00
|
|
|
LINUX_BASE= /compat/linux
|
2000-02-12 21:06:53 -05:00
|
|
|
NO_BUILD= yes
|
|
|
|
USE_X_PREFIX= yes
|
2000-10-08 08:21:43 -04:00
|
|
|
NO_WRKSUBDIR= yes
|
2000-02-12 21:06:53 -05:00
|
|
|
|
2000-05-28 23:51:37 -04:00
|
|
|
# Linux binary should not be stripped by INSTALL_PROGRAM as it uses
|
|
|
|
# /usr/bin/strip which then brands the binary as a FreeBSD ELF one.
|
|
|
|
STRIP=
|
|
|
|
|
2000-02-12 21:06:53 -05:00
|
|
|
do-patch:
|
|
|
|
@${DO_NADA}
|
|
|
|
|
|
|
|
do-install:
|
2000-10-08 08:21:43 -04:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/usr/local/bin/xmovie ${PREFIX}/bin
|
2000-02-12 21:06:53 -05:00
|
|
|
@brandelf -t Linux ${PREFIX}/bin/xmovie
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOC_DIR}
|
2000-10-08 08:21:43 -04:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/usr/doc/xmovie-${PORTVERSION:R}/README ${DOC_DIR}/README
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/usr/doc/xmovie-${PORTVERSION:R}/index.html ${DOC_DIR}/index.html
|
2000-02-12 21:06:53 -05:00
|
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|