aboutsummaryrefslogtreecommitdiffstats
path: root/comms/spandsp-devel5/Makefile
blob: 581b39e1f145ed370f3f45583cb5f5e40b83ba5b (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
# 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
PORTREVISION=   1
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

LATEST_LINK=    ${PORTNAME}5

WRKSRC=     ${WRKDIR}/spandsp-0.0.5
USE_AUTOTOOLS=  libtool:22
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>