aboutsummaryrefslogtreecommitdiffstats
path: root/shells/bash
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-02-16 10:08:50 +0800
committerobrien <obrien@FreeBSD.org>1997-02-16 10:08:50 +0800
commit8f1b80690819a8ce8ad3a8af01317066a1c0b55b (patch)
treec28490198b81fb222a33497d3f687b15922bc09b /shells/bash
parenteed2e0e8e74bbd0e1f168c85c2f770158bd1f8a8 (diff)
downloadfreebsd-ports-gnome-8f1b80690819a8ce8ad3a8af01317066a1c0b55b.tar.gz
freebsd-ports-gnome-8f1b80690819a8ce8ad3a8af01317066a1c0b55b.tar.zst
freebsd-ports-gnome-8f1b80690819a8ce8ad3a8af01317066a1c0b55b.zip
Added the docs to the package.
Commited with permission of the maintainer.
Diffstat (limited to 'shells/bash')
-rw-r--r--shells/bash/Makefile34
-rw-r--r--shells/bash/distinfo1
-rw-r--r--shells/bash/pkg-plist6
3 files changed, 35 insertions, 6 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 04a9218b42cb..bfe36da751fc 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/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/bash/distinfo b/shells/bash/distinfo
index fb1544e5a3a1..4f3a6ebc11d6 100644
--- a/shells/bash/distinfo
+++ b/shells/bash/distinfo
@@ -1 +1,2 @@
MD5 (bash-2.0.tar.gz) = b88fd6607a6b9b5ebee34ff283c5ba63
+MD5 (bash-doc-2.0.tar.gz) = ab106bfaa334a4c2de0685645dc624ee
diff --git a/shells/bash/pkg-plist b/shells/bash/pkg-plist
index 84a9302c4918..34e6a439bb6f 100644
--- a/shells/bash/pkg-plist
+++ b/shells/bash/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