blob: 98e49092b324410191640d7b55398473143151a3 (
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
|
# $NetBSD: Makefile,v 1.24 2000/10/04 10:22:56 toshii 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
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
${MKDIR} ${PREFIX}/share/doc/bash
${INSTALL_MAN} \
${WRKDIR}/doc/article.ps \
${WRKDIR}/doc/bashref.ps \
${WRKDIR}/doc/bash.html \
${WRKDIR}/doc/bashref.html \
${WRKDIR}/doc/article.txt \
${PREFIX}/share/doc/bash
${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps
.include "../../mk/bsd.pkg.mk"
|