aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-05-22 23:24:47 +0800
committermiwi <miwi@FreeBSD.org>2012-05-22 23:24:47 +0800
commit6729472f6b2d7362c1f5d07cdf93e79a231eda37 (patch)
tree641f0191df0be0c9e709ef5ed87c6c2e29e4d62a
parentb5f06745c96c0d063d1329e00f74eece01a54a9d (diff)
downloadfreebsd-ports-gnome-6729472f6b2d7362c1f5d07cdf93e79a231eda37.tar.gz
freebsd-ports-gnome-6729472f6b2d7362c1f5d07cdf93e79a231eda37.tar.zst
freebsd-ports-gnome-6729472f6b2d7362c1f5d07cdf93e79a231eda37.zip
- Update to version 0.46
PR: 168045 Submitted by: Ports Fury
-rw-r--r--sysutils/log_analysis/Makefile29
-rw-r--r--sysutils/log_analysis/distinfo4
-rw-r--r--sysutils/log_analysis/pkg-descr2
-rw-r--r--sysutils/log_analysis/pkg-plist12
4 files changed, 27 insertions, 20 deletions
diff --git a/sysutils/log_analysis/Makefile b/sysutils/log_analysis/Makefile
index 23066f607c11..02573bae077f 100644
--- a/sysutils/log_analysis/Makefile
+++ b/sysutils/log_analysis/Makefile
@@ -6,26 +6,45 @@
#
PORTNAME= log_analysis
-PORTVERSION= 0.45
+PORTVERSION= 0.46
CATEGORIES= sysutils
MASTER_SITES= http://userpages.umbc.edu/~mabzug1/
MAINTAINER= ports@FreeBSD.org
COMMENT= A utility that extracts a summary of useful data from logs
-USE_PERL5= yes
+LICENSE= GPLv3
+
+OPTIONS= TK "Enable Tcl/Tk GUI support" off
+USE_PERL5= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= PERL="${PERL}"
-MAN1= log_analysis.1
+MAN1= log_analysis.1
+PORTDOCS= *
+PORTEXAMPLES= *
+PLIST_FILES= bin/log_analysis \
+ %%DATADIR%%/AUTHORS \
+ %%DATADIR%%/Tk/resizebutton.pm
+PLIST_DIRS= %%DATADIR%%/Tk \
+ %%DATADIR%%
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_TK)
+RUN_DEPENDS+= p5-Tk>0:${PORTSDIR}/x11-toolkits/p5-Tk
+.endif
post-install:
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/sample-* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/Tutorial ${DOCSDIR}
.endif
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/sample-* ${EXAMPLESDIR}
+.endif
.include <bsd.port.mk>
diff --git a/sysutils/log_analysis/distinfo b/sysutils/log_analysis/distinfo
index 41300b3f7c59..1f571b980a2b 100644
--- a/sysutils/log_analysis/distinfo
+++ b/sysutils/log_analysis/distinfo
@@ -1,2 +1,2 @@
-SHA256 (log_analysis-0.45.tar.gz) = e18a325be053ced2887998f9e3750a941122013989b679634e65da6af0a031be
-SIZE (log_analysis-0.45.tar.gz) = 144616
+SHA256 (log_analysis-0.46.tar.gz) = ce1959aa28fe513527914e8c628976cdb38d547bbb7e3a01c634bffd580db88d
+SIZE (log_analysis-0.46.tar.gz) = 163515
diff --git a/sysutils/log_analysis/pkg-descr b/sysutils/log_analysis/pkg-descr
index e5979de5f9f4..e1c9a7388320 100644
--- a/sysutils/log_analysis/pkg-descr
+++ b/sysutils/log_analysis/pkg-descr
@@ -4,4 +4,4 @@ that is much easier to read. It can be configured to recognize
entirely new log types. log_analysis natively understands about
100 different kinds of syslog messages, as well as wtmp messages.
-WWW: http://lug.umbc.edu/~mabzug1/log_analysis.html
+WWW: http://userpages.umbc.edu/~mabzug1/log_analysis.html
diff --git a/sysutils/log_analysis/pkg-plist b/sysutils/log_analysis/pkg-plist
deleted file mode 100644
index 5cb7f78a3f72..000000000000
--- a/sysutils/log_analysis/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-bin/log_analysis
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/Tutorial
-%%EXAMPLESDIR%%/sample-new.conf
-%%EXAMPLESDIR%%/sample-qpopper.conf
-%%EXAMPLESDIR%%/sample-tcpdump.conf
-%%DATADIR%%/AUTHORS
-%%DATADIR%%/Tk/resizebutton.pm
-@dirrm %%DATADIR%%/Tk
-@dirrm %%DATADIR%%
-@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%