2000-09-19 12:18:15 -04:00
|
|
|
# New ports collection makefile for: avifile
|
|
|
|
# Date created: 16 September 2000
|
|
|
|
# Whom: Holger Lamm
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= avifile
|
2000-10-20 11:18:10 -04:00
|
|
|
PORTVERSION= 0.50
|
2000-09-19 12:18:15 -04:00
|
|
|
CATEGORIES= graphics
|
2000-10-09 11:52:17 -04:00
|
|
|
MASTER_SITES= http://ernie.eit.uni-kl.de/avifile/ \
|
|
|
|
http://divx.euro.ru/ \
|
|
|
|
http://www.toon.eu.org/divx/
|
|
|
|
DISTFILES= avifile-${PORTVERSION}.tar.gz \
|
|
|
|
binaries-${CODEC_VERSION}.zip
|
|
|
|
EXTRACT_ONLY= avifile-${PORTVERSION}.tar.gz
|
2000-09-19 12:18:15 -04:00
|
|
|
|
|
|
|
MAINTAINER= holger@eit.uni-kl.de
|
|
|
|
|
2000-10-09 11:52:17 -04:00
|
|
|
LIB_DEPENDS= SDL-1.1.2:${PORTSDIR}/devel/sdl-devel
|
2000-09-19 12:18:15 -04:00
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
|
2000-10-09 11:52:17 -04:00
|
|
|
RESTRICTED= Unsure of codec\'s license
|
|
|
|
RESTRICTED_FILES= binaries-${CODEC_VERSION}.zip
|
|
|
|
|
2000-09-19 12:18:15 -04:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2000-10-09 11:52:17 -04:00
|
|
|
USE_QT2= yes
|
2000-09-19 12:18:15 -04:00
|
|
|
USE_XLIB= yes
|
2000-10-09 11:52:17 -04:00
|
|
|
USE_GMAKE= yes
|
2000-10-20 11:18:10 -04:00
|
|
|
USE_AUTOCONF= yes
|
2000-10-09 11:52:17 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-09-19 12:18:15 -04:00
|
|
|
|
2000-10-09 11:52:17 -04:00
|
|
|
HAS_CONFIGURE= yes
|
2000-09-19 12:18:15 -04:00
|
|
|
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
|
|
|
|
MOC="${MOC}"
|
2000-10-09 11:52:17 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-mmx \
|
2000-09-19 12:18:15 -04:00
|
|
|
--with-qt-includes=${X11BASE}/include/qt2 \
|
2000-10-09 11:52:17 -04:00
|
|
|
--with-qt-libraries=${X11BASE}/lib \
|
2000-09-19 12:18:15 -04:00
|
|
|
--with-win32-path=${LOCALBASE}/lib/win32
|
|
|
|
|
2000-10-09 11:52:17 -04:00
|
|
|
CODEC_VERSION= 000918
|
|
|
|
|
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
|
|
|
MOC?= ${X11BASE}/bin/moc2
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${LOCALBASE}/bin/unzip ${DISTDIR}/binaries-${CODEC_VERSION}.zip \
|
|
|
|
-d ${WRKDIR}/codecs
|
|
|
|
|
|
|
|
#post-build:
|
|
|
|
# (cd ${WRKSRC}/samples && ${SETENV} ${MAKE_ENV} ${GMAKE})
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/lib/win32
|
|
|
|
@${INSTALL_DATA} ${WRKDIR}/codecs/* ${PREFIX}/lib/win32
|
|
|
|
@/usr/bin/fmt < ${PKGMESSAGE}
|
|
|
|
|
2000-09-19 12:18:15 -04:00
|
|
|
.include <bsd.port.mk>
|