4de56a776b
- these include comms/ converters/ databases/ devel/ maintained by ports@ PR: ports/101916 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
38 lines
893 B
Makefile
38 lines
893 B
Makefile
# New ports collection makefile for: spandsp
|
|
# Date created: 23 June 2005
|
|
# Whom: wlloyd@slap.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= spandsp
|
|
DISTVERSION= 0.0.2pre26
|
|
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
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name *.c | ${XARGS} ${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|'
|
|
.if ${OSVERSION} < 503000
|
|
${ECHO} '#define lrintf(x) ((int16_t)rintf(x))' > ${WRKSRC}/src/tgmath.h
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|