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

PORTNAME=	ccaudio
PORTVERSION=	1.1.3
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
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

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

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

.include <bsd.port.mk>