freebsd-ports/multimedia/libtheora/Makefile
2007-07-28 12:27:31 +00:00

38 lines
882 B
Makefile

# New ports collection makefile for: theora
# Date created: 09 februari 2003
# Whom: Koop Mast <kwm@rainbow-runner.nl>
#
# $FreeBSD$
#
PORTNAME= libtheora
DISTVERSION= 1.0alpha7
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://downloads.xiph.org/releases/theora/ \
http://distfiles.master.finkmirrors.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= Theora video codec for the Ogg multimedia streaming system
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis
USE_BZIP2= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include " \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="${PTHEAD_LIBS}"
CONFIGURE_ARGS+=--disable-sdltest \
--enable-shared
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
CONFIGURE_ARGS+=--disable-asm
.endif
post-patch:
@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>