mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
26 lines
597 B
Makefile
26 lines
597 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
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/op.d
|
|
${INSTALL_DATA} -m 0600 ${WRKSRC}/${PORTNAME}.conf \
|
|
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
|
|
|
|
.if !exists(${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf)
|
|
${INSTALL_DATA} -m 0600 ${WRKSRC}/${PORTNAME}.conf \
|
|
${STAGEDIR}${PREFIX}/etc
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|