aboutsummaryrefslogtreecommitdiffstats
path: root/misc/openr2/Makefile
blob: 32b0e907f3e3cdebbf804ed062e84b516101672e (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
# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   openr2
PORTVERSION=    1.3.3
PORTREVISION=   0
CATEGORIES= misc
MASTER_SITES=   GOOGLE_CODE

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

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

USE_GITHUB= yes
GH_ACCOUNT= moises-silva
GH_TAGNAME= d6a5716

GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
INSTALL_TARGET= install-strip
USES=       libtool
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>