aboutsummaryrefslogtreecommitdiff
path: root/misc/openr2/Makefile
blob: 601c03aa8a783afdd973fed29d077aef9290fb57 (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
# Created by: Max Khon <fjoe@FreeBSD.org>

PORTNAME=	openr2
PORTVERSION=	1.3.3
CATEGORIES=	misc

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

LICENSE=	LGPL21+
LICENSE_FILE=	${WRKSRC}/COPYING.LESSER

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

USE_GITHUB=	yes
GH_ACCOUNT=	moises-silva
GH_TAGNAME=	d6a5716

USES=		libtool localbase
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

post-install:
	${MV} ${STAGEDIR}${PREFIX}/etc/r2proto.conf \
		${STAGEDIR}${PREFIX}/etc/r2proto.conf.sample
	${MV} ${STAGEDIR}${PREFIX}/etc/r2test.conf \
		${STAGEDIR}${PREFIX}/etc/r2test.conf.sample

.include <bsd.port.mk>