diff options
author | Steve Price <steve@FreeBSD.org> | 1998-10-10 04:11:29 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-10-10 04:11:29 +0000 |
commit | 200c4f0449fb95aa786e43208a7082105e10ba0c (patch) | |
tree | 70033bd2876f43d23b57945bdab1a68945edeb36 /net/bb | |
parent | Update to version 5.28. (diff) |
Make this deinstall friendly.
PR: 8207
Submitted by: Ruslan Ermilov <ru@ucb@crimea.ua>
Notes
Notes:
svn path=/head/; revision=13825
Diffstat (limited to 'net/bb')
-rw-r--r-- | net/bb/Makefile | 11 | ||||
-rw-r--r-- | net/bb/pkg-plist | 8 |
2 files changed, 9 insertions, 10 deletions
diff --git a/net/bb/Makefile b/net/bb/Makefile index 873e3dfb38d1..29749b8a73b6 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.28 1998/09/19 22:19:47 andreas Exp $ +# $Id: Makefile,v 1.29 1998/09/22 17:22:12 asami Exp $ # DISTNAME= bb-1.08a @@ -67,7 +67,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/etc/$(file) \ ${PREFIX}/bb/etc .endfor -.for file in mkbb.bkg mkbb.cols mkbb.sh mkbb2.sh +.for file in mkbb.bkg mkbb.cols mkbb.comp mkbb.sh mkbb2.sh ${INSTALL_SCRIPT} ${WRKSRC}/web/$(file) \ ${PREFIX}/bb/web .endfor @@ -77,8 +77,6 @@ do-install: .endfor ${INSTALL_SCRIPT} ${WRKSRC}/www/bb-pager.sh \ ${PREFIX}/www/cgi-bin/bb-pager.sh - @ln -sf ${PREFIX}/www/cgi-bin/bb-pager.sh \ - ${PREFIX}/bb/www/bb-pager.sh .for file in bb-diag.gif bb.gif bb2.gif bbbut.gif bkg-green.gif \ bkg-purple.gif bkg-red.gif bkg-yellow.gif blue.gif \ buthelp.gif butinfo.gif butpage.gif butview.gif clear.gif \ @@ -94,9 +92,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/www/notes/$(file) \ ${PREFIX}/bb/www/notes .endfor - @${RM} -f ${PREFIX}/www/data/bb - @ln -sf ${PREFIX}/bb/www ${PREFIX}/www/data/bb - @ln -sf bb.html ${PREFIX}/bb/www/index.html + @${LN} -fs ${PREFIX}/bb/www ${PREFIX}/www/data/bb + @${LN} -fs bb.html ${PREFIX}/bb/www/index.html @echo "" @echo "================================================================" @echo "==== Configuration Notes: ===" diff --git a/net/bb/pkg-plist b/net/bb/pkg-plist index a29aa72ed910..bf6be9e91928 100644 --- a/net/bb/pkg-plist +++ b/net/bb/pkg-plist @@ -34,13 +34,13 @@ bb/etc/sms.scr bb/tmp/.keep_me bb/web/mkbb.bkg bb/web/mkbb.cols +bb/web/mkbb.comp bb/web/mkbb.sh bb/web/mkbb2.sh bb/www/bb-faq.html bb/www/bb-help.html bb/www/bb-info.html bb/www/bb-page.html -bb/www/bb-pager.sh bb/www/gifs/bb-diag.gif bb/www/gifs/bb.gif bb/www/gifs/bb2.gif @@ -62,7 +62,8 @@ bb/www/gifs/nb-yellow.gif bb/www/gifs/purple.gif bb/www/gifs/red.gif bb/www/gifs/yellow.gif -bb/www/index.html +@exec ln -fs bb.html %D/bb/www/index.html +@unexec rm %D/bb/www/index.html bb/www/logs/later bb/www/notes/README bb/www/notes/footer @@ -78,7 +79,8 @@ share/doc/bb/STRUCTURE share/doc/bb/bbclient share/doc/bb/bbconfig www/cgi-bin/bb-pager.sh -www/data/bb +@exec ln -fs %D/bb/www %D/www/data/bb +@unexec rm %D/www/data/bb @dirrm bb/bin @dirrm bb/etc @dirrm bb/web |