aboutsummaryrefslogtreecommitdiffstats
path: root/comms/spandsp-devel5/Makefile
blob: 6d3c9b8bc5069074f19703b149f2506221bf705d (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
# New ports collection makefile for:    spandsp-devel
# Date created:     2007-01-13
# Whom:         Joe Holden <joe@joeholden.co.uk>
#
# $FreeBSD$
#

PORTNAME=   spandsp
PORTVERSION=    0.0.5.p3
CATEGORIES= comms
MASTER_SITES=   http://www.soft-switch.org/downloads/spandsp/ \
        ftp://ftp.rewt.org.uk/pub/distfiles/
PKGNAMESUFFIX=  -devel
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.p/pre/}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    A DSP library and software FAX machine

LIB_DEPENDS=    tiff.4:${PORTSDIR}/graphics/tiff

WRKSRC=     ${WRKDIR}/spandsp-0.0.5
USE_AUTOTOOLS=  libtool15
USE_GMAKE=  yes

GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

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

USE_LDCONFIG=   yes

CONFLICTS=  spandsp-[0-9]*

.include <bsd.port.mk>