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