freebsd-ports/multimedia/xvid/Makefile
Michael Nottebrock 500fe7a721 Add WITH_OPTIMIZED_CFLAGS knob which will allow xvid to choose
CFLAGS from its own (quite large) set of defaults for various compilers
and platforms.
2004-06-24 23:56:34 +00:00

34 lines
782 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.0.1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= multimedia
MASTER_SITES= http://files.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
INSTALLS_SHLIB= yes
USE_GCC= 3.3
WRKSRC= ${WRKDIR}/${DISTNAME}/build/generic
.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.mk>