summaryrefslogtreecommitdiff
path: root/security/chrootuid/Makefile
blob: 2205e7645fbbbff36fa39a1de6ceb5dce9cf6d42 (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
37
38
# New ports collection makefile for:	chrootuid
# Date created:				12 Dec 1999
# Whom:					truckman
#
# $FreeBSD$
#

PORTNAME=	chrootuid
PORTVERSION=	1.2
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/
DISTNAME=	${PORTNAME}${PORTVERSION}
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>