2006-03-27 19:23:47 +02:00
|
|
|
# New ports collection makefile for: asterisk-addons
|
|
|
|
# Date created: 23 March 2006
|
|
|
|
# Whom: Fabian Gast <fgast@only640k.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= asterisk-addons
|
2007-07-06 04:24:26 +02:00
|
|
|
PORTVERSION= 1.4.2
|
2006-03-27 19:23:47 +02:00
|
|
|
CATEGORIES= net
|
2007-06-07 04:17:26 +02:00
|
|
|
MASTER_SITES= http://ftp.digium.com/pub/asterisk/releases/
|
2006-03-27 19:23:47 +02:00
|
|
|
|
2007-07-28 11:16:08 +02:00
|
|
|
MAINTAINER= pneumann@gmail.com
|
2007-06-07 04:17:26 +02:00
|
|
|
COMMENT= GPL modules for the Asterisk Open Source PBX
|
2006-03-27 19:23:47 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
|
|
|
|
RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
|
|
|
|
|
2007-06-07 04:17:26 +02:00
|
|
|
OPTIONS= SAMPLE_CONFIG "Install sample configuration files" off
|
|
|
|
|
2007-07-06 04:24:26 +02:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2007-06-07 04:17:26 +02:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2006-06-05 18:32:07 +02:00
|
|
|
USE_MYSQL= yes
|
2006-03-27 19:23:47 +02:00
|
|
|
USE_GMAKE= yes
|
2007-06-07 04:17:26 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2006-03-27 19:23:47 +02:00
|
|
|
|
2007-06-07 04:17:26 +02:00
|
|
|
.if ${OSVERSION} >= 700000
|
|
|
|
BROKEN= Does not build on 7-CURRENT
|
|
|
|
.endif
|
2006-03-27 19:23:47 +02:00
|
|
|
|
2007-06-07 04:17:26 +02:00
|
|
|
.if defined(WITH_SAMPLE_CONFIG)
|
|
|
|
PLIST_SUB+= SAMPLE_CONFIG=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SAMPLE_CONFIG="@comment "
|
|
|
|
.endif
|
2006-03-27 19:23:47 +02:00
|
|
|
|
|
|
|
post-install:
|
2007-06-07 04:17:26 +02:00
|
|
|
.if defined(WITH_SAMPLE_CONFIG)
|
|
|
|
@cd ${WRKSRC} && ${GMAKE} samples
|
|
|
|
.endif
|
2006-03-27 19:23:47 +02:00
|
|
|
|
2007-06-07 04:17:26 +02:00
|
|
|
.include <bsd.port.post.mk>
|