2aeec952a1
- Add missing LIB_DEPENDS and solve a stage-qa error libogg is a required dependency. PORTREVISION was not bumped because libogg is already a package dependency via audio/libvorbis. from README: Requirements summary: For libtheora: libogg 1.1 or newer. ====> Running Q/A tests (stage-qa) Error: /usr/local/lib/libtheora.so.0.3.10 is linked to /usr/local/lib/libogg.so.0 from audio/libogg but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libogg.so:audio/libogg Approved by: portmgr (blanket)
39 lines
1,021 B
Makefile
39 lines
1,021 B
Makefile
# Created by: Koop Mast <kwm@rainbow-runner.nl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libtheora
|
|
PORTVERSION= 1.1.1
|
|
PORTREVISION= 7
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://downloads.xiph.org/releases/theora/ \
|
|
http://distfiles.master.finkmirrors.net/
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= Theora video codec for the Ogg multimedia streaming system
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libogg.so:audio/libogg \
|
|
libvorbis.so:audio/libvorbis
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-sdltest \
|
|
--disable-examples
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
INSTALL_TARGET= install-strip
|
|
USES= libtool pathfix tar:bzip2
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e 's, x86_64), x86_64|amd64),; \
|
|
/ac_lib/ s,compat,,' ${WRKSRC}/configure
|
|
.if ${ARCH}=="amd64"
|
|
@${REINPLACE_CMD} -e 's|#define OC_X86_ASM|#undef OC_X86_ASM|' ${WRKSRC}/configure
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|