summaryrefslogtreecommitdiffstats
path: root/shells/bash3
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-02-16 02:08:50 +0000
committerobrien <obrien@FreeBSD.org>1997-02-16 02:08:50 +0000
commit8f1b80690819a8ce8ad3a8af01317066a1c0b55b (patch)
treec28490198b81fb222a33497d3f687b15922bc09b /shells/bash3
parenteed2e0e8e74bbd0e1f168c85c2f770158bd1f8a8 (diff)
downloadFreeBSD-ports-8f1b80690819a8ce8ad3a8af01317066a1c0b55b.zip
FreeBSD-ports-8f1b80690819a8ce8ad3a8af01317066a1c0b55b.tar.gz
Added the docs to the package.
Commited with permission of the maintainer.
Diffstat (limited to 'shells/bash3')
-rw-r--r--shells/bash3/Makefile34
-rw-r--r--shells/bash3/distinfo1
-rw-r--r--shells/bash3/pkg-plist6
3 files changed, 35 insertions, 6 deletions
diff --git a/shells/bash3/Makefile b/shells/bash3/Makefile
index 04a9218..bfe36da 100644
--- a/shells/bash3/Makefile
+++ b/shells/bash3/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/bash3/distinfo b/shells/bash3/distinfo
index fb1544e..4f3a6eb 100644
--- a/shells/bash3/distinfo
+++ b/shells/bash3/distinfo
@@ -1 +1,2 @@
MD5 (bash-2.0.tar.gz) = b88fd6607a6b9b5ebee34ff283c5ba63
+MD5 (bash-doc-2.0.tar.gz) = ab106bfaa334a4c2de0685645dc624ee
diff --git a/shells/bash3/pkg-plist b/shells/bash3/pkg-plist
index 84a9302..34e6a43 100644
--- a/shells/bash3/pkg-plist
+++ b/shells/bash3/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
OpenPOWER on IntegriCloud