2003-11-02 17:37:15 +00:00
|
|
|
# New ports collection makefile for: AquaGatekeeper
|
|
|
|
# Date created: 2 November 2003
|
|
|
|
# Whom: Eugene Grosbein <eugen@grosbein.pp.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= AquaGatekeeper
|
2004-04-14 09:06:45 +00:00
|
|
|
PORTVERSION= 1.22
|
2011-10-26 20:00:31 +00:00
|
|
|
PORTREVISION= 5
|
2003-11-02 17:37:15 +00:00
|
|
|
CATEGORIES= net
|
2011-10-26 20:00:31 +00:00
|
|
|
MASTER_SITES= http://www.grosbein.net/freebsd/AquaGatekeeper/ \
|
|
|
|
ftp://www.kuzbass.ru/pub/FreeBSD/ports/distfiles/
|
2003-11-02 17:37:15 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2010-02-24 21:48:26 +00:00
|
|
|
MAINTAINER= ports@grosbein.pp.ru
|
2003-11-02 17:37:15 +00:00
|
|
|
COMMENT= Aqua H323 Gatekeeper and proxy
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2010-02-24 21:54:01 +00:00
|
|
|
CONFLICTS= AquaGatekeeper-2.*
|
2003-11-02 17:37:15 +00:00
|
|
|
NO_BUILD= yes
|
2004-04-14 09:06:45 +00:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
2010-10-28 21:00:21 +00:00
|
|
|
DISTINFO_FILE= ${MASTERDIR}/distinfo.${ARCH}
|
2003-11-02 17:37:15 +00:00
|
|
|
|
2006-10-23 09:26:44 +00:00
|
|
|
RESTRICTED= No commercial redistribution
|
2010-02-24 21:48:26 +00:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
STRIP=
|
|
|
|
STRIP_CMD= ${TRUE}
|
|
|
|
DEPRECATED= Binary port of software abandoned by the vendor
|
2003-11-02 17:37:15 +00:00
|
|
|
|
|
|
|
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
|
|
|
|
IS_INTERACTIVE= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2004-03-06 21:47:50 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/AquaGatekeeper ${PREFIX}/sbin/
|
2003-11-02 17:37:15 +00:00
|
|
|
@${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
|
2004-02-16 14:59:33 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}/Rus
|
|
|
|
@for docfile in ${WRKSRC}/Help.Rus/*; \
|
|
|
|
do ${INSTALL_MAN} $$docfile ${DOCSDIR}/Rus; \
|
|
|
|
done
|
2003-11-02 17:37:15 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2010-02-24 21:48:26 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2003-11-02 17:37:15 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-02-24 21:48:26 +00:00
|
|
|
# This is binary port of closed-source software
|
2007-10-03 23:53:46 +00:00
|
|
|
.if ${ARCH} == "i386"
|
2010-02-24 21:48:26 +00:00
|
|
|
DISTNAME= AquaGatekeeper122FreeBSDBuild445
|
|
|
|
LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x \
|
|
|
|
crypto.3:${PORTSDIR}/misc/compat5x
|
2009-01-05 21:36:39 +00:00
|
|
|
.elif ${ARCH} == "amd64"
|
2004-07-22 12:19:02 +00:00
|
|
|
DISTNAME= AquaGatekeeper122FreeBSDamd64Build131
|
2010-02-24 21:48:26 +00:00
|
|
|
LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
|
2004-04-14 09:06:45 +00:00
|
|
|
.endif
|
|
|
|
|
2003-11-02 17:37:15 +00:00
|
|
|
.include <bsd.port.post.mk>
|