aboutsummaryrefslogtreecommitdiffstats
path: root/security/op/Makefile
blob: 511f9fe1042440a3a81ede1f0381317df5fca912 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:    op
# Date created:             30 Sep 2008
# Whom:                 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
MAKE_JOBS_SAFE= yes

MAN1=       op.1

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>