mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
43 lines
1.1 KiB
Makefile
43 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
|
|
PORTVERSION= 1.0.a4
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://downloads.xiph.org/releases/theora/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a4/alpha4/}
|
|
|
|
MAINTAINER= kwm@FreeBSD.org
|
|
COMMENT= Theora video codec for the Ogg multimedia streaming system
|
|
|
|
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
USE_REINPLACE= yes
|
|
USE_BZIP2= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
INSTALLS_SHLIB= 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>
|