diff options
Diffstat (limited to 'graphics/avifile/Makefile')
-rw-r--r-- | graphics/avifile/Makefile | 49 |
1 files changed, 34 insertions, 15 deletions
diff --git a/graphics/avifile/Makefile b/graphics/avifile/Makefile index e217d78c8ded..ab1737f02032 100644 --- a/graphics/avifile/Makefile +++ b/graphics/avifile/Makefile @@ -6,33 +6,52 @@ # PORTNAME= avifile -PORTVERSION= 0.47.1 +PORTVERSION= 0.49 CATEGORIES= graphics -MASTER_SITES= http://divx.euro.ru/ -DISTFILES= avifile-${PORTVERSION}${EXTRACT_SUFX} binaries.zip -EXTRACT_ONLY= avifile-${PORTVERSION}${EXTRACT_SUFX} +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 MAINTAINER= holger@eit.uni-kl.de -LIB_DEPENDS= qt2.4:${PORTSDIR}/x11-toolkits/qt22 \ - SDL-1.1.2:${PORTSDIR}/devel/sdl-devel +LIB_DEPENDS= SDL-1.1.2:${PORTSDIR}/devel/sdl-devel BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip +RESTRICTED= Unsure of codec\'s license +RESTRICTED_FILES= binaries-${CODEC_VERSION}.zip + ONLY_FOR_ARCHS= i386 -USE_GMAKE= yes +USE_QT2= yes USE_XLIB= yes -HAS_CONFIGURE= yes - -SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config -MOC?= ${X11BASE}/bin/moc2 +USE_GMAKE= yes +INSTALLS_SHLIB= yes +HAS_CONFIGURE= yes CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ MOC="${MOC}" -CONFIGURE_ARGS= --enable-mmx \ +CONFIGURE_ARGS+= --enable-mmx \ --with-qt-includes=${X11BASE}/include/qt2 \ + --with-qt-libraries=${X11BASE}/lib \ --with-win32-path=${LOCALBASE}/lib/win32 -pre-install: - unzip ${DISTDIR}/binaries.zip -d ${LOCALBASE}/lib/win32 - strip ${WRKSRC}/bin/aviplay ${WRKSRC}/bin/benchmark +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} + .include <bsd.port.mk> |