diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-01-21 12:17:27 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-01-21 12:51:18 +0000 |
commit | 7cf7df89bd3e2ce1960407526eb10beaf19a585d (patch) | |
tree | 39ecce6f47040e88d51f0fa22a360f25452e6fe8 | |
parent | 8d63848f398280b98aa6b1d6a6597e084ced3448 (diff) | |
download | ports-7cf7df89bd3e2ce1960407526eb10beaf19a585d.tar.gz ports-7cf7df89bd3e2ce1960407526eb10beaf19a585d.zip |
misc/ytree: Sanitize MANPREFIX
- Utilize USES=localbase
Approved by: portmgr (blanket)
-rw-r--r-- | misc/ytree/Makefile | 5 | ||||
-rw-r--r-- | 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 |