mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
29 lines
609 B
Makefile
29 lines
609 B
Makefile
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
|
|
|
PORTNAME= op
|
|
PORTVERSION= 1.34
|
|
PORTREVISION= 2
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Controlled privilege escalation tool
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= dagwieers
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFLICTS_INSTALL= security/1password-client
|
|
|
|
post-configure:
|
|
@${REINPLACE_CMD} -e 's|\(OPENLOG_VOID\) 0|\1 1|' ${WRKSRC}/config.h
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/op.d
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/op.conf-dist \
|
|
${STAGEDIR}${PREFIX}/etc/op.conf.sample
|
|
|
|
.include <bsd.port.mk>
|