summaryrefslogtreecommitdiffstats
path: root/misc/libsupertone/Makefile
blob: 4b3bbc4b31b5e449b0f2d9fd2383f83f44f7c437 (plain)
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
# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD$

PORTNAME=	libsupertone
PORTVERSION=	0.0.2
PORTREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	http://www.soft-switch.org/downloads/unicall/
EXTRACT_SUFX=	.tgz

MAINTAINER=	fjoe@FreeBSD.org
COMMENT=	Library for supervisory tone generation and detection

LICENSE=	LGPL21

LIB_DEPENDS=	libaudiofile.so:${PORTSDIR}/audio/libaudiofile \
		libspandsp.so:${PORTSDIR}/comms/spandsp-devel \
		libtiff.so:${PORTSDIR}/graphics/tiff \
		libxml2.so:${PORTSDIR}/textproc/libxml2

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

# Add missing dependency in attempt to fix parallel (-jX) builds
NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e '/DEPENDENCIES =/s,$$, $$(lib_LTLIBRARIES),' \
		${WRKSRC}/Makefile.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud