2001-02-07 14:51:16 +00:00
|
|
|
# ex:ts=8
|
1994-08-21 13:19:28 +00:00
|
|
|
# New ports collection makefile for: bash
|
|
|
|
# Date created: 21 August 1994
|
|
|
|
# Whom: jkh
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1994-08-21 13:19:28 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
PORTNAME= bash
|
2003-05-16 19:14:10 +00:00
|
|
|
PORTVERSION= 2.05b.007
|
2002-09-13 00:43:09 +00:00
|
|
|
PORTREVISION?= 0
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= shells
|
2000-04-21 08:19:33 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU} \
|
1999-10-03 00:33:42 +00:00
|
|
|
ftp://ftp.cwru.edu/pub/bash/
|
1999-01-27 07:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= bash
|
2002-09-29 01:44:12 +00:00
|
|
|
DISTFILES= bash-${PORTVERSION:C/\....$//}.tar.gz
|
1997-02-16 02:08:50 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-09-29 01:44:12 +00:00
|
|
|
DISTFILES+= bash-doc-${PORTVERSION:C/\....$//}.tar.gz
|
1997-02-16 02:08:50 +00:00
|
|
|
.endif
|
1995-10-04 14:45:01 +00:00
|
|
|
|
2003-05-19 21:33:35 +00:00
|
|
|
PATCH_SITES= ${MASTER_SITE_GNU} \
|
|
|
|
ftp://ftp.cwru.edu/pub/bash/bash-2.05b-patches/ \
|
2002-09-20 00:13:43 +00:00
|
|
|
${MASTER_SITE_LOCAL}
|
2003-05-19 21:33:35 +00:00
|
|
|
PATCH_SITE_SUBDIR= bash/bash-2.05b-patches obrien
|
2003-05-16 19:14:10 +00:00
|
|
|
PATCHFILES= bash205b-001 bash205b-002 bash205b-003 bash205b-004 \
|
|
|
|
bash205b-005 bash205b-006 bash205b-007
|
2003-05-19 21:33:35 +00:00
|
|
|
# msg00029.txt msg00031.txt msg00030.txt
|
2002-09-09 22:25:50 +00:00
|
|
|
|
2000-11-30 11:42:35 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= The GNU Bourne Again Shell
|
1994-08-21 13:19:28 +00:00
|
|
|
|
2002-08-04 06:57:11 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-09-13 00:43:09 +00:00
|
|
|
WRKSRC= ${WRKDIR}/bash-${PORTVERSION:C/\....$//}
|
1997-02-16 02:08:50 +00:00
|
|
|
GNU_CONFIGURE= Yes
|
2000-04-21 08:19:33 +00:00
|
|
|
CONFIGURE_ARGS= --with-installed-readline
|
2001-01-16 17:33:20 +00:00
|
|
|
CONFIGURE_ENV= LDFLAGS=-static
|
1997-02-16 02:08:50 +00:00
|
|
|
MAN1= bash.1 bashbug.1
|
1996-12-27 11:40:57 +00:00
|
|
|
|
2003-03-24 18:57:50 +00:00
|
|
|
.if defined(WITH_NET_REDIRECTIONS)
|
|
|
|
CONFIGURE_ARGS+= --enable-net-redirections
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-extract:
|
|
|
|
.if !defined(WITH_NET_REDIRECTIONS)
|
|
|
|
@${ECHO_MSG} "You can enable support for /dev/(tcp|udp)/host/port redirection by defining WITH_NET_REDIRECTIONS."
|
|
|
|
.endif
|
|
|
|
|
1997-02-16 02:08:50 +00:00
|
|
|
post-install:
|
1997-06-27 23:03:34 +00:00
|
|
|
${CP} /etc/shells /etc/shells.bak
|
2002-01-29 11:58:52 +00:00
|
|
|
(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; ${ECHO_CMD} ${PREFIX}/bin/bash) >/etc/shells
|
1997-06-27 23:03:34 +00:00
|
|
|
${RM} /etc/shells.bak
|
1997-02-16 02:08:50 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-08-04 06:57:11 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
1997-02-16 02:08:50 +00:00
|
|
|
${INSTALL_MAN} \
|
1999-05-28 01:09:20 +00:00
|
|
|
${WRKDIR}/doc/article.ps \
|
|
|
|
${WRKDIR}/doc/bashref.ps \
|
2002-08-04 06:57:11 +00:00
|
|
|
${DOCSDIR}
|
1997-02-16 02:08:50 +00:00
|
|
|
${INSTALL_MAN} \
|
1999-05-28 01:09:20 +00:00
|
|
|
${WRKDIR}/doc/article.txt \
|
2002-08-04 06:57:11 +00:00
|
|
|
${DOCSDIR}
|
2002-08-06 07:21:44 +00:00
|
|
|
${BZIP2_CMD} -f ${DOCSDIR}/*.ps
|
1997-02-16 02:08:50 +00:00
|
|
|
.endif
|
1995-10-04 14:45:01 +00:00
|
|
|
|
2002-08-04 06:57:11 +00:00
|
|
|
.include <bsd.port.post.mk>
|
|
|
|
|
|
|
|
CONFIGURE_TARGET:= --build=${CONFIGURE_TARGET}
|