summaryrefslogtreecommitdiffstats
path: root/security/chroot_safe/Makefile
blob: 42bda7846e3d8a4af2973c691fec21c0ae0a1aa3 (plain)
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
# Ports collection Makefile for:	chroot_safe
# Date created:				11 Dec 2005
# Whom:					Gabor Kovesdan
# $FreeBSD$

PORTNAME=	chroot_safe
PORTVERSION=	1.4
CATEGORIES=	security sysutils
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	chrootsafe
EXTRACT_SUFX=	.tgz

MAINTAINER=	gkovesdan@t-hosting.hu
COMMENT=	A tool to chroot softwares easily

GNU_CONFIGURE=YES

MAN1=		chroot_safe.1
PLIST_FILES=	sbin/chroot_safe libexec/chroot_safe/chroot_safe.so
PLIST_DIRS=	libexec/chroot_safe

post-patch:
	${REINPLACE_CMD} -e  's|CXX=g++|CXX?=c++|' \
		-e 's|-o chroot_safe.so|chroot_safe.cpp -o chroot_safe.so|' \
		${WRKSRC}/Makefile.in
	${REINPLACE_CMD} 's|chroot(1)|chroot(8)|' ${WRKSRC}/chroot_safe.1.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud