Bug 8492 - New port: ruboard-1.2 - easily configurable Web board
Summary: New port: ruboard-1.2 - easily configurable Web board
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-10-29 22:50 UTC by Andrew Maltsev
Modified: 1998-10-30 19:10 UTC (History)
0 users

See Also:


Attachments
file.shar (4.27 KB, text/plain)
1998-10-29 22:50 UTC, Andrew Maltsev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Maltsev 1998-10-29 22:50:01 UTC
	Ruboard is an easily configurable, reliable web forum tool.

	The port should go to ports/www I think.

	This is the replacement of PR ports/8150 - new version.
Comment 1 Joseph Koshy freebsd_committer freebsd_triage 1998-10-30 03:19:23 UTC
State Changed
From-To: open->closed

Imported with some minor changes, thanks! 
The changes were: 
- install scripts into libexec/ruboard rather than libexec 
- use @dirrm instead of @unexec in PLIST 
- remove hardcoded PREFIX=/usr/local from ruboard-1.2/Config 
- mkdir -p of required dirs in the install target 
- tweaked pkg/COMMENT to be more terse 

Comment 2 Bill Fumerola 1998-10-30 15:12:44 UTC
On Fri, 30 Oct 1998, Andrew Maltsev wrote:

> >Number:         8492
> >Category:       ports
> >Synopsis:       New port: ruboard-1.2 - easily configurable Web board

> sed 's/^X//' >ruboard/patches/patch-aa << 'END-of-ruboard/patches/patch-aa'
> X*** Config.orig	Sat Sep 12 21:44:10 1998
> X--- Config	Mon Oct  5 04:30:34 1998
> X***************
> X*** 3,9 ****
> X  #
> X  # Where ruboard shold be installed (home dir)
> X  #
> X! HOMEDIR	=	/usr/local/lib/ruboard
> X  #
> X  # Owner of boards. Defaults to your user id. Do not delete `-o' if you
> X  # will set it.

You should set prefix higher, and then reference it in 'homedir'

> X--- 3,14 ----
> X  #
> X  # Where ruboard shold be installed (home dir)
> X  #
> X! PREFIX	=	/usr/local
> X! HOMEDIR	=	$(PREFIX)/etc/ruboard
> X! #
> X! # Where binaries are instaled
> X! #
> X! BINDIR	=	$(PREFIX)/libexec
> X  #
> X  # Owner of boards. Defaults to your user id. Do not delete `-o' if you
> X  # will set it.
> END-of-ruboard/patches/patch-aa

mv ${WRKSRC}/Config ${WRKSRC}/Config.pre_sed
cat Config | \
sed s#/whatever/the/old/prefix/is#${PREFIX}#g >> ${WRKSRC}/Config

is much better then hard coding /usr/local (which not everyone uses), also
PLEASE use unified output (diff -ruN Config.old Config) for your patches.
I could have written the complete sed command for you, but you seem to be
using context. ugh.

- bill fumerola [root/billf]@chc-chimes.com - computer horizons corp -
-  ph:(800)252.2421 x128 / bfumerol@computerhorizons.com - BF1560  -

	"Logic, like whiskey, loses its beneficial effect 
	when taken in too large quantities" -Lord Dunsany