diff options
-rw-r--r-- | www/sarg/Makefile | 5 | ||||
-rw-r--r-- | www/sarg/files/patch-Makefile.in | 12 |
2 files changed, 12 insertions, 5 deletions
diff --git a/www/sarg/Makefile b/www/sarg/Makefile index a8fc5ba8f622..9e8cbf1f2758 100644 --- a/www/sarg/Makefile +++ b/www/sarg/Makefile @@ -13,11 +13,12 @@ MASTER_SITES= http://web.onda.com.br/orso/ MAINTAINER= mt@primats.org.ua COMMENT= Squid log analyzer and HTML report generator -BROKEN= Broken pkg-plist - GNU_CONFIGURE= yes CONFIGURE_ARGS+= --prefix=${PREFIX} --exec-prefix=${PREFIX} --enable-bindir="${PREFIX}/bin" --enable-sysconfdir="${PREFIX}/etc/${PORTNAME}" --with-gcc MAN1= sarg.1 +post-extract: + @${CHMOD} +x ${WRKSRC}/cfgaux ${WRKSRC}/include ${WRKSRC}/languages + .include <bsd.port.mk> diff --git a/www/sarg/files/patch-Makefile.in b/www/sarg/files/patch-Makefile.in index 47fb3b7e58c5..3c57f42c65b7 100644 --- a/www/sarg/files/patch-Makefile.in +++ b/www/sarg/files/patch-Makefile.in @@ -1,11 +1,17 @@ ---- Makefile.in.orig Fri Apr 25 20:20:55 2003 -+++ Makefile.in Wed May 14 11:51:27 2003 -@@ -58,7 +58,7 @@ +--- ./Makefile.in.orig Sat Apr 26 00:20:55 2003 ++++ ./Makefile.in Mon Aug 11 18:09:33 2003 +@@ -58,12 +58,11 @@ $(INSTALL_PROGRAM) sarg $(BINDIR)/sarg chmod 755 $(BINDIR)/sarg $(INSTALL_PROGRAM) sarg.1 $(MANDIR)/sarg.1 - chmod 755 $(MANDIR)/sarg.1 + chmod 644 $(MANDIR)/sarg.1 ++ cp sarg.conf $(SYSCONFDIR)/sarg.conf.default; @if test ! -f $(SYSCONFDIR)/sarg.conf; then \ echo "cp $(SYSCONFDIR)/sarg.conf"; \ cp sarg.conf $(SYSCONFDIR)/sarg.conf; \ +- else \ +- cp sarg.conf $(SYSCONFDIR)/sarg.conf.default; \ + fi + cp -r ./languages $(SYSCONFDIR); + cp ./exclude_codes $(SYSCONFDIR); |