aboutsummaryrefslogtreecommitdiffstats
path: root/net/appkonference/Makefile
blob: d7ee2cfb849966b419d2d3534e382e28180a9712 (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
33
34
35
36
37
38
# Created by: Alex Deiter <Alex.Deiter@Gmail.COM>
# $FreeBSD$

PORTNAME=   appkonference
PORTVERSION=    2.1
PORTREVISION=   2
CATEGORIES= net
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    High-performance Asterisk voice/video conferencing plugin

BUILD_DEPENDS=  asterisk:net/asterisk
RUN_DEPENDS=    asterisk:net/asterisk

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_CSTD=   gnu89
USES=       compiler:features gmake
WRKSRC=     ${WRKDIR}/${PORTNAME}/konference

PLIST_FILES=    lib/asterisk/modules/app_konference.so

ONLY_FOR_ARCHS=     amd64 arm i386 ia64
ONLY_FOR_ARCHS_REASON=  not yet ported to this architecture

.include <bsd.port.pre.mk>

.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 36
post-patch:
    @${REINPLACE_CMD} -e 's|-fsingle-precision-constant||' ${WRKSRC}/Makefile
.endif

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/asterisk/modules/app_konference.so

.include <bsd.port.post.mk>