pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/jo



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Apr 10 13:54:21 UTC 2023

Modified Files:
        pkgsrc/textproc/jo: Makefile PLIST

Log Message:
jo: install bash completion to what seems like the standard location.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/jo/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/jo/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/jo/Makefile
diff -u pkgsrc/textproc/jo/Makefile:1.16 pkgsrc/textproc/jo/Makefile:1.17
--- pkgsrc/textproc/jo/Makefile:1.16    Mon Jan  9 15:50:22 2023
+++ pkgsrc/textproc/jo/Makefile Mon Apr 10 13:54:21 2023
@@ -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"

Index: pkgsrc/textproc/jo/PLIST
diff -u pkgsrc/textproc/jo/PLIST:1.3 pkgsrc/textproc/jo/PLIST:1.4
--- pkgsrc/textproc/jo/PLIST:1.3        Tue Jan  4 17:26:24 2022
+++ pkgsrc/textproc/jo/PLIST    Mon Apr 10 13:54:21 2023
@@ -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



Home | Main Index | Thread Index | Old Index