blob: 720edb569b000eced6e984ec47f0871b33f252b0 (
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
51
52
53
54
55
56
57
58
59
60
|
# $NetBSD: Makefile,v 1.20 2019/04/25 07:33:17 maya Exp $
DISTNAME= fish-3.0.0
PKGREVISION= 2
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GITHUB:=fish-shell/}
GITHUB_PROJECT= fish-shell
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
WRKSRC= ${WRKDIR}/fish-shell-${PKGVERSION_NOREV}
USE_LANGUAGES+= c c++03
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --without-xsel
USE_TOOLS+= gmake autoreconf autoconf automake
EGDIR= ${PREFIX}/share/examples
INSTALL_ENV+= EGDIR=${EGDIR}
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
PLIST_VARS+= open
.if ${OPSYS} != "Darwin"
PLIST.open= yes
.endif
pre-configure:
${RUN} cd ${WRKSRC} && autoreconf -fiv
.include "options.mk"
.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"
|