FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pkgsrc/shells/mksh/Makefile at trunk · ca5coder/pkgsrc · GitHub
ca5coder
/
pkgsrc
Public
forked from
NetBSD/pkgsrc
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pkgsrc
/
shells
/
mksh
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
57 lines (43 loc) · 1.46 KB
Breadcrumbs
pkgsrc
/
shells
/
mksh
/
Makefile
Copy path
File metadata and controls
57 lines (43 loc) · 1.46 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#
$NetBSD: Makefile,v 1.43 2021/05/24 19:54:07 wiz Exp $
DISTNAME
= mksh-R59b
PKGNAME
= ${DISTNAME:S/-R/-/}
PKGREVISION
= 1
CATEGORIES
= shells
MASTER_SITES
=
#
maintained locally
DISTFILES=
#
empty
MAINTAINER
= jperkin@pkgsrc.org
HOMEPAGE
= http://mirbsd.de/mksh
COMMENT
= MirBSD Korn Shell
LICENSE
= miros
BOOTSTRAP_PKG
= yes
NO_CHECKSUM
= yes
WRKSRC
= ${WRKDIR}/mksh
LIBS.Interix+
= -lcrypt
INSTALLATION_DIRS
= bin ${PKGMANDIR}/man1 share/examples/mksh
.include "../../mk/bsd.prefs.mk"
#
#
If mksh is currently in use as the bootstrap shell then do not enable
#
PKG_SHELL as it can cause circular problems (its +INSTALL script will
#
require the shell itself). This match is deliberate to catch both of
#
the prefixes used during bootstrap, we can't simply use LOCALBASE.
#
.if
${TOOLS_PLATFORM.sh
:N?
*
/bin/mksh}
PKG_SHELL
= bin/mksh
.endif
do-extract
:
${CP}
-R
${FILESDIR}
${WRKSRC}
do-build
:
cd
${WRKSRC}
&&
${SETENV}
${MAKE_ENV}
LIBS=
${LIBS
:
Q}
\
${TOOLS_SHELL}
${WRKSRC}
/Build.sh -r
do-install
:
${INSTALL_PROGRAM}
${WRKSRC}
/mksh
${DESTDIR}${PREFIX}
/bin/mksh
${INSTALL_MAN}
${WRKSRC}
/mksh.1
${DESTDIR}${PREFIX}
/
${PKGMANDIR}
/man1/
${INSTALL_DATA}
${WRKSRC}
/dot.mkshrc
${DESTDIR}${PREFIX}
/share/examples/mksh/
#
For check-portability's double brackets check.
#
This should be patched instead.
CHECK_PORTABILITY_SKIP+
= Build.sh
#
Uncomment this if you want to run the regression tests
#
USE_TOOLS+= perl
#
do-test:
#
${WRKSRC}/test.sh -v
.include "../../mk/bsd.pkg.mk"
Back
|
FazBrowse Home
|
New Git URL