2012-12-18 11:04:42 +01:00
|
|
|
# Created by: Kai Wang <kaiw27@gmail.com>
|
2007-02-26 23:51:49 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fish
|
2018-12-31 22:38:49 +01:00
|
|
|
PORTVERSION= 3.0.0
|
2007-02-26 23:51:49 +01:00
|
|
|
CATEGORIES= shells
|
2018-12-31 22:38:49 +01:00
|
|
|
MASTER_SITES= https://github.com/fish-shell/fish-shell/releases/download/${PORTVERSION}/
|
2007-02-26 23:51:49 +01:00
|
|
|
|
2017-01-09 18:41:22 +01:00
|
|
|
MAINTAINER= asomers@FreeBSD.org
|
2013-05-28 15:49:59 +02:00
|
|
|
COMMENT= User friendly command line shell
|
2007-02-26 23:51:49 +01:00
|
|
|
|
2014-01-25 03:40:17 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2017-09-07 06:58:25 +02:00
|
|
|
LIB_DEPENDS+= libpcre2-32.so:devel/pcre2
|
|
|
|
|
2018-12-31 22:38:49 +01:00
|
|
|
# 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 cpe ncurses python:3.4+:build \
|
2017-09-07 06:58:25 +02:00
|
|
|
localbase compiler:c++11-lang shebangfix
|
2018-12-31 22:38:49 +01:00
|
|
|
|
2017-09-07 06:58:25 +02:00
|
|
|
SHEBANG_FILES= share/tools/*.py share/tools/web_config/webconfig.py
|
2016-09-07 20:53:49 +02:00
|
|
|
|
2017-12-04 17:59:19 +01:00
|
|
|
CONFLICTS_INSTALL= comms/mlan3
|
|
|
|
|
2015-03-17 12:31:55 +01:00
|
|
|
CPE_VENDOR= fishshell
|
|
|
|
|
2015-07-26 10:35:18 +02:00
|
|
|
MANDIRS= ${DATADIR}/man/man1
|
2014-01-25 01:56:53 +01:00
|
|
|
|
2018-12-31 22:38:49 +01:00
|
|
|
OPTIONS_DEFAULT= MANPAGES DOCS NLS
|
|
|
|
OPTIONS_DEFINE= MANPAGES DOCS NLS
|
2014-01-25 01:56:53 +01:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2018-12-31 22:38:49 +01:00
|
|
|
DOCS_BUILD_DEPENDS+= doxygen:devel/doxygen
|
|
|
|
MANPAGES_BUILD_DEPENDS+= doxygen:devel/doxygen
|
2013-12-19 23:12:49 +01:00
|
|
|
NLS_USES= gettext
|
2018-12-31 22:38:49 +01:00
|
|
|
NLS_CMAKE_BOOL= WITH_GETTEXT
|
2010-01-14 04:16:39 +01:00
|
|
|
|
|
|
|
post-install:
|
2016-09-07 20:53:49 +02:00
|
|
|
.for i in fish fish_indent fish_key_reader
|
2013-12-19 23:12:49 +01:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i}
|
2013-05-28 15:49:59 +02:00
|
|
|
.endfor
|
2007-02-26 23:51:49 +01:00
|
|
|
|
2018-12-31 22:38:49 +01:00
|
|
|
post-stage-MANPAGES-off:
|
|
|
|
@${RM} -rf ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
@${RM} -rf ${STAGEDIR}${DATADIR}/man
|
|
|
|
|
2012-12-18 11:04:42 +01:00
|
|
|
.include <bsd.port.mk>
|