git: 7cf7df89bd3e - main - misc/ytree: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 12:51:44 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7cf7df89bd3e2ce1960407526eb10beaf19a585d
commit 7cf7df89bd3e2ce1960407526eb10beaf19a585d
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 12:17:27 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 12:51:18 +0000
misc/ytree: Sanitize MANPREFIX
- Utilize USES=localbase
Approved by: portmgr (blanket)
---
misc/ytree/Makefile | 5 ++---
misc/ytree/pkg-plist | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/misc/ytree/Makefile b/misc/ytree/Makefile
index 1b40b66cc171..ce6cc0e3689c 100644
--- a/misc/ytree/Makefile
+++ b/misc/ytree/Makefile
@@ -10,9 +10,8 @@ WWW= https://www.han.de/~werner/ytree.html
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= ncurses readline
+USES= localbase ncurses readline
ALL_TARGET= ytree
-CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lreadline
OPTIONS_DEFINE= DOCS
@@ -20,7 +19,7 @@ OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ytree ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/ytree.conf ${STAGEDIR}${PREFIX}/etc/ytree.conf.sample
- ${INSTALL_MAN} ${WRKSRC}/ytree.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/ytree.1 ${STAGEDIR}${MANPREFIX}/share/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ytree
diff --git a/misc/ytree/pkg-plist b/misc/ytree/pkg-plist
index 4b5e5bb77477..bc7aca65d206 100644
--- a/misc/ytree/pkg-plist
+++ b/misc/ytree/pkg-plist
@@ -1,6 +1,6 @@
bin/ytree
@sample etc/ytree.conf.sample
-man/man1/ytree.1.gz
+share/man/man1/ytree.1.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/THANKS