git: f762f84da0dc - main - archivers/lz4json: Move man pages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Mar 2024 19:12:05 UTC
The branch main has been updated by naddy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f762f84da0dc95a2bb8025bddd35c2a2ddef974e
commit f762f84da0dc95a2bb8025bddd35c2a2ddef974e
Author: Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-20 19:11:20 +0000
Commit: Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-20 19:11:20 +0000
archivers/lz4json: Move man pages to share/man
Approved by: portmgr (blanket)
---
archivers/lz4json/Makefile | 3 ++-
archivers/lz4json/files/BSDmakefile | 8 ++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/archivers/lz4json/Makefile b/archivers/lz4json/Makefile
index 31bce224ec6c..9859a94eea0a 100644
--- a/archivers/lz4json/Makefile
+++ b/archivers/lz4json/Makefile
@@ -1,5 +1,6 @@
PORTNAME= lz4json
PORTVERSION= 20191229
+PORTREVISION= 1
CATEGORIES= archivers www
MAINTAINER= mi@aldan.algebra.com
@@ -13,7 +14,7 @@ USES= uidfix
USE_GITHUB= yes
GH_ACCOUNT= andikleen
GH_TAGNAME= c44c5100
-PLIST_FILES= bin/lz4jsoncat man/man1/lz4jsoncat.1${COMPRESS_EXT}
+PLIST_FILES= bin/lz4jsoncat share/man/man1/lz4jsoncat.1${COMPRESS_EXT}
MAKEFILE= ${FILESDIR}/BSDmakefile
diff --git a/archivers/lz4json/files/BSDmakefile b/archivers/lz4json/files/BSDmakefile
index 002b0e285465..1802d62ccca7 100644
--- a/archivers/lz4json/files/BSDmakefile
+++ b/archivers/lz4json/files/BSDmakefile
@@ -1,11 +1,11 @@
PROG= lz4jsoncat
-BINDIR= ${LOCALBASE}/bin
-MANDIR= ${LOCALBASE}/man/man
+BINDIR= ${PREFIX}/bin
+MANDIR= ${PREFIX}/share/man/man
WARNS= 3
-CFLAGS+=-isystem ${PREFIX}/include
-LDADD= -L${PREFIX}/lib -llz4
+CFLAGS+=-isystem ${LOCALBASE}/include
+LDADD= -L${LOCALBASE}/lib -llz4
.include <bsd.prog.mk>