1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/net/rwhois/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

# 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$
#
PORTNAME= rwhois
PORTVERSION= 1.5.7.3
PORTREVISION= 1
CATEGORIES= net ipv6
2003-07-22 11:29:27 +00:00
MASTER_SITES= ftp://ftp.ayamura.org/pub/rwhois/ \
ftp://ftp.jp.pgpi.org/pub/rwhois/
DISTNAME= ${PORTNAME}d-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
2003-02-20 19:00:52 +00:00
COMMENT= The Internic referral whois server
.if !exists(/usr/include/tcpd.h)
LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
.endif
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}/lib/rwhois
BINOWN= bin
BINGRP= bin
MAN8= rwhois_indexer.8 rwhoisd.8
2000-02-27 09:00:35 +00:00
MYPORTDOCS= INSTALL.html TODO UPGRADE operations_guide.html \
operations_guide.txt rfc2167.txt security.html security.txt
2000-02-27 09:00:35 +00:00
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/rwhois_indexer.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/doc/rwhoisd.8 ${PREFIX}/man/man8
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${MYPORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif
@${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/rwhoisd.sh startup file..."
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/rwhoisd.sh ${PREFIX}/etc/rc.d/rwhoisd.sh
.include <bsd.port.mk>