View | Details | Raw Unified | Return to bug 264242 | Differences between
and this patch

Collapse All | Expand All

(-)b/sysutils/handlr/Makefile (-2 / +18 lines)
Lines 1-7 Link Here
1
PORTNAME=	handlr
1
PORTNAME=	handlr
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	0.7.1
3
DISTVERSION=	0.7.1
4
PORTREVISION=	1
4
PORTREVISION=	2
5
CATEGORIES=	sysutils
5
CATEGORIES=	sysutils
6
6
7
MAINTAINER=	sec.research.2005@gmail.com
7
MAINTAINER=	sec.research.2005@gmail.com
Lines 176-182 CARGO_CRATES= aho-corasick-0.7.18 \ Link Here
176
176
177
PLIST_FILES=	bin/handlr
177
PLIST_FILES=	bin/handlr
178
178
179
OPTIONS_DEFINE=		COMPLETIONS
180
OPTIONS_DEFAULT=	COMPLETIONS
181
182
COMPLETIONS_DESC=	Install bash, zsh, and fish shell completions
183
184
COMPLETIONS_PLIST_FILES=	share/bash-completion/completions/${PORTNAME} \
185
				share/fish/vendor_completions.d/${PORTNAME}.fish \
186
				share/zsh/site-functions/_${PORTNAME}
187
179
post-install:
188
post-install:
180
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/handlr
189
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/handlr
181
190
191
post-install-COMPLETIONS-on:
192
	${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME} \
193
		${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME}
194
	${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME}.fish \
195
		${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/${PORTNAME}.fish
196
	${INSTALL_DATA} ${WRKSRC}/completions/_${PORTNAME} \
197
		${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME}
198
182
.include <bsd.port.mk>
199
.include <bsd.port.mk>
183
- 

Return to bug 264242