blob: 69d2d3b866f565ce223fb7e92386c9979d9a7e76 (
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
|
# $NetBSD: Makefile,v 1.26 2001/02/17 17:40:18 wiz Exp $
# FreeBSD Id: Makefile,v 1.26 1997/06/27 23:03:27 ache Exp
#
V= 2.04
DV= 2.04
DISTNAME= bash-${V}
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU:=bash/} \
ftp://slc2.ins.cwru.edu/pub/dist/
DISTFILES= bash-${V}.tar.gz bash-doc-${DV}.tar.gz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/bash/bash.html
COMMENT= The GNU Bourne Again Shell
GNU_CONFIGURE= yes
USE_GTEXINFO= yes
MAKE_ENV+= INSTALL_SCRIPT='${INSTALL_SCRIPT}'
.include "../../mk/bsd.prefs.mk"
.if defined(BASH_STATIC) && ${BASH_STATIC} == YES
CONFIGURE_ARGS+= --enable-static-link
.endif
post-install:
${CP} /etc/shells /etc/shells.bak
(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; ${ECHO} ${PREFIX}/bin/bash) >/etc/shells
${RM} /etc/shells.bak
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bash
${INSTALL_MAN} \
${WRKDIR}/doc/article.ps \
${WRKDIR}/doc/bashref.ps \
${WRKDIR}/doc/article.txt \
${PREFIX}/share/doc/bash
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/bash
${INSTALL_MAN} \
${WRKDIR}/doc/bash.html \
${WRKDIR}/doc/bashref.html \
${PREFIX}/share/doc/html/bash
${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps
.include "../../mk/bsd.pkg.mk"
|