2004-02-25 09:45:59 +01:00
|
|
|
# New ports collection makefile for: theora
|
|
|
|
# Date created: 09 februari 2003
|
|
|
|
# Whom: Koop Mast <kwm@rainbow-runner.nl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libtheora
|
2009-12-21 04:00:51 +01:00
|
|
|
PORTVERSION= 1.1.1
|
2012-07-19 22:15:37 +02:00
|
|
|
PORTREVISION= 3
|
2005-01-13 22:48:19 +01:00
|
|
|
CATEGORIES= multimedia
|
2006-05-07 04:56:52 +02:00
|
|
|
MASTER_SITES= http://downloads.xiph.org/releases/theora/ \
|
|
|
|
http://distfiles.master.finkmirrors.net/
|
2004-02-25 09:45:59 +01:00
|
|
|
|
2007-10-09 19:41:39 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2004-02-25 09:45:59 +01:00
|
|
|
COMMENT= Theora video codec for the Ogg multimedia streaming system
|
|
|
|
|
2007-07-28 14:27:31 +02:00
|
|
|
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis
|
2004-02-25 09:45:59 +01:00
|
|
|
|
2005-01-13 20:00:03 +01:00
|
|
|
USE_BZIP2= yes
|
2006-09-13 08:55:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2009-03-24 17:58:56 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2007-10-09 20:18:20 +02:00
|
|
|
USE_GNOME= ltverhack
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= LIBS="${PTHEAD_LIBS}"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-12-19 20:40:10 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-sdltest \
|
2007-10-09 20:18:20 +02:00
|
|
|
--enable-shared \
|
|
|
|
--disable-examples
|
2006-12-19 20:40:10 +01:00
|
|
|
|
2009-12-21 04:00:51 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-02-25 09:45:59 +01:00
|
|
|
post-patch:
|
2005-01-13 20:00:03 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
|
2009-12-29 23:30:01 +01:00
|
|
|
@${REINPLACE_CMD} -e 's, x86_64), x86_64|amd64),; \
|
|
|
|
/ac_lib/ s,compat,,' ${WRKSRC}/configure
|
2009-12-21 04:00:51 +01:00
|
|
|
.if ${ARCH}=="amd64"
|
|
|
|
@${REINPLACE_CMD} -e 's|#define OC_X86_ASM|#undef OC_X86_ASM|' ${WRKSRC}/configure
|
|
|
|
.endif
|
2004-02-25 09:45:59 +01:00
|
|
|
|
2009-12-21 04:00:51 +01:00
|
|
|
.include <bsd.port.post.mk>
|