freebsd-ports/multimedia/libtheora/Makefile
Martin Wilke 503eed36bd - Update to 1.0a7
PR:		ports/102435
Submitted by:	Raaf <raaf(at)luna.afraid.org>
Approved by:	maintainer timeout
2006-09-13 06:55:05 +00:00

39 lines
1.1 KiB
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
CATEGORIES= multimedia
MASTER_SITES= http://downloads.xiph.org/releases/theora/ \
http://distfiles.master.finkmirrors.net/
MAINTAINER= rainer.alves@gmail.com
COMMENT= Theora video codec for the Ogg multimedia streaming system
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis
USE_BZIP2= yes
USE_GCC= 3.4+
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
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|sdl11-config|g; \
s|-O2||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|SDL/SDL.h|SDL11/SDL.h|g; \
s|machine/soundcard.h|sys/soundcard.h|g' \
${WRKSRC}/examples/player_example.c
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/examples/Makefile.in
@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>