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

PORTNAME=   ccaudio
PORTVERSION=    1.1.4
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
USE_AUTOTOOLS=  libtool:15:inc
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>

.if ${ARCH} == "amd64"
BROKEN=     "Does not build on amd64 (shared libraries must be compiled with -fPIC)"
.endif

post-patch:
    @${REINPLACE_CMD} -e \
        's|<stdint\.h>|<stdlib.h>|g' ${WRKSRC}/src/dtmf.cpp

pre-configure:
    @${CP} ${LTMAIN} ${WRKSRC}/config

.include <bsd.port.post.mk>