2005-12-20 21:47:45 +01:00
|
|
|
# Ports collection Makefile for: chroot_safe
|
|
|
|
# Date created: 11 Dec 2005
|
|
|
|
# Whom: Gabor Kovesdan
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= chroot_safe
|
|
|
|
PORTVERSION= 1.4
|
2006-05-21 15:23:24 +02:00
|
|
|
PORTREVISION= 1
|
2005-12-20 21:47:45 +01:00
|
|
|
CATEGORIES= security sysutils
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/chrootsafe/${PORTNAME}/${PORTVERSION}
|
2005-12-20 21:47:45 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2009-06-27 10:49:44 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-12-20 21:47:45 +01:00
|
|
|
COMMENT= A tool to chroot softwares easily
|
|
|
|
|
2006-08-06 12:14:56 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2005-12-20 21:47:45 +01:00
|
|
|
|
|
|
|
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
|
2006-05-21 15:23:24 +02:00
|
|
|
${REINPLACE_CMD} 's|putenv|unsetenv|' ${WRKSRC}/chroot_safe.cpp
|
2005-12-20 21:47:45 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|