1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

misc/ytree: Sanitize MANPREFIX

- Utilize USES=localbase

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-21 13:17:27 +01:00
parent 8d63848f39
commit 7cf7df89bd
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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