47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.16 1999/02/21 02:58:30 hubertf Exp $
|
|
# FreeBSD Id: Makefile,v 1.26 1997/06/27 23:03:27 ache Exp
|
|
#
|
|
|
|
V= 2.03
|
|
DV= 2.03
|
|
DISTNAME= bash-${V}
|
|
CATEGORIES= shells
|
|
MASTER_SITES= ftp://slc2.ins.cwru.edu/pub/dist/ \
|
|
${MASTER_SITE_GNU}/bash/
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
DISTFILES= bash-${V}.tar.gz bash-doc-${DV}.tar.gz
|
|
.endif
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.gnu.org/software/bash/bash.html
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GTEXINFO= yes
|
|
|
|
pre-install:
|
|
strip ${WRKSRC}/bash
|
|
|
|
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
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/bash
|
|
${INSTALL_MAN} \
|
|
${WRKDIR}/doc/article.ps \
|
|
${WRKDIR}/doc/bashref.ps \
|
|
${PREFIX}/share/doc/bash
|
|
${INSTALL_MAN} \
|
|
${WRKDIR}/doc/bash.html \
|
|
${WRKDIR}/doc/bashref.html \
|
|
${PREFIX}/share/doc/bash
|
|
${INSTALL_MAN} \
|
|
${WRKDIR}/doc/article.txt \
|
|
${PREFIX}/share/doc/bash
|
|
${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|