# New ports collection makefile for:	chrootuid
# Date created:				12 Dec 1999
# Whom:					truckman
#
# $FreeBSD: ports/security/chrootuid/Makefile,v 1.5 2002/06/23 22:48:23 truckman Exp $
#

PORTNAME=	chrootuid
PORTVERSION=	1.3
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.porcupine.org/pub/security/ \
		ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/chrootuid/
DISTNAME=	${PORTNAME}${PORTVERSION}

MAINTAINER=	truckman@FreeBSD.org

MAN8=		chrootuid.8

do-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/chrootuid
	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/chrootuid
	${INSTALL_MAN} ${WRKSRC}/chrootuid_license ${PREFIX}/share/doc/chrootuid
.endif
	${INSTALL_PROGRAM} ${WRKSRC}/chrootuid ${PREFIX}/sbin/chrootuid
	${CP} ${WRKSRC}/chrootuid.1 ${WRKSRC}/chrootuid.8
	${INSTALL_MAN} ${WRKSRC}/${MAN8} ${PREFIX}/man/man8

.include <bsd.port.mk>
