diff options
author | lioux <lioux@FreeBSD.org> | 2002-10-06 02:54:12 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-10-06 02:54:12 +0800 |
commit | 9446fffdda2d0156c34862c463e97448b7bd4697 (patch) | |
tree | fbe4016e4c5f014e1b347f8a5bf5ea9559c49248 /multimedia/avifile/Makefile | |
parent | 282669af6d86fe03420cc65ac351dc16ce9e1855 (diff) | |
download | freebsd-ports-gnome-9446fffdda2d0156c34862c463e97448b7bd4697.tar.gz freebsd-ports-gnome-9446fffdda2d0156c34862c463e97448b7bd4697.tar.zst freebsd-ports-gnome-9446fffdda2d0156c34862c463e97448b7bd4697.zip |
o Update maintainer email
o Update to 0.7.16-20020913: this version has VIDIX support but only
running as 'root'
Approved by: maintainer
Diffstat (limited to 'multimedia/avifile/Makefile')
-rw-r--r-- | multimedia/avifile/Makefile | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile index c252e6bc439d..8289c0686250 100644 --- a/multimedia/avifile/Makefile +++ b/multimedia/avifile/Makefile @@ -6,14 +6,14 @@ # PORTNAME= avifile -PORTVERSION= 0.7.11.20020711 +PORTVERSION= 0.7.16.20020913 PORTEPOCH= 2 CATEGORIES= graphics MASTER_SITES= http://avifile.sourceforge.net/ DISTNAME= ${PORTNAME}-${PORTVERSION:C/.(.{8})$/-\1/} EXTRACT_SUFX= .tgz -MAINTAINER= holger@eit.uni-kl.de +MAINTAINER= holger@e-gitt.net BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm @@ -34,11 +34,13 @@ CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib `${ECHO_CMD} ${PTHREAD_LIBS}`" CONFIGURE_ARGS= --with-gnu-ld --enable-iconv \ - --program-transform-name='' \ --disable-divx4 +CONFIGURE_TARGET= PLIST_SUB= LIB_VERSION="${LIB_VERSION}" VERSION="${VERSION}" +MAN1= aviplay.1 + #CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs CODEC_PORT= ${.CURDIR}/../win32-codecs CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE @@ -49,6 +51,13 @@ SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config DIFF?= /usr/bin/diff FMT?= /usr/bin/fmt +.include <bsd.port.pre.mk> + +.if ${ARCH} != "i386" +WITHOUT_A52=yes +WITHOUT_XVID=yes +.endif + # compilation optimizations .if !defined(WITHOUT_OPTIMIZED_CFLAGS) CONFIGURE_ARGS+= --enable-release @@ -185,6 +194,9 @@ post-patch: .if !defined(WITHOUT_A52) @${REINPLACE_CMD} -e 's|-la52|${LIBA52_DEP_LIBS} -la52|' \ ${WRKSRC}/configure +# linux/ioctl.h -> sys/ioctl.h + @${REINPLACE_CMD} -e 's|linux/ioctl.h|sys/ioctl.h|' \ + ${WRKSRC}/drivers/libdha/kernelhelper/dhahelper.h # XXX - fool ffmpeg to use ports' version of liba52, revise this # at EVERY avifile update @${REINPLACE_CMD} -e 's|liba52/liba52.la|${LOCALBASE}/lib/liba52.la|; \ @@ -232,16 +244,11 @@ post-patch: @${FIND} ${WRKSRC} \( -name Makefile.in -o -name configure \) | \ ${XARGS} -n 10 ${REINPLACE_CMD} -E -e \ 's|INSTALL = \@INSTALL\@|INSTALL = ${INSTALL}|; \ - s!-release[[:space:]]+\$$\(LT_RELEASE\)!!; \ + s!-release[[:space:]]+\$$\([^\)]+\)!!; \ s!ACLOCAL =!ACLOCAL = ${TRUE} || !; \ s!AUTOCONF =!AUTOCONF = ${TRUE} || !; \ s!AUTOHEADER =!AUTOHEADER = ${TRUE} || !; \ s!AUTOMAKE =!AUTOMAKE = ${TRUE} || !' -# XXX - fix simple bugs in version.sh script, revise this -# at EVERY avifile update - @${REINPLACE_CMD} -E -e 's|^(last_cvs_update=).+$$|\1|; \ - s|cp[[:space:]]+-a|cp|' \ - ${WRKSRC}/admin/version.sh post-configure: # Libtool fix code kindly provided by Mr. Maxim Sobolev <sobomax@FreeBSD.org> @@ -257,8 +264,6 @@ post-install: .endif @${FMT} < ${PKGMESSAGE} -.include <bsd.port.pre.mk> - .if ${ARCH} == "i386" RUN_DEPENDS+= ${CODEC_DETECTION_FILE}:${CODEC_PORT} |