# New ports collection makefile for:	security/fakeident
# Date created:		Sun 08 Dec 12:30:00 WST 2002
# Whom:			Dean Hollister <dean@odyssey.apana.org.au>
#
# $FreeBSD: ports/security/fakeident/Makefile,v 1.3 2003/02/21 13:26:43 knu Exp $
#

PORTNAME=	fakeident
PORTVERSION=	1.7
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://www.wa.apana.org.au/~dean/sources/ \
		ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/

MAINTAINER=	dean@odyssey.apana.org.au
COMMENT=	Tool that replies with a standard answer to incoming identd requests

do-build:
	@cd $(WRKSRC); \
	$(CC) $(CFLAGS) -o identd identd.c
	@echo ""
	@echo "*** CAUTION:"
	@echo ""
	@echo "This port may overwrite any other identd daemon"
	@echo "you have installed. It is recommended that any"
	@echo "other identd ports be deinstalled prior to"
	@echo "running make install for this port."
	@echo ""

do-install:
	$(INSTALL_SCRIPT) $(WRKSRC)/identd $(PREFIX)/sbin
	$(INSTALL_SCRIPT) $(FILESDIR)/fakeident.sh $(PREFIX)/etc/rc.d

.include <bsd.port.mk>
