summaryrefslogtreecommitdiff
path: root/security/chrootuid/Makefile
blob: 7f2362a97f09e0c5ca458635cd868219543779df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:	chrootuid
# Version required:			1.2
# Date created:				12 Dec 1999
# Whom:					truckman
#
# $FreeBSD$
#

DISTNAME=	chrootuid1.2
PKGNAME=	chrootuid-1.2
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.porcupine.org/pub/security/ \
		ftp://coast.cs.purdue.edu/pub/tools/unix/chrootuid/
EXTRACT_SUFX=	.shar.Z

MAINTAINER=	truckman@FreeBSD.org

BUILD_DEPENDS=	gunshar:${PORTSDIR}/archivers/gshar+gunshar

EXTRACT_CMD=	uncompress
EXTRACT_BEFORE_ARGS=	-c
EXTRACT_AFTER_ARGS=	| gunshar -d ${WRKDIR}
NO_WRKSUBDIR=	yes

MAN8=		chrootuid.8

do-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/chrootuid
	${INSTALL_MAN} ${WRKSRC}/README ${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>