jo: install bash completion to what seems like the standard location.
This commit is contained in:
parent
53d78235d4
commit
d1190f2deb
|
@ -1,6 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.16 2023/01/09 15:50:22 fcambus Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2023/04/10 13:54:21 schmonz Exp $
|
||||
|
||||
DISTNAME= jo-1.9
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=jpmens/}
|
||||
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
||||
|
@ -12,9 +13,13 @@ LICENSE= gnu-gpl-v2
|
|||
|
||||
USE_LANGUAGES= c c99
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV+= bashcompdir=${PREFIX}/share/bash_completion.d
|
||||
CONFIGURE_ENV+= bashcompdir=${PREFIX}/share/bash-completion/completions
|
||||
CONFIGURE_ENV+= ac_cv_path_PANDOC=none
|
||||
|
||||
TEST_TARGET= check
|
||||
|
||||
post-install:
|
||||
${MV} ${DESTDIR}${PREFIX}/share/bash-completion/completions/${PKGBASE}.bash \
|
||||
${DESTDIR}${PREFIX}/share/bash-completion/completions/${PKGBASE}
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@comment $NetBSD: PLIST,v 1.3 2022/01/04 17:26:24 fcambus Exp $
|
||||
@comment $NetBSD: PLIST,v 1.4 2023/04/10 13:54:21 schmonz Exp $
|
||||
bin/jo
|
||||
man/man1/jo.1
|
||||
share/bash_completion.d/jo.bash
|
||||
share/bash-completion/completions/jo
|
||||
share/zsh/site-functions/_jo
|
||||
|
|
Loading…
Reference in a new issue