aboutsummaryrefslogtreecommitdiffstats
path: root/www/webalizer-2
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1998-07-30 21:23:25 +0800
committerandreas <andreas@FreeBSD.org>1998-07-30 21:23:25 +0800
commit9968ae1ff0d4f16cfb67cf814a7427301cb26ffe (patch)
tree6b09227b1a0e65ebfc52605d7a720e31bc9a3f49 /www/webalizer-2
parent54581800657a25369d0f03a2d3e88415b56af1b5 (diff)
downloadfreebsd-ports-gnome-9968ae1ff0d4f16cfb67cf814a7427301cb26ffe.tar.gz
freebsd-ports-gnome-9968ae1ff0d4f16cfb67cf814a7427301cb26ffe.tar.zst
freebsd-ports-gnome-9968ae1ff0d4f16cfb67cf814a7427301cb26ffe.zip
Install sample comfig file as $PREFIX/etc/webalizer.conf-dist
Diffstat (limited to 'www/webalizer-2')
-rw-r--r--www/webalizer-2/Makefile6
-rw-r--r--www/webalizer-2/pkg-plist1
2 files changed, 6 insertions, 1 deletions
diff --git a/www/webalizer-2/Makefile b/www/webalizer-2/Makefile
index ac959de12712..8951c93e7161 100644
--- a/www/webalizer-2/Makefile
+++ b/www/webalizer-2/Makefile
@@ -3,7 +3,7 @@
# Date created: 02.Jun 1998
# Whom: dirk.meyer@dinoex.sub.org
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1998/06/28 12:42:08 andreas Exp $
DISTNAME= webalizer-1.12-09-src
PKGNAME= webalizer-1.12
@@ -35,5 +35,9 @@ post-install:
.for i in msfree.gif sample.conf
@${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/examples/webalizer/${i}
.endfor
+ @if [ ! -f ${PREFIX}/etc/webalizer.conf-dist ]; then \
+ ${INSTALL_DATA} ${WRKSRC}/sample.conf \
+ ${PREFIX}/etc/webalizer.conf-dist ; \
+ fi
.include <bsd.port.mk>
diff --git a/www/webalizer-2/pkg-plist b/www/webalizer-2/pkg-plist
index 94f9d8e43281..8f2b0ebcea57 100644
--- a/www/webalizer-2/pkg-plist
+++ b/www/webalizer-2/pkg-plist
@@ -1,4 +1,5 @@
bin/webalizer
+etc/webalizer.conf-dist
share/doc/webalizer/CHANGES
share/doc/webalizer/COPYING
share/doc/webalizer/Copyright