aboutsummaryrefslogtreecommitdiffstats
path: root/comms/vpb2/Makefile
blob: e2ef540276b122eafddeeef314080e45a29fcc8b (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
# New ports collection makefile for:    vpb2
# Date created:             07 Sept 2000
# Whom:                 David Sugar <dyfet@gnu.org>
#
# $FreeBSD$
#

PORTNAME=   vpb2
PORTVERSION=    2.0.3
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=    yes
USE_AUTOCONF=   yes
USE_REINPLACE=  yes
INSTALLS_SHLIB= yes

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

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.mk>