mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
5978476c35
LIB_DEPENDS in audio With hat: portmgr
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# 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= libFLAC.so:${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 <bsd.port.options.mk>
|
|
|
|
.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 <bsd.port.mk>
|