# Created by: dieringe@zedat.fu-berlin.de # $FreeBSD$ PORTNAME= dvda-author PORTVERSION= 09.05 PORTREVISION= 10 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= SF/dvd-audio/${PORTNAME}-core/${PORTNAME}-${PORTVERSION}-core DISTNAME= ${PORTNAME}-${PORTVERSION}-7 MAINTAINER= martin.dieringer@gmx.de COMMENT= Author and playback unencrypted and uncompressed Audio-DVDs LIB_DEPENDS= FLAC:${PORTSDIR}/audio/flac \ libogg.so:${PORTSDIR}/audio/libogg \ libsox.so:${PORTSDIR}/audio/sox \ libsamplerate.so:${PORTSDIR}/audio/libsamplerate \ libpng15.so:${PORTSDIR}/graphics/png MAN1= dvda-author.1 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/FLAC NO_STAGE= yes USE_AUTOTOOLS= libltdl USE_BZIP2= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-flac=${LOCALBASE}/lib/libFLAC.so \ --with-ogg=${LOCALBASE}/lib/libogg.so \ --enable-glibc USE_CSTD= gnu89 .include .if ! ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --docdir=${WRKDIR}/doc .endif post-patch: @${REINPLACE_CMD} 's|-std=c99||g' \ ${WRKSRC}/configure \ ${WRKSRC}/libats2wav/Makefile.in @${REINPLACE_CMD} 's|-std=c99 -O3||' \ ${WRKSRC}/fixwav/src/Makefile.in .include