15c908ce36
It can be used as H.323 gatekeeper, IP-to-IP voice gateway or proxy. It can be used to pass voice traffic from private networks to the Internet and vice versa when runs on the NAT box.It provides billing information and can optionally use RADUIS. PR: 58833 Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# New ports collection makefile for: AquaGatekeeper
|
|
# Date created: 2 November 2003
|
|
# Whom: Eugene Grosbein <eugen@grosbein.pp.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= AquaGatekeeper
|
|
PORTVERSION= 1.17
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.aqua.comptek.ru/pub/GateKeeper/ \
|
|
ftp://www.kuzbass.ru/pub/FreeBSD/ports/distfiles/
|
|
DISTNAME= AquaGatekeeper117FreeBSD
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= eugen@grosbein.pp.ru
|
|
COMMENT= Aqua H323 Gatekeeper and proxy
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
NO_BUILD= yes
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
NO_PACKAGE= "No commercial redistribution"
|
|
NO_CDROM= "No commercial redistribution"
|
|
|
|
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
|
|
IS_INTERACTIVE= yes
|
|
.endif
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/AquaGatekeeper ${PREFIX}/bin/
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/agk.sh.sample ${PREFIX}/etc/rc.d/
|
|
@${INSTALL_DATA} ${WRKSRC}/Config/AquaGatekeeper.cfg ${PREFIX}/etc/AquaGatekeeper.cfg.sample
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/Config/Example.cfg ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@for docfile in ${WRKSRC}/Help/*; \
|
|
do ${INSTALL_MAN} $$docfile ${DOCSDIR}; \
|
|
done
|
|
.endif
|
|
|
|
post-install:
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
@${SED} "s'%%PREFIX%%'${PREFIX}'" < pkg-message
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} > 500000 || ${OSVERSION} < 400000
|
|
BROKEN= "Supported only on 4.x systems"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|