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

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.3     ! hubertf     6: # $NetBSD: Makefile,v 1.2 1998/01/01 05:00:02 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: 
1.3     ! hubertf    20: BUILD_DEPENDS=  ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
        !            21: RUN_DEPENDS=    ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
1.1       hubertf    22: GNU_CONFIGURE= Yes
                     23: MAN1=          bash.1 bashbug.1
                     24: 
                     25: post-patch:
                     26:        cp /usr/include/fnmatch.h ${WRKSRC}/lib/glob/fnmatch.h
                     27: 
                     28: pre-install:
1.2       hubertf    29:        strip ${WRKSRC}/bash
1.1       hubertf    30:        if [ ! -s ${PREFIX}/info/dir ]; then \
                     31:          ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
                     32:        fi
                     33: 
                     34: post-install:
                     35:        ${CP} /etc/shells /etc/shells.bak
                     36:        (${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; echo ${PREFIX}/bin/bash) >/etc/shells
                     37:        ${RM} /etc/shells.bak
                     38: .if !defined(NOPORTDOCS)
                     39:        ${MKDIR} ${PREFIX}/share/doc/bash
                     40:        ${INSTALL_MAN}  \
                     41:                ${WRKDIR}/bash-doc-2.01/doc/article.ps  \
                     42:                ${WRKDIR}/bash-doc-2.01/doc/bashref.ps  \
                     43:                ${PREFIX}/share/doc/bash
                     44:        ${INSTALL_MAN}  \
                     45:                ${WRKDIR}/bash-doc-2.01/doc/bash.html  \
                     46:                ${WRKDIR}/bash-doc-2.01/doc/bashref.html  \
                     47:                ${WRKDIR}/bash-doc-2.01/doc/bashref_toc.html  \
                     48:                ${PREFIX}/share/doc/bash
                     49:        ${INSTALL_MAN}  \
                     50:                ${WRKDIR}/bash-doc-2.01/doc/article.txt  \
                     51:                ${PREFIX}/share/doc/bash
                     52:        ${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps
                     53: .endif
                     54: 
                     55: .include <bsd.port.mk>

CVSweb <webmaster@jp.NetBSD.org>