1997-05-30 20:13:24 +00:00
|
|
|
# New ports collection makefile for: rwhois
|
|
|
|
# Date created: May 9th 1997
|
|
|
|
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1997-05-30 20:13:24 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= rwhois
|
2000-11-28 15:31:16 +00:00
|
|
|
PORTVERSION= 1.5.7
|
|
|
|
CATEGORIES= net ipv6
|
|
|
|
MASTER_SITES= http://www.rwhois.net/ftp/
|
|
|
|
DISTNAME= ${PORTNAME}d-${PORTVERSION}
|
1997-05-30 20:13:24 +00:00
|
|
|
|
2000-10-23 21:03:11 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-05-30 20:13:24 +00:00
|
|
|
|
1999-06-26 22:58:41 +00:00
|
|
|
.if !exists(/usr/include/tcpd.h)
|
1998-09-17 10:53:31 +00:00
|
|
|
LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
|
1999-06-26 22:58:41 +00:00
|
|
|
.endif
|
1997-05-30 20:13:24 +00:00
|
|
|
|
2000-11-28 15:31:16 +00:00
|
|
|
HAS_CONFIGURE= yes
|
1997-06-03 06:11:35 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}/lib/rwhois
|
1997-05-30 20:13:24 +00:00
|
|
|
|
2000-11-28 15:31:16 +00:00
|
|
|
BINOWN= bin
|
|
|
|
BINGRP= bin
|
1997-05-30 20:13:24 +00:00
|
|
|
|
2000-11-28 15:31:16 +00:00
|
|
|
MAN8= rwhois_indexer.8 rwhoisd.8
|
2000-02-27 09:00:35 +00:00
|
|
|
|
2000-11-28 15:31:16 +00:00
|
|
|
PORTDOCS= INSTALL.html TODO UPGRADE operations_guide.html \
|
|
|
|
operations_guide.txt rfc2167.txt security.html security.txt
|
2000-02-27 09:00:35 +00:00
|
|
|
|
1997-05-30 20:13:24 +00:00
|
|
|
post-install:
|
2000-11-28 15:31:16 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/rwhois_indexer.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/rwhoisd.8 ${PREFIX}/man/man8
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/rwhois
|
|
|
|
.for file in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/rwhois
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
@${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/rwhoisd.sh startup file..."
|
2000-07-05 12:37:06 +00:00
|
|
|
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/rwhoisd.sh ${PREFIX}/etc/rc.d/rwhoisd.sh
|
1997-05-30 20:13:24 +00:00
|
|
|
|
2000-11-28 15:31:16 +00:00
|
|
|
.include <bsd.port.mk>
|