diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-25 19:40:21 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-25 19:40:21 +0800 |
commit | 847f268ef2aa09a31daafc33e0262039e6fda4bd (patch) | |
tree | 450c47283ecda76c87fb41fb3575e01434e24bc7 /security | |
parent | dc7ea30908f23e704c3eb5293d56af38763f3fe7 (diff) | |
download | freebsd-ports-gnome-847f268ef2aa09a31daafc33e0262039e6fda4bd.tar.gz freebsd-ports-gnome-847f268ef2aa09a31daafc33e0262039e6fda4bd.tar.zst freebsd-ports-gnome-847f268ef2aa09a31daafc33e0262039e6fda4bd.zip |
- Support staging
- Use CFLAGS_amd64
Diffstat (limited to 'security')
-rw-r--r-- | security/lockdown/Makefile | 25 | ||||
-rw-r--r-- | security/lockdown/pkg-plist | 5 |
2 files changed, 15 insertions, 15 deletions
diff --git a/security/lockdown/Makefile b/security/lockdown/Makefile index 5c8d64e3bc40..ee802e351571 100644 --- a/security/lockdown/Makefile +++ b/security/lockdown/Makefile @@ -10,25 +10,20 @@ MASTER_SITES= http://lockdown.trunet.dk/ \ MAINTAINER= db@TruNet.dk COMMENT= Hardening script for FreeBSD -MAN1= editfile.1 editfstab.1 editkernel.1 editlogin.1 editttys.1 - -NO_STAGE= yes -.include <bsd.port.pre.mk> - -.if ${ARCH} == amd64 -CFLAGS+= -fPIC -.endif - USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/lockdown +CFLAGS_amd64+= -fPIC + do-install: - ${INSTALL_DATA} ${WRKSRC}/cppe/src/libcppe.so ${PREFIX}/lib/libcppe.so -.for i in editfile editfstab editkernel editlogin editttys - ${INSTALL_PROGRAM} ${WRKSRC}/edittools/${i}/src/${i} ${PREFIX}/bin/${i} - ${INSTALL_MAN} ${WRKSRC}/edittools/${i}/doc/${i}.1 ${PREFIX}/man/man1/${i}.1 + ${INSTALL_LIB} ${WRKSRC}/cppe/src/libcppe.so ${STAGEDIR}${PREFIX}/lib +.for f in editfile editfstab editkernel editlogin editttys + ${INSTALL_PROGRAM} ${WRKSRC}/edittools/${f}/src/${f} \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/edittools/${f}/doc/${f}.1 \ + ${STAGEDIR}${PREFIX}/man/man1 .endfor - ${INSTALL_SCRIPT} ${WRKSRC}/lockdown ${PREFIX}/bin/lockdown + ${INSTALL_SCRIPT} ${WRKSRC}/lockdown ${STAGEDIR}${PREFIX}/bin -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/security/lockdown/pkg-plist b/security/lockdown/pkg-plist index f130eb386da5..0c1662d59bcb 100644 --- a/security/lockdown/pkg-plist +++ b/security/lockdown/pkg-plist @@ -5,3 +5,8 @@ bin/editkernel bin/editlogin bin/editttys lib/libcppe.so +man/man1/editfile.1.gz +man/man1/editfstab.1.gz +man/man1/editkernel.1.gz +man/man1/editlogin.1.gz +man/man1/editttys.1.gz |