blob: 8889b88845ca5f155772b1308b4182329d388e99 (
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
|
# New ports collection makefile for: spandsp
# Date created: 23 June 2005
# Whom: wlloyd@slap.net
#
# $FreeBSD$
#
PORTNAME= spandsp
DISTVERSION= 0.0.2pre20
CATEGORIES= comms
MASTER_SITES= http://www.soft-switch.org/downloads/spandsp/${PORTNAME}-${DISTVERSION}/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= pav
MAINTAINER= ports@FreeBSD.org
COMMENT= Fax DSP library for Asterisk
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:C/pre.*$//}
USE_GMAKE= yes
USE_REINPLACE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
post-patch:
@${FIND} ${WRKSRC} -name *.c | ${XARGS} ${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|'
.if ${OSVERSION} < 503000
${TOUCH} ${WRKSRC}/src/tgmath.h
.endif
.include <bsd.port.post.mk>
|