aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ccaudio/Makefile
blob: 5da1025c32ec8552084d56fd1793248daefd7a53 (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
# New ports collection makefile for:    ccaudio
# Date created:             26 July 2000
# Whom:                 David Sugar <dyfet@gnu.org>
#
# $FreeBSD$
#

PORTNAME=   ccaudio
PORTVERSION=    1.1.4
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnutelephony

MAINTAINER= ports@FreeBSD.org
COMMENT=    C++ class framework for manipulating audio files

LIB_DEPENDS=    ccgnu2-1.3.1:${PORTSDIR}/devel/commoncpp

USE_GNOME=  gnometarget
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
USE_GCC=    3.4
INSTALL_TARGET= install man
INSTALLS_SHLIB= yes

MAN3=       Audio.3cc AudioCodec.3cc AudioCopy.3cc AudioFile.3cc \
        AudioSample.3cc AudioTone.3cc CDAudio.3cc DTMFDetect.3cc \
        LinearSample.3cc

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e \
        's|<stdint\.h>|<stdlib.h>|g' ${WRKSRC}/src/dtmf.cpp
    @${REINPLACE_CMD} -e \
        's|@CXXFLAGS@|& $$(g_711_CXXFLAGS)|' ${WRKSRC}/dso/Makefile.in

.include <bsd.port.post.mk>