pkgsrc-WIP-changes archive

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

jira-cli: Depend on PKGMANDIR for man pages location.



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Wed Sep 22 02:27:33 2021 +0200
Changeset:	2331e8c9b45a9c9d303554442a63143404a6db36

Modified Files:
	jira-cli/Makefile

Log Message:
jira-cli: Depend on PKGMANDIR for man pages location.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2331e8c9b45a9c9d303554442a63143404a6db36

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

diffstat:
 jira-cli/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/jira-cli/Makefile b/jira-cli/Makefile
index bd13dc9c48..69c4f6ea6e 100644
--- a/jira-cli/Makefile
+++ b/jira-cli/Makefile
@@ -13,13 +13,13 @@ LICENSE=	mit
 GO_BUILD_PATTERN=	./cmd/jira
 CHECK_RELRO_SKIP+=	bin/jira
 
-INSTALLATION_DIRS+=	bin man/man7
+INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man7
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/jira ${DESTDIR}${PREFIX}/bin
 
 post-install:
-	${DESTDIR}${PREFIX}/bin/jira man -g -o ${DESTDIR}${PREFIX}/man/man7
+	${DESTDIR}${PREFIX}/bin/jira man -g -o ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7
 
 .include "go-modules.mk"
 


Home | Main Index | Thread Index | Old Index