2002-04-09 01:38:02 +02:00
|
|
|
# New ports collection makefile for: xvid
|
|
|
|
# Date created: 04 April 2002
|
|
|
|
# Whom: Michael Nottebrock <michaelnottebrock@gmx.net> et al
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xvid
|
2007-06-29 15:11:18 +02:00
|
|
|
PORTVERSION= 1.1.3
|
2003-01-10 21:23:38 +01:00
|
|
|
PORTEPOCH= 1
|
2003-03-29 18:25:54 +01:00
|
|
|
CATEGORIES= multimedia
|
2005-07-06 00:26:16 +02:00
|
|
|
MASTER_SITES= http://downloads.xvid.org/downloads/
|
2003-03-29 18:25:54 +01:00
|
|
|
DISTNAME= ${PORTNAME}core-${PORTVERSION}
|
2002-04-09 01:38:02 +02:00
|
|
|
|
2003-08-13 00:27:30 +02:00
|
|
|
MAINTAINER= lofi@freebsd.org
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= An opensource MPEG-4 codec, based on OpenDivx
|
2002-04-09 01:38:02 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm
|
|
|
|
|
2003-08-13 00:27:30 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-04-09 01:38:02 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2007-05-25 13:36:35 +02:00
|
|
|
USE_GCC?= 3.4+
|
2002-04-09 01:38:02 +02:00
|
|
|
|
2003-01-10 21:23:38 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build/generic
|
2002-04-09 01:38:02 +02:00
|
|
|
|
2006-06-26 18:21:35 +02:00
|
|
|
OPTIONS= OPTIMIZED_CFLAGS "Use XviD's default optimizations" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-06-25 01:56:34 +02:00
|
|
|
.if defined(WITH_OPTIMIZED_CFLAGS)
|
|
|
|
CFLAGS= # let xvid's build system decide about those
|
|
|
|
.endif
|
|
|
|
|
2003-03-29 18:25:54 +01:00
|
|
|
post-install:
|
2004-06-13 22:35:22 +02:00
|
|
|
@ ${LN} -sf ${PREFIX}/lib/libxvidcore.so.4 ${PREFIX}/lib/libxvidcore.so
|
2002-07-24 21:15:26 +02:00
|
|
|
|
2006-06-26 18:21:35 +02:00
|
|
|
.include <bsd.port.post.mk>
|