1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/shells/fish/Makefile
Alan Somers 172aee05e0 shells/fish: fix ZFS tab completion
It's already fixed upstream, but not yet in any release, with no ETA.

PR:		272246
Reported by:	dch
Sponsored by:	Axcient
Approved by:	fuz (ports)
2023-09-08 09:09:07 -06:00

59 lines
1.5 KiB
Makefile

PORTNAME= fish
DISTVERSION= 3.6.1
PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= https://github.com/fish-shell/fish-shell/releases/download/${PORTVERSION}/
PATCH_SITES= https://github.com/fish-shell/fish-shell/commit/
PATCHFILES+= 85504ca694ae099f023ae0febb363238d9c64e8d.patch:-p1
MAINTAINER= asomers@FreeBSD.org
COMMENT= User friendly command line shell
WWW= https://fishshell.com/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpcre2-32.so:devel/pcre2
# The python dependency is only needed by shebangfix. At runtime python is
# only needed by some optional scripts that aren't in PATH.
USES= cmake compiler:c++11-lang cpe localbase ncurses python:env \
shebangfix tar:xz
CPE_VENDOR= fishshell
SHEBANG_FILES= share/tools/*.py share/tools/web_config/webconfig.py
CONFLICTS_INSTALL= comms/mlan3
MANDIRS= ${DATADIR}/man/man1
PORTDOCS= *
OPTIONS_DEFINE= DOCS MANPAGES NLS
OPTIONS_DEFAULT= MANPAGES NLS
OPTIONS_SUB= yes
DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR}
DOCS_CMAKE_BOOL= BUILD_DOCS
DOCS_VARS= MAKE_JOBS_UNSAFE=yes
NLS_USES= gettext
NLS_CMAKE_BOOL= WITH_GETTEXT
.include <bsd.port.pre.mk>
.if ${NCURSESBASE:M${LOCALBASE}}
CMAKE_ARGS+= -DCURSES_NEED_NCURSES=TRUE
.endif
post-install:
.for i in fish fish_indent fish_key_reader
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i}
.endfor
@${MV} ${STAGEDIR}${ETCDIR}/config.fish ${STAGEDIR}${ETCDIR}/config.fish.sample
post-stage-DOCS-on:
@${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo
.include <bsd.port.post.mk>