aboutsummaryrefslogtreecommitdiff
path: root/misc/openr2/Makefile
blob: 9c7b76dc89ecfaf4fae5449435f92c5cc9f9a55c (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
# Created by: 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

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

.include <bsd.port.mk>