summaryrefslogtreecommitdiff
path: root/net/bb/Makefile
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1999-06-27 14:23:08 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1999-06-27 14:23:08 +0000
commiteb11b51ed920d9d5e656085008d8f65926b60bc4 (patch)
treedcc27a356b3cfe69ad17f592cddac6a6911bf6ae /net/bb/Makefile
parentUpgrade to xscreensaver-3.16 (diff)
Long awaited upgrade to version 1.2a
It lastet so long, because of personal time constraints and based on the fact, that I had to do the very time consuming task, to revamp the whole big brother installation heavily. This could be avoided, if Sean could provide a Makefile with a real install: target and not the drainbamaged "unpack, compile and let the whole sh**^H^H^H^Hbunch remain here(tm)" philosophy." (me lucky one, that apsfilter has changed about 1-2 years ago ;-) - make install target now copies the workdir to ${PREFIX}/bb and then moves or removes files and directories as needed - revamped client configuration and introduced a ${PREFIX}/share/bb/bbclients directory. Hope you like it this way ;-)
Notes
Notes: svn path=/head/; revision=19832
Diffstat (limited to 'net/bb/Makefile')
-rw-r--r--net/bb/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/net/bb/Makefile b/net/bb/Makefile
index d9788f49db89..0df82cdc6aa2 100644
--- a/net/bb/Makefile
+++ b/net/bb/Makefile
@@ -3,7 +3,7 @@
# Date created: So 17 Nov 1996 16:59:23 MET
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.30 1998/10/10 04:11:25 steve Exp $
+# $Id: Makefile,v 1.31 1999/06/26 12:01:23 andreas Exp $
#
DISTNAME= bb-1.2a
@@ -32,10 +32,21 @@ post-configure:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
do-install:
- cd ${WRKDIR}; tar cf - bb | ( cd ${PREFIX}; tar xpf - )
+ @cd ${WRKDIR} && find . -name "*.orig" | xargs ${RM}
+ @cd ${WRKDIR}; tar --exclude 'src' -c -f - bb \
+ | ( cd ${PREFIX}; tar xpf - )
@${LN} -fs ${PREFIX}/bb/www ${PREFIX}/share/apache/htdocs/bb
@${LN} -fs bb.html ${PREFIX}/bb/www/index.html
- mv -f ${PREFIX}/bb/doc ${PREFIX}/share/doc/bb
+ @${LN} -fs ${PREFIX}/bb/web/bb-ack.sh ${PREFIX}/share/apache/cgi-bin
+ @mv -f ${PREFIX}/bb/doc/bbclient ${PREFIX}/bb/bin
+ @mv -f ${PREFIX}/bb/doc/bbconfig ${PREFIX}/bb/bin
+ @mv -f ${PREFIX}/bb/doc ${PREFIX}/share/doc/bb
+ @${MKDIR} ${PREFIX}/share/bb/bbclients
+ @${TOUCH} ${PREFIX}/share/bb/bbclients/.keep_me
+ @${RM} ${PREFIX}/bb/KNOWN.BUGS
+ @${RM} ${PREFIX}/bb/README
+ @${RM} ${PREFIX}/bb/README.CHANGES
+ @${RM} ${PREFIX}/bb/README.INSTALL
@echo ""
@echo "================================================================"
@echo "==== Configuration Notes: ==="
@@ -44,16 +55,12 @@ do-install:
@echo "a) your hosts 'full qualified domain name' and IP-address"
@echo "b) 'watched' hosts 'full qualified domain name' and IP-address"
@echo "go here -> ${PREFIX}/bb/etc/bb-hosts"
- @echo ""
@echo "c) configure -> ${PREFIX}/bb/etc/bbdef.sh"
@echo "d) configure -> ${PREFIX}/bb/etc/bbinc.sh"
- @echo ""
@echo "e) You need to have a running WWW server (apache)"
@echo "f) You need kermit or qpage for pager functionality"
- @echo ""
@echo "After that, you can startup the big brother service by typing"
@echo " ${PREFIX}/bb/runbb.sh &"
- @echo ""
@echo "and watching your systems status by viewing this URL with"
@echo "Netscape or another WWW browser"
@echo " http://localhost/bb"