diff options
author | andreas <andreas@FreeBSD.org> | 1998-07-30 21:23:25 +0800 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1998-07-30 21:23:25 +0800 |
commit | 9968ae1ff0d4f16cfb67cf814a7427301cb26ffe (patch) | |
tree | 6b09227b1a0e65ebfc52605d7a720e31bc9a3f49 /www/webalizer/Makefile | |
parent | 54581800657a25369d0f03a2d3e88415b56af1b5 (diff) | |
download | freebsd-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/Makefile')
-rw-r--r-- | www/webalizer/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile index ac959de12712..8951c93e7161 100644 --- a/www/webalizer/Makefile +++ b/www/webalizer/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> |