1994-08-21 13:19:28 +00:00
|
|
|
# New ports collection makefile for: bash
|
1998-04-28 05:10:43 +00:00
|
|
|
# Version required: 2.*
|
1994-08-21 13:19:28 +00:00
|
|
|
# Date created: 21 August 1994
|
|
|
|
# Whom: jkh
|
|
|
|
#
|
1999-01-27 07:41:29 +00:00
|
|
|
# $Id: Makefile,v 1.31 1998/08/10 00:00:46 steve Exp $
|
1994-08-21 13:19:28 +00:00
|
|
|
#
|
|
|
|
|
1998-08-10 00:00:50 +00:00
|
|
|
DISTNAME= bash-2.02.1
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= shells
|
1998-05-16 11:39:19 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU} \
|
|
|
|
ftp://slc2.ins.cwru.edu/pub/dist/
|
1999-01-27 07:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= bash
|
1997-02-16 02:08:50 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1998-08-10 00:00:50 +00:00
|
|
|
DISTFILES= bash-2.02.1.tar.gz bash-doc-2.02.tar.gz
|
1997-02-16 02:08:50 +00:00
|
|
|
.endif
|
1995-10-04 14:45:01 +00:00
|
|
|
|
1997-02-16 02:08:50 +00:00
|
|
|
MAINTAINER= ache@FreeBSD.ORG
|
1994-08-21 13:19:28 +00:00
|
|
|
|
1997-02-16 02:08:50 +00:00
|
|
|
GNU_CONFIGURE= Yes
|
|
|
|
MAN1= bash.1 bashbug.1
|
1996-12-27 11:40:57 +00:00
|
|
|
|
1997-06-27 23:03:34 +00:00
|
|
|
pre-install:
|
1998-07-17 20:38:17 +00:00
|
|
|
if [ ! -s ${PREFIX}/info/dir -a -f /usr/share/info/dir ]; then \
|
1997-06-27 23:03:34 +00:00
|
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
|
|
fi
|
|
|
|
|
1997-02-16 02:08:50 +00:00
|
|
|
post-install:
|
1997-06-27 23:03:34 +00: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-16 02:08:50 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/bash
|
|
|
|
${INSTALL_MAN} \
|
1998-04-28 05:10:43 +00:00
|
|
|
${WRKDIR}/bash-doc-2.02/doc/article.ps \
|
|
|
|
${WRKDIR}/bash-doc-2.02/doc/bashref.ps \
|
1997-02-16 02:08:50 +00:00
|
|
|
${PREFIX}/share/doc/bash
|
|
|
|
${INSTALL_MAN} \
|
1998-04-28 05:10:43 +00:00
|
|
|
${WRKDIR}/bash-doc-2.02/doc/bash.html \
|
|
|
|
${WRKDIR}/bash-doc-2.02/doc/bashref.html \
|
|
|
|
${WRKDIR}/bash-doc-2.02/doc/bashref_toc.html \
|
1997-02-16 02:08:50 +00:00
|
|
|
${PREFIX}/share/doc/bash
|
|
|
|
${INSTALL_MAN} \
|
1998-04-28 05:10:43 +00:00
|
|
|
${WRKDIR}/bash-doc-2.02/doc/article.txt \
|
1997-02-16 02:08:50 +00:00
|
|
|
${PREFIX}/share/doc/bash
|
|
|
|
${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps
|
|
|
|
.endif
|
1995-10-04 14:45:01 +00:00
|
|
|
|
1994-08-21 13:19:28 +00:00
|
|
|
.include <bsd.port.mk>
|