freebsd-ports/security/op/Makefile

27 lines
575 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= op
PORTVERSION= 1.32
CATEGORIES= security
MASTER_SITES= http://swapoff.org/files/op/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Controlled privilege escalation tool
GNU_CONFIGURE= yes
MAN1= op.1
NO_STAGE= yes
post-install:
${MKDIR} ${PREFIX}/etc/op.d
${INSTALL_DATA} -m 0600 ${WRKSRC}/${PORTNAME}.conf \
${PREFIX}/etc/${PORTNAME}.conf.sample
.if !exists(${PREFIX}/etc/${PORTNAME}.conf)
${INSTALL_DATA} -m 0600 ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc
.endif
.include <bsd.port.mk>