1994-08-21 09:19:28 -04:00
|
|
|
# New ports collection makefile for: bash
|
1997-06-06 19:13:54 -04:00
|
|
|
# Version required: 2.01
|
1994-08-21 09:19:28 -04:00
|
|
|
# Date created: 21 August 1994
|
|
|
|
# Whom: jkh
|
|
|
|
#
|
1997-06-27 19:03:34 -04:00
|
|
|
# $Id: Makefile,v 1.25 1997/06/06 23:13:49 ache Exp $
|
1994-08-21 09:19:28 -04:00
|
|
|
#
|
|
|
|
|
1997-06-06 19:13:54 -04:00
|
|
|
DISTNAME= bash-2.01
|
1996-11-18 06:44:27 -05:00
|
|
|
CATEGORIES= shells
|
1997-02-15 21:08:50 -05:00
|
|
|
MASTER_SITES= ftp://slc2.ins.cwru.edu/pub/dist/ \
|
|
|
|
${MASTER_SITE_GNU}
|
|
|
|
.if !defined(NOPORTDOCS)
|
1997-06-06 19:13:54 -04:00
|
|
|
DISTFILES= bash-2.01.tar.gz bash-doc-2.01.tar.gz
|
1997-02-15 21:08:50 -05:00
|
|
|
.endif
|
1995-10-04 10:45:01 -04:00
|
|
|
|
1997-02-15 21:08:50 -05:00
|
|
|
MAINTAINER= ache@FreeBSD.ORG
|
1994-08-21 09:19:28 -04:00
|
|
|
|
1997-02-15 21:08:50 -05:00
|
|
|
GNU_CONFIGURE= Yes
|
|
|
|
MAN1= bash.1 bashbug.1
|
1996-12-27 06:40:57 -05:00
|
|
|
|
1997-06-06 19:13:54 -04:00
|
|
|
post-patch:
|
1997-05-26 18:21:51 -04:00
|
|
|
cp /usr/include/fnmatch.h ${WRKSRC}/lib/glob/fnmatch.h
|
1997-02-15 21:08:50 -05:00
|
|
|
|
1997-06-27 19:03:34 -04:00
|
|
|
pre-install:
|
|
|
|
if [ ! -s ${PREFIX}/info/dir ]; then \
|
|
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
|
|
fi
|
|
|
|
|
1997-02-15 21:08:50 -05:00
|
|
|
post-install:
|
1997-06-27 19:03:34 -04:00
|
|
|
${CP} /etc/shells /etc/shells.bak
|
|
|
|
(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; echo ${PREFIX}/bin/bash) >/etc/shells
|
|
|
|
${RM} /etc/shells.bak
|
1997-02-15 21:08:50 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/bash
|
|
|
|
${INSTALL_MAN} \
|
1997-06-06 19:13:54 -04:00
|
|
|
${WRKDIR}/bash-doc-2.01/doc/article.ps \
|
|
|
|
${WRKDIR}/bash-doc-2.01/doc/bashref.ps \
|
1997-02-15 21:08:50 -05:00
|
|
|
${PREFIX}/share/doc/bash
|
|
|
|
${INSTALL_MAN} \
|
1997-06-06 19:13:54 -04:00
|
|
|
${WRKDIR}/bash-doc-2.01/doc/bash.html \
|
|
|
|
${WRKDIR}/bash-doc-2.01/doc/bashref.html \
|
|
|
|
${WRKDIR}/bash-doc-2.01/doc/bashref_toc.html \
|
1997-02-15 21:08:50 -05:00
|
|
|
${PREFIX}/share/doc/bash
|
|
|
|
${INSTALL_MAN} \
|
1997-06-06 19:13:54 -04:00
|
|
|
${WRKDIR}/bash-doc-2.01/doc/article.txt \
|
1997-02-15 21:08:50 -05:00
|
|
|
${PREFIX}/share/doc/bash
|
|
|
|
${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps
|
|
|
|
.endif
|
1995-10-04 10:45:01 -04:00
|
|
|
|
1994-08-21 09:19:28 -04:00
|
|
|
.include <bsd.port.mk>
|