diff options
Diffstat (limited to 'multimedia/linux-xmovie/Makefile')
-rw-r--r-- | multimedia/linux-xmovie/Makefile | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/multimedia/linux-xmovie/Makefile b/multimedia/linux-xmovie/Makefile index 2ff1c71e4843..bf6325e8716b 100644 --- a/multimedia/linux-xmovie/Makefile +++ b/multimedia/linux-xmovie/Makefile @@ -6,27 +6,28 @@ # PORTNAME= xmovie -PORTVERSION= 1.3.1 -PORTREVISION= 1 +PORTVERSION= 1.5.2.1 CATEGORIES= graphics linux -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= imura -# Distfile has no version info. The original site is below. -# MASTER_SITES= http://heroine.linuxbox.com/ -DISTNAME= ${PORTNAME}-i586-${PORTVERSION} +MASTER_SITES= http://heroine.linuxave.net/ +DISTFILES= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}.i386.rpm MAINTAINER= sanpei@FreeBSD.org +BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm \ + rpm2cpio:${PORTSDIR}/misc/rpm2cpio RUN_DEPENDS= ${LINUX_BASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \ ${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 ONLY_FOR_ARCHS= i386 DOC_DIR= ${PREFIX}/share/doc/xmovie +EXTRACT_CMD= rpm2cpio +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= | cpio -id --quiet LINUX_BASE= /compat/linux NO_BUILD= yes USE_X_PREFIX= yes -WRKSRC= ${WRKDIR}/xmovie-i586 +NO_WRKSUBDIR= yes # 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. @@ -36,13 +37,11 @@ do-patch: @${DO_NADA} do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/xmovie ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/usr/local/bin/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 + @${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 .endif .include <bsd.port.mk> |