summaryrefslogtreecommitdiff
path: root/www/wn
diff options
context:
space:
mode:
authorAdam David <adam@FreeBSD.org>1996-05-26 18:10:47 +0000
committerAdam David <adam@FreeBSD.org>1996-05-26 18:10:47 +0000
commit37a09c23663cf58dff603e043d83992e30483232 (patch)
treef3a2ce25be47726247a78250292d00dfdf182472 /www/wn
parentversion 1.12.7 (diff)
move logfiles in by one directory level
Notes
Notes: svn path=/head/; revision=3127
Diffstat (limited to 'www/wn')
-rw-r--r--www/wn/Makefile4
-rw-r--r--www/wn/files/patch-aa4
-rw-r--r--www/wn/pkg-plist1
3 files changed, 5 insertions, 4 deletions
diff --git a/www/wn/Makefile b/www/wn/Makefile
index 1fca90bfe5ea..103b3c152763 100644
--- a/www/wn/Makefile
+++ b/www/wn/Makefile
@@ -3,7 +3,7 @@
# Date created: 4 May 1995
# Whom: adam
#
-# $Id: Makefile,v 1.10 1996/03/25 23:16:32 adam Exp $
+# $Id: Makefile,v 1.11 1996/05/26 17:31:55 adam Exp $
#
DISTNAME= wn-1.12.7
@@ -18,7 +18,7 @@ pre-patch:
@cp ${WRKSRC}/config.h.dist ${WRKSRC}/config.h
post-install:
- @mkdir -p ${PREFIX}/wn
+ @mkdir -p ${PREFIX}/wn/wnlogs
@cp -PR ${WRKSRC}/docs ${WRKSRC}/images ${PREFIX}/wn
@install -c -o bin -g bin ${WRKSRC}/bin/wn ${PREFIX}/libexec
@install -c -o bin -g bin ${WRKSRC}/bin/swn ${PREFIX}/sbin
diff --git a/www/wn/files/patch-aa b/www/wn/files/patch-aa
index 248765d24793..db0b207a34a5 100644
--- a/www/wn/files/patch-aa
+++ b/www/wn/files/patch-aa
@@ -67,8 +67,8 @@
* Enter the complete path of your root data directory here.
*/
-! #define WN_LOGFILE "/usr/local/wnlogs/wn.log"
-! #define WN_ERRLOGFILE "/usr/local/wnlogs/wn-err.log"
+! #define WN_LOGFILE "/usr/local/wn/wnlogs/run.log"
+! #define WN_ERRLOGFILE "/usr/local/wn/wnlogs/err.log"
/*
* Full path of the file you want to use for a log file and the
diff --git a/www/wn/pkg-plist b/www/wn/pkg-plist
index 5d01dd91612b..1f317f99ba23 100644
--- a/www/wn/pkg-plist
+++ b/www/wn/pkg-plist
@@ -6,5 +6,6 @@ bin/wndex
wn/docs
wn/images
wn/index
+wn/wnlogs
@cwd ./wn
@exec ../sbin/wndex -r