aboutsummaryrefslogtreecommitdiffstats
path: root/www/free-sa
diff options
context:
space:
mode:
Diffstat (limited to 'www/free-sa')
-rw-r--r--www/free-sa/Makefile18
-rw-r--r--www/free-sa/distinfo6
-rw-r--r--www/free-sa/files/extra-patch-Makefile11
-rw-r--r--www/free-sa/pkg-plist8
4 files changed, 28 insertions, 15 deletions
diff --git a/www/free-sa/Makefile b/www/free-sa/Makefile
index ed4ce0149dbc..468af1855052 100644
--- a/www/free-sa/Makefile
+++ b/www/free-sa/Makefile
@@ -6,17 +6,27 @@
#
PORTNAME= free-sa
-PORTVERSION= 1.4.0
+PORTVERSION= 1.4.3
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
MAINTAINER= toxa@toxahost.ru
COMMENT= Statistic analyzer for daemons log files similar to SARG
USE_GMAKE= yes
+PORTDOCS= COPYING INSTALL README README.DEV ChangeLog FAQ THANKS
+DOCSDIR= share/doc/free-sa-${DISTVERSION}
+
MAN1= free-sa.1
MAN5= free-sa.conf.5
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if !defined(NOPORTDOCS)
+
+.else
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/free-sa/distinfo b/www/free-sa/distinfo
index e8a94e5c6a42..717b05f00e8b 100644
--- a/www/free-sa/distinfo
+++ b/www/free-sa/distinfo
@@ -1,3 +1,3 @@
-MD5 (free-sa-1.4.0.tar.gz) = 8749802ad929331ea9934e83bba5b011
-SHA256 (free-sa-1.4.0.tar.gz) = 35aefe48476e045bf7dc54b60f446660ac771e6c9b076e164f7d34fc9642acb7
-SIZE (free-sa-1.4.0.tar.gz) = 69413
+MD5 (free-sa-1.4.3.tar.gz) = e7dc1c58bc43d3c47a4ab3b2dbf0579c
+SHA256 (free-sa-1.4.3.tar.gz) = 8f93abb299c3311e127a26484bee0e4ccecf4c38ef9984ab7dce3d693229f052
+SIZE (free-sa-1.4.3.tar.gz) = 72934
diff --git a/www/free-sa/files/extra-patch-Makefile b/www/free-sa/files/extra-patch-Makefile
new file mode 100644
index 000000000000..7fb69c6582cd
--- /dev/null
+++ b/www/free-sa/files/extra-patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2007-04-30 09:32:29.000000000 -0800
++++ Makefile 2008-07-04 18:34:18.000000000 -0800
+@@ -15,8 +15,4 @@
+ $(MAKEDIRS)
+ @( \
+ $(INSTALLODR) $(TMPDIR); \
+- $(INSTALLDIR) $(PREFIX)/share/doc/$(PROGLNAME)-$(PROGVERSION); \
+- for IDOCFILE in COPYING ChangeLog FAQ INSTALL README README.DEV THANKS; do \
+- $(INSTALLFIL) $$IDOCFILE $(PREFIX)/share/doc/$(PROGLNAME)-$(PROGVERSION); \
+- done \
+ )
diff --git a/www/free-sa/pkg-plist b/www/free-sa/pkg-plist
index 435a9dec46db..6115aa6ec85b 100644
--- a/www/free-sa/pkg-plist
+++ b/www/free-sa/pkg-plist
@@ -17,13 +17,6 @@ share/free-sa/it.iso88591
share/free-sa/ru.koi8r
share/free-sa/sk.iso88592
share/free-sa/es.iso88591
-share/doc/free-sa-1.4.0/COPYING
-share/doc/free-sa-1.4.0/INSTALL
-share/doc/free-sa-1.4.0/README
-share/doc/free-sa-1.4.0/README.DEV
-share/doc/free-sa-1.4.0/ChangeLog
-share/doc/free-sa-1.4.0/FAQ
-share/doc/free-sa-1.4.0/THANKS
www/data/free-sa/sa.js
www/data/free-sa/c.png
www/data/free-sa/d.png
@@ -72,7 +65,6 @@ www/data/free-sa/themes/blues/rsa.css
www/data/free-sa/themes/sa.js
@dirrm etc/free-sa
@dirrm share/free-sa
-@dirrm share/doc/free-sa-1.4.0
@dirrm www/data/free-sa/themes/rbsec
@dirrm www/data/free-sa/themes/sarg
@dirrm www/data/free-sa/themes/silver