blob: a50f1aa18e4f685eba8c512b214aef30422c79e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Created by: dieringe@zedat.fu-berlin.de
# $FreeBSD$
PORTNAME= dvda-author
PORTVERSION= 09.05
PORTREVISION= 8
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.10:${PORTSDIR}/audio/flac \
ogg:${PORTSDIR}/audio/libogg \
sox.1:${PORTSDIR}/audio/sox \
samplerate.1:${PORTSDIR}/audio/libsamplerate \
png15:${PORTSDIR}/graphics/png
MAN1= dvda-author.1
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/FLAC
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>
|