1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/security/chroot_safe/Makefile
Vanilla I. Shu 614914611f Stagify.
2014-06-10 15:24:38 +00:00

27 lines
723 B
Makefile

# Created by: Gabor Kovesdan
# $FreeBSD$
PORTNAME= chroot_safe
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= security sysutils
MASTER_SITES= SF/chrootsafe/${PORTNAME}/${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to chroot softwares easily
GNU_CONFIGURE= YES
PLIST_FILES= man/man1/chroot_safe.1.gz 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
${REINPLACE_CMD} 's|putenv|unsetenv|' ${WRKSRC}/chroot_safe.cpp
.include <bsd.port.mk>