Annotation of pkgsrc/shells/bash2/Makefile, revision 1.2

1.1       hubertf     1: # New ports collection makefile for:   bash
                      2: # Version required:     2.01
                      3: # Date created:                21 August 1994
                      4: # Whom:                        jkh
                      5: #
1.2     ! hubertf     6: # $NetBSD: Makefile,v 1.1.1.1 1997/10/27 04:51:39 hubertf Exp $
1.1       hubertf     7: # FreeBSD Id: Makefile,v 1.26 1997/06/27 23:03:27 ache Exp 
                      8: #
                      9: 
                     10: DISTNAME=       bash-2.01
                     11: CATEGORIES=    shells
                     12: MASTER_SITES=  ftp://slc2.ins.cwru.edu/pub/dist/  \
                     13:                ${MASTER_SITE_GNU}
                     14: .if !defined(NOPORTDOCS)
                     15: DISTFILES=      bash-2.01.tar.gz bash-doc-2.01.tar.gz
                     16: .endif
                     17: 
                     18: MAINTAINER=    ache@FreeBSD.ORG
                     19: 
                     20: GNU_CONFIGURE= Yes
                     21: MAN1=          bash.1 bashbug.1
                     22: 
                     23: post-patch:
                     24:        cp /usr/include/fnmatch.h ${WRKSRC}/lib/glob/fnmatch.h
                     25: 
                     26: pre-install:
1.2     ! hubertf    27:        strip ${WRKSRC}/bash
1.1       hubertf    28:        if [ ! -s ${PREFIX}/info/dir ]; then \
                     29:          ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
                     30:        fi
                     31: 
                     32: post-install:
                     33:        ${CP} /etc/shells /etc/shells.bak
                     34:        (${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; echo ${PREFIX}/bin/bash) >/etc/shells
                     35:        ${RM} /etc/shells.bak
                     36: .if !defined(NOPORTDOCS)
                     37:        ${MKDIR} ${PREFIX}/share/doc/bash
                     38:        ${INSTALL_MAN}  \
                     39:                ${WRKDIR}/bash-doc-2.01/doc/article.ps  \
                     40:                ${WRKDIR}/bash-doc-2.01/doc/bashref.ps  \
                     41:                ${PREFIX}/share/doc/bash
                     42:        ${INSTALL_MAN}  \
                     43:                ${WRKDIR}/bash-doc-2.01/doc/bash.html  \
                     44:                ${WRKDIR}/bash-doc-2.01/doc/bashref.html  \
                     45:                ${WRKDIR}/bash-doc-2.01/doc/bashref_toc.html  \
                     46:                ${PREFIX}/share/doc/bash
                     47:        ${INSTALL_MAN}  \
                     48:                ${WRKDIR}/bash-doc-2.01/doc/article.txt  \
                     49:                ${PREFIX}/share/doc/bash
                     50:        ${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps
                     51: .endif
                     52: 
                     53: .include <bsd.port.mk>

CVSweb <webmaster@jp.NetBSD.org>