diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-10-13 12:49:38 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-10-13 12:49:38 +0000 |
commit | bcae81122d692899b16bb081a5ac7e1f495500b2 (patch) | |
tree | 0497c3fa6a3bbf7a77b8a95c939d53ec8ecfd03f /multimedia | |
parent | 6c7bbb99fce3181479ed1acb24edd1517496fd42 (diff) | |
download | ports-bcae81122d692899b16bb081a5ac7e1f495500b2.tar.gz ports-bcae81122d692899b16bb081a5ac7e1f495500b2.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xvid/Makefile | 17 | ||||
-rw-r--r-- | multimedia/xvid/pkg-plist | 4 |
2 files changed, 14 insertions, 7 deletions
diff --git a/multimedia/xvid/Makefile b/multimedia/xvid/Makefile index 561c5ee0ff0f..646fffba6c52 100644 --- a/multimedia/xvid/Makefile +++ b/multimedia/xvid/Makefile @@ -8,6 +8,7 @@ PORTNAME= xvid PORTVERSION= 1.1.3 PORTEPOCH= 1 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://downloads.xvid.org/downloads/ DISTNAME= ${PORTNAME}core-${PORTVERSION} @@ -15,17 +16,27 @@ DISTNAME= ${PORTNAME}core-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= An opensource MPEG-4 codec, based on OpenDivx -BUILD_DEPENDS= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm - GNU_CONFIGURE= yes USE_LDCONFIG= yes -WRKSRC= ${WRKDIR}/${DISTNAME}/build/generic +PLIST_FILES= include/xvid.h \ + lib/libxvidcore.a \ + lib/libxvidcore.so \ + lib/libxvidcore.so.4 + +WRKSRC= ${WRKDIR}/${DISTNAME}/build/generic OPTIONS= OPTIMIZED_CFLAGS "Use XviD's default optimizations" off .include <bsd.port.pre.mk> +.if ${ARCH} == "amd64" +CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} +.endif +.if ${ARCH} == "amd64" || ${ARCH} == "i386" +BUILD_DEPENDS+= yasm:${PORTSDIR}/devel/yasm +.endif + .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS= # let xvid's build system decide about those .endif diff --git a/multimedia/xvid/pkg-plist b/multimedia/xvid/pkg-plist deleted file mode 100644 index dfc271b1e300..000000000000 --- a/multimedia/xvid/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -include/xvid.h -lib/libxvidcore.a -lib/libxvidcore.so -lib/libxvidcore.so.4 |