aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk/Makefile
blob: 1ab6962de6c860965637da7031877de7f9017107 (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
# New ports collection makefile for:    asterisk
# Date created:             17 October 2003
# Whom:                 Maxim Sobolev <sobomax@portaone.com>
#
# $FreeBSD$
#

PORTNAME=   asterisk
PORTVERSION=    0.5.0
PORTREVISION=   3
CATEGORIES= net
MASTER_SITES=   ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
        ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/

MAINTAINER= sobomax@FreeBSD.org
COMMENT=    An Open Source PBX and telephony toolkit

ONLY_FOR_ARCHS= i386

BUILD_DEPENDS=  ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client \
        ${NONEXISTENT}:${PORTSDIR}/devel/pwlib:build \
        ${NONEXISTENT}:${PORTSDIR}/net/openh323:build
LIB_DEPENDS=    speex.2:${PORTSDIR}/audio/speex
RUN_DEPENDS=    ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client

GNU_CONFIGURE=  yes
CONFIGURE_WRKSRC=   ${WRKSRC}/editline
USE_GMAKE=  yes
USE_OPENLDAP=   yes
MAKE_ENV=   PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
        PTHREAD_LIBS="${PTHREAD_LIBS}" \
        MKDIR="${MKDIR}" \
        PWLIBDIR=${WRKDIR}/../../../devel/pwlib/work/pwlib \
        OPENH323DIR=${WRKDIR}/../../../net/openh323/work/openh323 \
        OSVERSION=${OSVERSION} \
        CXX="${CXX}"

.include <bsd.port.mk>