aboutsummaryrefslogtreecommitdiffstats
path: root/security/doas/Makefile
blob: 6e613862f5f8af51c4ce6cbc3679b28026d6bf55 (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
32
33
# $FreeBSD$

PORTNAME=   doas
PORTVERSION=    6.0p2
CATEGORIES= security

MAINTAINER= jsmith@resonatingmedia.com
COMMENT=    Simple sudo alternative to run commands as another user

LICENSE=    BSD2CLAUSE ISCL
LICENSE_COMB=   multi
LICENSE_FILE_BSD2CLAUSE=    ${WRKSRC}/LICENSE
LICENSE_FILE_ISCL=      ${WRKSRC}/LICENSE

USE_GITHUB= yes
GH_ACCOUNT= slicer69
GH_PROJECT= doas

USES=   gmake

BINMODE=    4755

SUB_FILES=  pkg-message
PLIST_FILES=    bin/doas \
        man/man5/doas.conf.5.gz \
        man/man1/doas.1.gz

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/doas.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/doas.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5

.include <bsd.port.mk>