blob: 1acf0ea78d20a0acd96e8cf948bb5bac5a2775f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.22 2020/02/18 22:00:49 maya Exp $
DISTNAME= fish-3.1.0
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GITHUB:=fish-shell/}
GITHUB_PROJECT= fish-shell
GITHUB_RELEASE= 3.1.0
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fishshell.com/
COMMENT= User friendly command line shell for UNIX-like operating systems
LICENSE= gnu-gpl-v2
EXTRACT_USING= gtar
USE_LANGUAGES+= c c++03
USE_CMAKE= yes
USE_TOOLS+= msgfmt
CMAKE_ARGS+= -DIntl_INCLUDE_DIR=${PREFIX}/include
PKG_SHELL= bin/fish
REPLACE_PYTHON+= share/tools/*.py
REPLACE_PYTHON+= share/tools/web_config/webconfig.py
LDFLAGS.SunOS+= -lintl
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
CPPFLAGS+= -DHAVE_BACKTRACE
CPPFLAGS+= -DHAVE_BACKTRACE_SYMBOLS
CXXFLAGS.NetBSD+= -fpermissive
LDFLAGS+= -lexecinfo
.endif
# Upstream intentionally omits open.1 on Darwin, but adds realpath.1
PLIST_VARS+= open realpath
.if ${OPSYS} == "Darwin"
PLIST.realpath= yes
.else
PLIST.open= yes
.endif
.include "../../devel/pcre2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gettext-tools/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|