Tweak security/libp11 version 0.4.0
[dports.git] / security / chroot_safe / Makefile
1 # Created by: Gabor Kovesdan
2 # $FreeBSD$
3
4 PORTNAME=       chroot_safe
5 PORTVERSION=    1.4
6 PORTREVISION=   1
7 CATEGORIES=     security sysutils
8 MASTER_SITES=   SF/chrootsafe/${PORTNAME}/${PORTVERSION}
9 EXTRACT_SUFX=   .tgz
10
11 MAINTAINER=     ports@FreeBSD.org
12 COMMENT=        Tool to chroot softwares easily
13
14 GNU_CONFIGURE=  YES
15
16 PLIST_FILES=    man/man1/chroot_safe.1.gz sbin/chroot_safe libexec/chroot_safe/chroot_safe.so
17
18 post-patch:
19         ${REINPLACE_CMD} -e  's|CXX=g++|CXX?=c++|' \
20                 -e 's|-o chroot_safe.so|chroot_safe.cpp -o chroot_safe.so|' \
21                 ${WRKSRC}/Makefile.in
22         ${REINPLACE_CMD} 's|chroot(1)|chroot(8)|' ${WRKSRC}/chroot_safe.1.in
23         ${REINPLACE_CMD} 's|putenv|unsetenv|' ${WRKSRC}/chroot_safe.cpp
24
25 .include <bsd.port.mk>