aboutsummaryrefslogtreecommitdiff
path: root/sysutils/facl/Makefile
blob: b7317137435f09e7245251cb469a00f3c8579a79 (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
34
35
PORTNAME=	facl
DISTVERSIONPREFIX=	v
DISTVERSION=	1.4.1
PORTREVISION=	1
CATEGORIES=	sysutils

MAINTAINER=	olgeni@FreeBSD.org
COMMENT=	Terminal UI and CLI for NFSv4 ACLs
WWW=		https://github.com/olgeni/facl

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
GO_MODULE=	github.com/olgeni/facl

PLIST_FILES=	bin/facl \
		share/bash-completion/completions/facl \
		share/fish/vendor_completions.d/facl.fish \
		share/man/man1/facl.1.gz \
		share/zsh/site-functions/_facl

post-install:
	${INSTALL_MAN} ${WRKSRC}/facl.1 ${STAGEDIR}${PREFIX}/share/man/man1/
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions \
		${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d \
		${STAGEDIR}${PREFIX}/share/zsh/site-functions
	${INSTALL_DATA} ${WRKSRC}/completions/facl.bash \
		${STAGEDIR}${PREFIX}/share/bash-completion/completions/facl
	${INSTALL_DATA} ${WRKSRC}/completions/facl.fish \
		${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/facl.fish
	${INSTALL_DATA} ${WRKSRC}/completions/_facl \
		${STAGEDIR}${PREFIX}/share/zsh/site-functions/_facl

.include <bsd.port.mk>