freebsd-ports/multimedia/xvid/Makefile
Pav Lucistnik efa63f6ba4 - Remove USE_GCC where it can be satisfied with base compiler on following
FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
2008-07-25 14:34:52 +00:00

36 lines
854 B
Makefile

# New ports collection makefile for: xvid
# Date created: 04 April 2002
# Whom: Michael Nottebrock <michaelnottebrock@gmx.net> et al
#
# $FreeBSD$
#
PORTNAME= xvid
PORTVERSION= 1.1.3
PORTEPOCH= 1
CATEGORIES= multimedia
MASTER_SITES= http://downloads.xvid.org/downloads/
DISTNAME= ${PORTNAME}core-${PORTVERSION}
MAINTAINER= lofi@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
OPTIONS= OPTIMIZED_CFLAGS "Use XviD's default optimizations" off
.include <bsd.port.pre.mk>
.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS= # let xvid's build system decide about those
.endif
post-install:
@ ${LN} -sf ${PREFIX}/lib/libxvidcore.so.4 ${PREFIX}/lib/libxvidcore.so
.include <bsd.port.post.mk>