1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/security/fwtk/Makefile

69 lines
2.2 KiB
Makefile
Raw Normal View History

# ex:ts=8
2000-02-13 03:25:05 +00:00
# Ports collection makefile for: fwtk
# Date created: 15th June 1996
# Whom: gpalmer
#
1999-08-31 01:53:22 +00:00
# $FreeBSD$
#
PORTNAME= fwtk
PORTVERSION= 2.1
CATEGORIES= security
DISTNAME= ${PORTNAME}${PORTVERSION}
1997-03-07 12:33:01 +00:00
EXTRACT_SUFX= .tar.Z
DISTFILES= fwtk2.1${EXTRACT_SUFX} fwtk-doc-only${EXTRACT_SUFX}
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"
WRKSRC= ${WRKDIR}/fwtk
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= fixmake
MAN3= auth.3
MAN5= netperm-table.5
MAN8= authmgr.8 authsrv.8 ftp-gw.8 http-gw.8 login-sh.8 netacl.8 \
plug-gw.8 rlogin-gw.8 smap.8 smapd.8 tn-gw.8
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 \
tn-gw
.if !defined(WITHOUT_X11)
LIBEXEC_BINS+= x-gw
MAN8+= x-gw.8
.endif
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/fwtk2.1${EXTRACT_SUFX}) \
&& !exists(${DISTDIR}/fwtk-doc-only${EXTRACT_SUFX})
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.'
.endif
1997-03-07 12:33:01 +00:00
pre-configure:
@${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
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
.if !defined(NOPORTDOCS)
2000-02-13 03:25:05 +00:00
cd ${WRKSRC}/doc ; ${INSTALL_MAN} ${DOCS} ${PREFIX}/share/doc/fwtk
.endif
.include <bsd.port.post.mk>