aboutsummaryrefslogtreecommitdiffstats
path: root/net/bb
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1997-10-14 04:19:25 +0800
committerandreas <andreas@FreeBSD.org>1997-10-14 04:19:25 +0800
commit03ad6582d2ab316d473c2919d1fea0fa29173e7d (patch)
tree3bbca2c3f8e09a4bf9db95a5c9d65d02c5595e26 /net/bb
parentdad915b0674c7806c0bfbfaf9edebbf2b77fa736 (diff)
downloadfreebsd-ports-gnome-03ad6582d2ab316d473c2919d1fea0fa29173e7d.tar.gz
freebsd-ports-gnome-03ad6582d2ab316d473c2919d1fea0fa29173e7d.tar.zst
freebsd-ports-gnome-03ad6582d2ab316d473c2919d1fea0fa29173e7d.zip
updated PKGNAME from bb-1.04h to bb-1.04
removed not needed #NO_CDROM= entry install forgotten bbnet and sendmsg script/prg updated PLIST added bb.sh script to FILESDIR install bb.sh script from FILESDIR to ${PREFIX}/etc/rc.d add dirrm statements in PLIST remove bb symlink in www/data after the last dir. has been removed added $Id$ in configure script add post-install script, that inserts the correct local-path (PREFIX)
Diffstat (limited to 'net/bb')
-rw-r--r--net/bb/Makefile13
-rw-r--r--net/bb/files/bb.sh5
-rw-r--r--net/bb/pkg-plist16
-rw-r--r--net/bb/scripts/configure2
-rw-r--r--net/bb/scripts/post-install9
5 files changed, 39 insertions, 6 deletions
diff --git a/net/bb/Makefile b/net/bb/Makefile
index 98c4f254083b..9fe7eb1bf6c6 100644
--- a/net/bb/Makefile
+++ b/net/bb/Makefile
@@ -3,11 +3,11 @@
# Date created: So 17 Nov 1996 16:59:23 MET
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.18 1997/10/04 14:53:01 andreas Exp $
+# $Id: Makefile,v 1.19 1997/10/09 21:04:34 andreas Exp $
#
DISTNAME= bb
-PKGNAME= bb-1.04h
+PKGNAME= bb-1.04
CATEGORIES= net
MASTER_SITES= http://www.iti.qc.ca/iti/users/sean/bb-dnld/
EXTRACT_SUFX= -src.tgz
@@ -19,7 +19,6 @@ BUILD_DEPENDS= ${PREFIX}/sbin/httpd:${PORTSDIR}/www/apache
# The FreeBSD Ports Team has permission to include this in our CDROM
# from the author, but others who wish to do likewise will have to
# contact Sean MacGuire <sean@iti.qc.ca>.
-#NO_CDROM= "It can't be sold"
post-configure:
( cd ${WRKSRC}/doc; ${SH} bbconfig freebsd )
@@ -35,6 +34,8 @@ do-install:
@${MKDIR} ${PREFIX}/${DISTNAME}/www/notes
@${MKDIR} ${PREFIX}/${DISTNAME}/tmp
@${TOUCH} ${PREFIX}/${DISTNAME}/tmp/.keep_me
+ ${INSTALL_SCRIPT} ${WRKSRC}/runbb.sh \
+ ${PREFIX}/${DISTNAME}/runbb.sh
${INSTALL_DATA} ${WRKSRC}/README \
${PREFIX}/${DISTNAME}/README
${INSTALL_PROGRAM} ${WRKSRC}/bin/bb \
@@ -47,6 +48,10 @@ do-install:
${PREFIX}/${DISTNAME}/bin/bb-page.sh
${INSTALL_PROGRAM} ${WRKSRC}/bin/bbd \
${PREFIX}/${DISTNAME}/bin/bbd
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/bbnet \
+ ${PREFIX}/${DISTNAME}/bin/bbnet
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/sendmsg \
+ ${PREFIX}/${DISTNAME}/bin/sendmsg
${INSTALL_PROGRAM} ${WRKSRC}/bin/touchtime \
${PREFIX}/${DISTNAME}/bin/touchtime
${INSTALL_DATA} ${WRKSRC}/doc/README \
@@ -77,8 +82,6 @@ do-install:
${PREFIX}/${DISTNAME}/etc/bbsys.solaris
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.sunos \
${PREFIX}/${DISTNAME}/etc/bbsys.sunos
- ${INSTALL_SCRIPT} ${WRKSRC}/runbb.sh \
- ${PREFIX}/${DISTNAME}/runbb.sh
${INSTALL_SCRIPT} ${WRKSRC}/web/mkbb.bkg \
${PREFIX}/${DISTNAME}/web/mkbb.bkg
${INSTALL_SCRIPT} ${WRKSRC}/web/mkbb.cols \
diff --git a/net/bb/files/bb.sh b/net/bb/files/bb.sh
new file mode 100644
index 000000000000..1ed72e14a3b4
--- /dev/null
+++ b/net/bb/files/bb.sh
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+# $Id$
+
+!!PREFIX!!/bb/runbb.sh &
diff --git a/net/bb/pkg-plist b/net/bb/pkg-plist
index 6c4639f84435..4c55f0c6ec0c 100644
--- a/net/bb/pkg-plist
+++ b/net/bb/pkg-plist
@@ -1,9 +1,13 @@
+etc/rc.d/bb.sh
bb/README
+bb/runbb.sh
bb/bin/bb
bb/bin/bb-local.sh
bb/bin/bb-network.sh
bb/bin/bb-page.sh
bb/bin/bbd
+bb/bin/bbnet
+bb/bin/sendmsg
bb/bin/touchtime
bb/doc/README
bb/doc/STRUCTURE
@@ -19,7 +23,6 @@ bb/etc/bbsys.local
bb/etc/bbsys.sh
bb/etc/bbsys.solaris
bb/etc/bbsys.sunos
-bb/runbb.sh
bb/web/mkbb.bkg
bb/web/mkbb.cols
bb/web/mkbb.sh
@@ -47,3 +50,14 @@ bb/www/gifs/yellow.gif
bb/www/logs/later
bb/tmp/.keep_me
www/cgi-bin/bb-pager.sh
+@dirrm bb/bin
+@dirrm bb/doc
+@dirrm bb/etc
+@dirrm bb/web
+@dirrm bb/www/gifs
+@dirrm bb/www/logs
+@dirrm bb/www/notes
+@dirrm bb/www
+@dirrm bb/tmp
+@dirrm bb
+www/data/bb
diff --git a/net/bb/scripts/configure b/net/bb/scripts/configure
index 6cc86b270bc8..83244f6de27f 100644
--- a/net/bb/scripts/configure
+++ b/net/bb/scripts/configure
@@ -1,5 +1,7 @@
#!/bin/sh
+# $Id$
+
cd $WRKSRC || exit 1
mv runbb.sh runbb.sh.orig
diff --git a/net/bb/scripts/post-install b/net/bb/scripts/post-install
new file mode 100644
index 000000000000..da5806fbf433
--- /dev/null
+++ b/net/bb/scripts/post-install
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+# $Id$
+
+sed -e "s=!!PREFIX!!=${PREFIX}=" \
+ < ${FILESDIR}/bb.sh \
+ > ${PREFIX}/etc/rc.d/bb.sh
+
+chmod 554 ${PREFIX}/etc/rc.d/bb.sh