84e520cafd
Asterisk app_amd for FreeSWITCH This is an implementation of Asterisk's answering machine detection (voice activity detection) for FreeSWITCH. WWW: https://github.com/seanbright/mod_amd PR: 211773 Submitted by: Šimun Mikecin <numisemis@yahoo.com> Reviewed by: koobs
33 lines
766 B
Makefile
33 lines
766 B
Makefile
# Created by: Simun Mikecin <numisemis@yahoo.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_amd
|
|
PORTVERSION= g20150926
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= numisemis@yahoo.com
|
|
COMMENT= Asterisk app_amd for FreeSWITCH
|
|
|
|
LICENSE= CC0-1.0
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libfreeswitch.so:net/freeswitch
|
|
|
|
USES= pkgconfig
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= seanbright
|
|
GH_TAGNAME= 60daa7e
|
|
|
|
MAKE_ARGS= prefix=${STAGEDIR}${PREFIX}
|
|
|
|
PLIST_FILES= etc/freeswitch/autoload_configs/amd.conf.xml \
|
|
lib/freeswitch/mod/mod_amd.so
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/freeswitch/autoload_configs
|
|
${INSTALL_DATA} ${FILESDIR}/amd.conf.xml \
|
|
${STAGEDIR}${PREFIX}/etc/freeswitch/autoload_configs
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/freeswitch/mod/mod_amd.so
|
|
|
|
.include <bsd.port.mk>
|