# $NetBSD: Makefile,v 1.13 1998/11/13 11:27:30 agc Exp $ # FreeBSD Id: Makefile,v 1.26 1997/06/27 23:03:27 ache Exp # V= 2.02.1 DV= 2.02 DISTNAME= bash-${V} CATEGORIES= shells MASTER_SITES= ftp://slc2.ins.cwru.edu/pub/dist/ \ ${MASTER_SITE_GNU} .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 CONFLICTS= bash-2.02 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}/bash-doc-${DV}/doc/article.ps \ ${WRKDIR}/bash-doc-${DV}/doc/bashref.ps \ ${PREFIX}/share/doc/bash ${INSTALL_MAN} \ ${WRKDIR}/bash-doc-${DV}/doc/bash.html \ ${WRKDIR}/bash-doc-${DV}/doc/bashref.html \ ${WRKDIR}/bash-doc-${DV}/doc/bashref_toc.html \ ${PREFIX}/share/doc/bash ${INSTALL_MAN} \ ${WRKDIR}/bash-doc-${DV}/doc/article.txt \ ${PREFIX}/share/doc/bash ${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps .endif .include "../../mk/bsd.pkg.mk"