aboutsummaryrefslogtreecommitdiffstats
path: root/misc/openr2/Makefile
blob: 7087d4e1979904782e8727c0d3dd99d3bc627817 (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
# New ports collection makefile for:    openr2
# Date created:             28 Jun 2012
# Whom:                 Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   openr2
PORTVERSION=    1.3.2
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= fjoe@FreeBSD.org
COMMENT=    MFC/R2 call setup library

BUILD_DEPENDS=  ${LOCALBASE}/include/dahdi/user.h:${PORTSDIR}/misc/dahdi

GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include"
USE_LDCONFIG=   yes

CONF_FILES= etc/r2proto.conf etc/r2test.conf

post-install:
.for f in ${CONF_FILES}
    [ -e ${PREFIX}/$f ] || ${INSTALL_DATA} ${PREFIX}/$f-dist ${PREFIX}/$f
.endfor

.include <bsd.port.mk>