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>
|
|
|
|
#
|
1999-06-27 14:23:08 +00:00
|
|
|
# $Id: Makefile,v 1.31 1999/06/26 12:01:23 andreas Exp $
|
1996-11-17 20:02:13 +00:00
|
|
|
#
|
|
|
|
|
1999-06-26 12:01:35 +00:00
|
|
|
DISTNAME= bb-1.2a
|
1996-11-18 05:35:30 +00:00
|
|
|
CATEGORIES= net
|
1998-08-29 11:25:15 +00:00
|
|
|
MASTER_SITES= http://maclawran.ca/~sean/bb-dnld/ \
|
|
|
|
http://freefall.freebsd.org/~andreas/download/
|
1998-09-22 17:22:12 +00:00
|
|
|
|
1997-10-09 21:04:47 +00:00
|
|
|
MAINTAINER= andreas@FreeBSD.ORG
|
1996-11-17 20:02:13 +00:00
|
|
|
|
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>.
|
1997-01-06 08:51:42 +00:00
|
|
|
|
1998-01-31 11:44:43 +00:00
|
|
|
WRKSRC= ${WRKDIR}/bb
|
|
|
|
|
1998-05-18 21:52:07 +00:00
|
|
|
pre-configure:
|
|
|
|
@echo "==================================================="
|
|
|
|
@echo "You need to install a WWW Server to use this port"
|
1998-08-29 11:25:15 +00:00
|
|
|
@echo "For example: - apache13 or "
|
|
|
|
@echo " - apache13-modssl
|
1998-05-18 21:52:07 +00:00
|
|
|
@echo "port."
|
|
|
|
@echo "==================================================="
|
|
|
|
|
1996-11-17 20:02:13 +00:00
|
|
|
post-configure:
|
1997-07-13 18:49:31 +00:00
|
|
|
( cd ${WRKSRC}/doc; ${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:
|
1999-06-27 14:23:08 +00:00
|
|
|
@cd ${WRKDIR} && find . -name "*.orig" | xargs ${RM}
|
|
|
|
@cd ${WRKDIR}; tar --exclude 'src' -c -f - bb \
|
|
|
|
| ( cd ${PREFIX}; tar xpf - )
|
1999-06-26 12:01:35 +00:00
|
|
|
@${LN} -fs ${PREFIX}/bb/www ${PREFIX}/share/apache/htdocs/bb
|
1998-10-10 04:11:29 +00:00
|
|
|
@${LN} -fs bb.html ${PREFIX}/bb/www/index.html
|
1999-06-27 14:23:08 +00:00
|
|
|
@${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
|
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"
|
1998-01-31 11:44:43 +00:00
|
|
|
@echo "go here -> ${PREFIX}/bb/etc/bb-hosts"
|
|
|
|
@echo "c) configure -> ${PREFIX}/bb/etc/bbdef.sh"
|
|
|
|
@echo "d) configure -> ${PREFIX}/bb/etc/bbinc.sh"
|
1996-11-17 20:02:13 +00:00
|
|
|
@echo "e) You need to have a running WWW server (apache)"
|
1998-05-22 17:09:05 +00:00
|
|
|
@echo "f) You need kermit or qpage for pager functionality"
|
1996-11-17 20:02:13 +00:00
|
|
|
@echo "After that, you can startup the big brother service by typing"
|
1998-01-31 11:44:43 +00:00
|
|
|
@echo " ${PREFIX}/bb/runbb.sh &"
|
1996-11-17 20:02:13 +00:00
|
|
|
@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
|
|
|
|
|
|
|
.include <bsd.port.mk>
|