aboutsummaryrefslogtreecommitdiffstats
path: root/misc/openr2/Makefile
blob: 470832df8954961a11cad56b53beb3f2da03be13 (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:    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

MAN5=       r2test.conf.5
MAN8=       r2test.8

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>