summaryrefslogblamecommitdiff
path: root/comms/vpb2/Makefile
blob: 972b5d849b9eb916d4f61c4072c67b763101dd81 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                   
                 



                                              
                                                                               



                   
                   

                   

                                                                            

             

                                                                              
 


                                                                      
                      
# 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=	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>