aboutsummaryrefslogtreecommitdiff
path: root/comms/vpb2/Makefile
blob: 14303e29af61b2e2409b0138f236e2fd5178d6e1 (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:	vpb2
# Date created:				07 Sept 2000
# Whom:					David Sugar <dyfet@gnu.org>
#
# $FreeBSD$
#

PORTNAME=	vpb2
PORTVERSION=	2.0.3
PORTREVISION=	1
CATEGORIES=	comms
MASTER_SITES=	ftp://www.voxilla.org/pub/vpb/

MAINTAINER=	dyfet@gnu.org
COMMENT=	User mode API for Voicetronix 4 port analog DSP telephony cards

USE_GMAKE=	yes
USE_LIBTOOL_VER=	13
USE_AUTOCONF_VER=	213
USE_REINPLACE=	yes
INSTALLS_SHLIB=	yes

CONFIGURE_ENV=	CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib \
		LDFLAGS=${PTHREAD_LIBS}

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
BROKEN=		"Does not compile on !i386"
.endif

post-extract:
	@${FIND} ${WRKSRC} -name "Makefile.in" | \
		${XARGS} ${REINPLACE_CMD} -e 's|-release \$$\(LT_RELEASE\)||g'

post-patch:
	${REINPLACE_CMD} -e "s|PREFIX|${PREFIX}|" ${WRKSRC}/vpbreg.cpp

.include <bsd.port.post.mk>