2001-02-17 18:52:59 +01:00
|
|
|
# $NetBSD: Makefile,v 1.19 2001/02/17 18:18:46 wiz Exp $
|
1999-02-23 19:28:34 +01:00
|
|
|
# FreeBSD Id: Makefile,v 1.14 1998/11/09 09:24:20 max Exp
|
1999-02-23 19:20:59 +01:00
|
|
|
#
|
|
|
|
|
2000-07-10 17:06:39 +02:00
|
|
|
DISTNAME= ${PKGNAME:S/-//}
|
2001-01-02 19:46:40 +01:00
|
|
|
PKGNAME= delegate-6.1.22
|
1999-02-23 19:28:34 +01:00
|
|
|
CATEGORIES= net
|
2000-10-15 19:24:28 +02:00
|
|
|
MASTER_SITES= ftp://ftp.delegate.org/pub/DeleGate/ \
|
|
|
|
ftp://etlport.etl.go.jp/pub/DeleGate/ \
|
1999-03-01 07:46:32 +01:00
|
|
|
ftp://ftp.kyushu-u.ac.jp/pub/Net/WWW/server/delegate/ \
|
|
|
|
ftp://ftp.nec.co.jp/pub/infosys/WWW/DeleGate/ \
|
|
|
|
ftp://ftp.fujitsu.co.jp/pub/networking/DeleGate/ \
|
|
|
|
ftp://ftp.u-aizu.ac.jp/pub/net/DeleGate/ \
|
1999-08-22 17:55:50 +02:00
|
|
|
ftp://ftp.eni.co.jp/pub/mirrors/delegate/ \
|
|
|
|
ftp://ftp.ntua.gr/pub/net/gwtools/DeleGate/ \
|
|
|
|
ftp://ftp.netsw.org/netsw/Network/IP/Firewall/Proxy/delegate/ \
|
|
|
|
ftp://ftp.ecrc.net/pub/netsw/Network/IP/Firewall/Proxy/delegate/ \
|
|
|
|
ftp://ftp.ecrc.de/ftp/data/ftp.ecrc.net/pub/netsw/Network/IP/Firewall/Proxy/delegate/
|
1999-02-23 19:20:59 +01:00
|
|
|
|
2001-01-02 19:46:40 +01:00
|
|
|
MAINTAINER= rh@NetBSD.ORG
|
2000-10-15 19:24:28 +02:00
|
|
|
HOMEPAGE= http://www.delegate.org/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= General purpose TCP/IP proxy system
|
1999-02-23 19:20:59 +01:00
|
|
|
|
2000-07-20 17:40:58 +02:00
|
|
|
DEPENDS+= readline>=4.0:../../devel/readline
|
1999-11-08 17:25:49 +01:00
|
|
|
|
1999-02-23 19:28:34 +01:00
|
|
|
DELEGATE_MANAGER?= root@localhost
|
|
|
|
|
1999-02-23 19:20:59 +01:00
|
|
|
pre-build:
|
2000-04-16 17:19:14 +02:00
|
|
|
@${ECHO} "ADMIN=${DELEGATE_MANAGER}" >> ${WRKSRC}/DELEGATE_CONF
|
1999-02-23 19:20:59 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${PREFIX}/sbin
|
1999-02-23 19:28:34 +01:00
|
|
|
${SED} -e 's:__PREFIX__:${PREFIX}:g' \
|
2000-04-16 17:19:14 +02:00
|
|
|
-e 's:__ADMIN__:${DELEGATE_MANAGER}:g' \
|
1999-02-23 19:28:34 +01:00
|
|
|
${WRKSRC}/delegated.sh.template \
|
|
|
|
> ${WRKSRC}/delegated.sh.sample
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/delegated.sh.sample \
|
|
|
|
${PREFIX}/etc/rc.d
|
2000-04-16 17:19:14 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/delegate
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/Manual.htm \
|
|
|
|
${PREFIX}/share/doc/delegate/manual.html
|
1999-02-23 19:28:34 +01:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/delegate
|
2000-04-16 17:19:14 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/tutor-en.htm \
|
1999-02-23 19:28:34 +01:00
|
|
|
${PREFIX}/share/doc/delegate/tutorial-en.html
|
2000-04-16 17:19:14 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/tutor-jp.htm \
|
1999-02-23 19:28:34 +01:00
|
|
|
${PREFIX}/share/doc/delegate/tutorial-jp.html
|
1999-02-23 19:20:59 +01:00
|
|
|
|
1999-02-23 19:28:34 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|