aboutsummaryrefslogtreecommitdiff
path: root/shells/bash2
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-02-16 02:08:50 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-02-16 02:08:50 +0000
commit3a2ee0c0b7b5292e27377e69c3c2521bcee92b81 (patch)
tree5d7f71f5a1e88d1c4266d82e091f3849bccaa5cd /shells/bash2
parent899d41fee91ec355066fd3433fcae972bb19c3d1 (diff)
downloadports-3a2ee0c0b7b5292e27377e69c3c2521bcee92b81.tar.gz
ports-3a2ee0c0b7b5292e27377e69c3c2521bcee92b81.zip
Notes
Diffstat (limited to 'shells/bash2')
-rw-r--r--shells/bash2/Makefile34
-rw-r--r--shells/bash2/distinfo1
-rw-r--r--shells/bash2/pkg-plist6
3 files changed, 35 insertions, 6 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile
index 04a9218b42cb..bfe36da751fc 100644
--- a/shells/bash2/Makefile
+++ b/shells/bash2/Makefile
@@ -3,17 +3,39 @@
# Date created: 21 August 1994
# Whom: jkh
#
-# $Id: Makefile,v 1.19 1996/12/27 06:26:05 obrien Exp $
+# $Id: Makefile,v 1.20 1996/12/27 11:40:41 ache Exp $
#
-DISTNAME= bash-2.0
+DISTNAME= bash-2.0
CATEGORIES= shells
-MASTER_SITES= ftp://slc2.ins.cwru.edu/pub/dist/
+MASTER_SITES= ftp://slc2.ins.cwru.edu/pub/dist/ \
+ ${MASTER_SITE_GNU}
+.if !defined(NOPORTDOCS)
+DISTFILES= bash-2.0.tar.gz bash-doc-2.0.tar.gz
+.endif
-MAINTAINER= ache@FreeBSD.ORG
+MAINTAINER= ache@FreeBSD.ORG
-GNU_CONFIGURE= Yes
+GNU_CONFIGURE= Yes
+MAN1= bash.1 bashbug.1
-MAN1= bash.1 bashbug.1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/bash
+ ${INSTALL_MAN} \
+ ${WRKDIR}/bash-doc-2.0/doc/article.ps \
+ ${WRKDIR}/bash-doc-2.0/doc/bashref.ps \
+ ${PREFIX}/share/doc/bash
+ ${INSTALL_MAN} \
+ ${WRKDIR}/bash-doc-2.0/doc/bash.html \
+ ${WRKDIR}/bash-doc-2.0/doc/bashref.html \
+ ${WRKDIR}/bash-doc-2.0/doc/bashref_toc.html \
+ ${PREFIX}/share/doc/bash
+ ${INSTALL_MAN} \
+ ${WRKDIR}/bash-doc-2.0/doc/article.txt \
+ ${PREFIX}/share/doc/bash
+ ${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps
+.endif
.include <bsd.port.mk>
diff --git a/shells/bash2/distinfo b/shells/bash2/distinfo
index fb1544e5a3a1..4f3a6ebc11d6 100644
--- a/shells/bash2/distinfo
+++ b/shells/bash2/distinfo
@@ -1 +1,2 @@
MD5 (bash-2.0.tar.gz) = b88fd6607a6b9b5ebee34ff283c5ba63
+MD5 (bash-doc-2.0.tar.gz) = ab106bfaa334a4c2de0685645dc624ee
diff --git a/shells/bash2/pkg-plist b/shells/bash2/pkg-plist
index 84a9302c4918..34e6a439bb6f 100644
--- a/shells/bash2/pkg-plist
+++ b/shells/bash2/pkg-plist
@@ -5,3 +5,9 @@ bin/bashbug
man/man1/bash.1.gz
man/man1/bashbug.1.gz
info/bash.info
+share/doc/bash/article.ps.gz
+share/doc/bash/bashref.ps.gz
+share/doc/bash/bash.html
+share/doc/bash/bashref.html
+share/doc/bash/bashref_toc.html
+share/doc/bash/article.txt