1998-04-18 08:57:44 +00:00
# ex:ts=8
2000-02-13 03:25:05 +00:00
# Ports collection makefile for: fwtk
# Date created: 15th June 1996
# Whom: gpalmer
1996-06-15 06:55:51 +00:00
#
1999-08-31 01:53:22 +00:00
# $FreeBSD$
1996-06-15 06:55:51 +00:00
#
2000-04-09 18:34:06 +00:00
PORTNAME = fwtk
2000-04-21 08:19:33 +00:00
PORTVERSION = 2.1
2000-06-02 03:18:54 +00:00
CATEGORIES = security
2000-04-09 18:34:06 +00:00
DISTNAME = ${ PORTNAME } ${ PORTVERSION }
1997-03-07 12:33:01 +00:00
EXTRACT_SUFX = .tar.Z
2000-04-21 08:19:33 +00:00
DISTFILES = fwtk2.1${ EXTRACT_SUFX } fwtk-doc-only${ EXTRACT_SUFX }
1996-06-15 06:55:51 +00:00
1997-08-08 01:55:22 +00:00
MAINTAINER = obrien@FreeBSD.org
1997-03-07 12:33:01 +00:00
RESTRICTED = "No form of redistribution is allowed"
1996-11-13 18:15:14 +00:00
WRKSRC = ${ WRKDIR } /fwtk
1996-06-15 06:55:51 +00:00
HAS_CONFIGURE = YES
CONFIGURE_SCRIPT = fixmake
MAN3 = auth.3
MAN5 = netperm-table.5
1996-11-13 18:15:14 +00:00
MAN8 = authmgr.8 authsrv.8 ftp-gw.8 http-gw.8 login-sh.8 netacl.8 \
1999-06-23 06:26:55 +00:00
plug-gw.8 rlogin-gw.8 smap.8 smapd.8 tn-gw.8
1996-06-15 06:55:51 +00:00
DOCS = sample-report.txt manpages.ps admin_guide.ps user_guide.ps \
overview.ps presentation.ps
SBIN_BINS = authdump authload authmgr
LIBEXEC_BINS = authsrv ftp-gw http-gw netacl plug-gw rlogin-gw smap smapd \
1999-06-23 06:26:55 +00:00
tn-gw
2000-04-17 00:19:02 +00:00
. i f ! d e f i n e d ( W I T H O U T _ X 1 1 )
1999-06-23 06:26:55 +00:00
LIBEXEC_BINS += x-gw
MAN8 += x-gw.8
. e n d i f
1996-06-15 06:55:51 +00:00
1998-12-31 22:15:37 +00:00
. i n c l u d e < b s d . p o r t . p r e . m k >
. i f ! e x i s t s ( $ { D I S T D I R } / f w t k 2 . 1 $ { E X T R A C T _ S U F X } ) \
&& !exists( ${ DISTDIR } /fwtk-doc-only${ EXTRACT_SUFX } )
2000-08-27 05:26:24 +00:00
IGNORE = 'Please read http://www.tis.com/research/software/fwtk_readme.html for details of how to obtain the FTWK source. Put the files fwtk2.1${EXTRACT_SUFX} and fwtk-doc-only${EXTRACT_SUFX} into the directory ${DISTDIR} and run make again.'
1998-12-31 22:15:37 +00:00
. e n d i f
1996-09-19 09:58:47 +00:00
1997-03-07 12:33:01 +00:00
pre-configure :
1998-04-18 08:57:44 +00:00
@${ MV } ${ WRKSRC } /Makefile.config ${ WRKSRC } /Makefile.config.in
@${ SED } -e s:%%FWTKSRCDIR%%:${ WRKSRC } : \
-e s:%%BSD_PREFIX%%:${ PREFIX } : \
${ WRKSRC } /Makefile.config.in > ${ WRKSRC } /Makefile.config
@${ MV } ${ WRKSRC } /firewall.h ${ WRKSRC } /firewall.h.in
@${ SED } -e s:%%FWTKSRCDIR%%:${ WRKSRC } : \
-e s:%%BSD_PREFIX%%:${ PREFIX } : \
${ WRKSRC } /firewall.h.in > ${ WRKSRC } /firewall.h
1997-03-07 12:33:01 +00:00
1996-06-15 06:55:51 +00:00
post-install :
2000-02-13 03:25:05 +00:00
cd ${ PREFIX } /libexec ; strip ${ SBIN_BINS } ${ LIBEXEC_BINS }
cd ${ PREFIX } /libexec ; ${ MV } ${ SBIN_BINS } mqueue ../sbin
1997-03-07 12:33:01 +00:00
${ MKDIR } ${ PREFIX } /share/doc/fwtk
${ INSTALL_MAN } ${ WRKSRC } /LICENSE ${ PREFIX } /share/doc/fwtk
2000-02-13 03:25:05 +00:00
cd ${ WRKSRC } /doc/man ; ${ INSTALL_MAN } ${ MAN3 } ${ PREFIX } /man/man3
cd ${ WRKSRC } /doc/man ; ${ INSTALL_MAN } ${ MAN5 } ${ PREFIX } /man/man5
cd ${ WRKSRC } /doc/man ; ${ INSTALL_MAN } ${ MAN8 } ${ PREFIX } /man/man8
1996-06-15 06:55:51 +00:00
. i f ! d e f i n e d ( N O P O R T D O C S )
2000-02-13 03:25:05 +00:00
cd ${ WRKSRC } /doc ; ${ INSTALL_MAN } ${ DOCS } ${ PREFIX } /share/doc/fwtk
1996-06-15 06:55:51 +00:00
. e n d i f
1998-12-31 22:15:37 +00:00
. i n c l u d e < b s d . p o r t . p o s t . m k >