1996-11-17 20:02:13 +00:00
|
|
|
# New ports collection makefile for: bb
|
1997-05-04 03:26:54 +00:00
|
|
|
# Version required: 1.04H
|
1996-11-17 20:02:13 +00:00
|
|
|
# Date created: So 17 Nov 1996 16:59:23 MET
|
|
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
|
|
#
|
1997-05-04 03:26:54 +00:00
|
|
|
# $Id: Makefile,v 1.15 1997/03/04 05:14:57 asami Exp $
|
1996-11-17 20:02:13 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= bb
|
1997-05-04 03:26:54 +00:00
|
|
|
PKGNAME= bb-1.04h
|
1996-11-18 05:35:30 +00:00
|
|
|
CATEGORIES= net
|
1996-11-17 20:02:13 +00:00
|
|
|
MASTER_SITES= http://www.iti.qc.ca/iti/users/sean/bb-dnld/
|
|
|
|
EXTRACT_SUFX= -src.tgz
|
|
|
|
|
|
|
|
MAINTAINER= andreas@klemm.gtn.com
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PREFIX}/sbin/httpd:${PORTSDIR}/www/apache
|
|
|
|
|
1997-01-06 13:54:53 +00:00
|
|
|
# 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"
|
1997-01-06 08:51:42 +00:00
|
|
|
|
1996-11-17 20:02:13 +00:00
|
|
|
post-configure:
|
|
|
|
( cd ${WRKSRC}/doc; /bin/sh bbconfig freebsd )
|
1996-12-01 01:23:27 +00:00
|
|
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
1996-11-17 20:02:13 +00:00
|
|
|
|
1996-11-26 09:16:00 +00:00
|
|
|
do-install:
|
1996-11-18 05:35:30 +00:00
|
|
|
@${MKDIR} ${PREFIX}/${DISTNAME}/bin
|
|
|
|
@${MKDIR} ${PREFIX}/${DISTNAME}/doc
|
|
|
|
@${MKDIR} ${PREFIX}/${DISTNAME}/etc
|
|
|
|
@${MKDIR} ${PREFIX}/${DISTNAME}/web
|
|
|
|
@${MKDIR} ${PREFIX}/${DISTNAME}/www/gifs
|
|
|
|
@${MKDIR} ${PREFIX}/${DISTNAME}/www/logs
|
|
|
|
@${MKDIR} ${PREFIX}/${DISTNAME}/www/notes
|
1997-01-23 22:05:48 +00:00
|
|
|
@${MKDIR} ${PREFIX}/${DISTNAME}/tmp
|
|
|
|
@/usr/bin/touch ${PREFIX}/${DISTNAME}/tmp/.keep_me
|
1996-11-17 20:02:13 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
|
|
${PREFIX}/${DISTNAME}/README
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/bb \
|
|
|
|
${PREFIX}/${DISTNAME}/bin/bb
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/bb-local.sh \
|
|
|
|
${PREFIX}/${DISTNAME}/bin/bb-local.sh
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/bb-network.sh \
|
|
|
|
${PREFIX}/${DISTNAME}/bin/bb-network.sh
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/bb-page.sh \
|
|
|
|
${PREFIX}/${DISTNAME}/bin/bb-page.sh
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/bbd \
|
|
|
|
${PREFIX}/${DISTNAME}/bin/bbd
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/touchtime \
|
|
|
|
${PREFIX}/${DISTNAME}/bin/touchtime
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README \
|
|
|
|
${PREFIX}/${DISTNAME}/doc/README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/STRUCTURE \
|
|
|
|
${PREFIX}/${DISTNAME}/doc/STRUCTURE
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/doc/bbclient \
|
|
|
|
${PREFIX}/${DISTNAME}/doc/bbclient
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/doc/bbconfig \
|
|
|
|
${PREFIX}/${DISTNAME}/doc/bbconfig
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/bb-hosts \
|
|
|
|
${PREFIX}/${DISTNAME}/etc/bb-hosts
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/etc/bbdef.sh \
|
|
|
|
${PREFIX}/${DISTNAME}/etc/bbdef.sh
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/etc/bbinc.sh \
|
|
|
|
${PREFIX}/${DISTNAME}/etc/bbinc.sh
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.freebsd \
|
|
|
|
${PREFIX}/${DISTNAME}/etc/bbsys.freebsd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.hpux \
|
|
|
|
${PREFIX}/${DISTNAME}/etc/bbsys.hpux
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.linux \
|
|
|
|
${PREFIX}/${DISTNAME}/etc/bbsys.linux
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.local \
|
|
|
|
${PREFIX}/${DISTNAME}/etc/bbsys.local
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/etc/bbsys.sh \
|
|
|
|
${PREFIX}/${DISTNAME}/etc/bbsys.sh
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.solaris \
|
|
|
|
${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 \
|
|
|
|
${PREFIX}/${DISTNAME}/web/mkbb.cols
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/web/mkbb.sh \
|
|
|
|
${PREFIX}/${DISTNAME}/web/mkbb.sh
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/web/mkbb2.sh \
|
|
|
|
${PREFIX}/${DISTNAME}/web/mkbb2.sh
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/bb-help.html \
|
|
|
|
${PREFIX}/${DISTNAME}/www/bb-help.html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/bb-info.html \
|
|
|
|
${PREFIX}/${DISTNAME}/www/bb-info.html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/bb-page.html \
|
|
|
|
${PREFIX}/${DISTNAME}/www/bb-page.html
|
1997-01-26 18:44:39 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/www/bb-pager.sh \
|
|
|
|
${PREFIX}/www/cgi-bin/bb-pager.sh
|
|
|
|
@ln -sf ${PREFIX}/www/cgi-bin/bb-pager.sh \
|
|
|
|
${PREFIX}/${DISTNAME}/www/bb-pager.sh
|
1996-11-17 20:02:13 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/bb-diag.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/bb-diag.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/bb.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/bb.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/bkg-green.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/bkg-green.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/bkg-purple.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/bkg-purple.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/bkg-red.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/bkg-red.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/bkg-yellow.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/bkg-yellow.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/blue.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/blue.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/buthelp.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/buthelp.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/butinfo.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/butinfo.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/butpage.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/butpage.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/butview.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/butview.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/green.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/green.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/purple.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/purple.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/red.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/red.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/gifs/yellow.gif \
|
|
|
|
${PREFIX}/${DISTNAME}/www/gifs/yellow.gif
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/www/logs/later \
|
|
|
|
${PREFIX}/${DISTNAME}/www/logs/later
|
1996-12-01 01:23:27 +00:00
|
|
|
@${RM} -f ${PREFIX}/www/data/bb
|
1997-01-24 12:16:53 +00:00
|
|
|
@ln -sf ${PREFIX}/${DISTNAME}/www ${PREFIX}/www/data/bb
|
|
|
|
@ln -sf bb.html ${PREFIX}/${DISTNAME}/www/index.html
|
1996-11-17 20:02:13 +00:00
|
|
|
@echo ""
|
|
|
|
@echo "================================================================"
|
|
|
|
@echo "==== Configuration Notes: ==="
|
|
|
|
@echo "================================================================"
|
|
|
|
@echo ""
|
|
|
|
@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}/${DISTNAME}/etc/bb-hosts"
|
|
|
|
@echo ""
|
|
|
|
@echo "c) configure -> ${PREFIX}/${DISTNAME}/etc/bbdef.sh"
|
|
|
|
@echo "d) configure -> ${PREFIX}/${DISTNAME}/etc/bbinc.sh"
|
|
|
|
@echo ""
|
|
|
|
@echo "e) You need to have a running WWW server (apache)"
|
|
|
|
@echo ""
|
|
|
|
@echo "After that, you can startup the big brother service by typing"
|
|
|
|
@echo " ${PREFIX}/${DISTNAME}/runbb.sh &"
|
|
|
|
@echo ""
|
|
|
|
@echo "and watching your systems status by viewing this URL with"
|
|
|
|
@echo "Netscape or another WWW browser"
|
1997-01-20 11:46:02 +00:00
|
|
|
@echo " http://localhost/bb"
|
1996-11-17 20:02:13 +00:00
|
|
|
@echo ""
|
|
|
|
@echo "Look here for a life sample:"
|
|
|
|
@echo " http://www.menet.umn.edu/~clolson/bb/bb.html"
|
|
|
|
@echo ""
|
|
|
|
@echo "Have fun doing it remotely - Andreas ///"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|