aboutsummaryrefslogblamecommitdiff
path: root/comms/spandsp-devel5/Makefile
blob: 1987f992e0cec89c5e63e80fd89272839ee41c87 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                               
                                                                                          

                                    




















                                                                                                
# New ports collection makefile for:	spandsp
# Date created:		23 June 2005
# Whom:			wlloyd@slap.net
#
# $FreeBSD$
#

PORTNAME=	spandsp
DISTVERSION=	0.0.2pre18
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_LIBTOOL_VER=	15
CONFIGURE_ARGS=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

INSTALLS_SHLIB=	yes

post-patch:
	@${FIND} ${WRKSRC} -name *.c | ${XARGS} ${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|'

.include <bsd.port.mk>