freebsd-ports/net/asterisk14-addons/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

47 lines
1 KiB
Makefile

# New ports collection makefile for: asterisk-addons
# Date created: 23 March 2006
# Whom: Fabian Gast <fgast@only640k.org>
#
# $FreeBSD$
#
PORTNAME= asterisk-addons
PORTVERSION= 1.4.6
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/releases/
MAINTAINER= pneumann@gmail.com
COMMENT= GPL modules for the Asterisk Open Source PBX
BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
OPTIONS= SAMPLE_CONFIG "Install sample configuration files" off
ONLY_FOR_ARCHS= i386 amd64 powerpc
USE_AUTOTOOLS= libtool:15
USE_MYSQL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if defined(WITH_SAMPLE_CONFIG)
PLIST_SUB+= SAMPLE_CONFIG=""
.else
PLIST_SUB+= SAMPLE_CONFIG="@comment "
.endif
pre-configure:
if ${GREP} -sq fixup_codecs ${LOCALBASE}/include/asterisk/channel.h; \
then \
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/codecnego.diff; \
fi
post-install:
.if defined(WITH_SAMPLE_CONFIG)
@cd ${WRKSRC} && ${GMAKE} samples
.endif
.include <bsd.port.post.mk>