aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-05-22 15:24:47 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-05-22 15:24:47 +0000
commitd71b27585628c99fc17f43b516cb2f03ed96ab9a (patch)
tree73d45e5ab96536d1b8ee45406e74ee3be0c2c013 /sysutils
parentbbf5e04707d7db5036fe108065f15873a1e3af2e (diff)
downloadports-d71b27585628c99fc17f43b516cb2f03ed96ab9a.tar.gz
ports-d71b27585628c99fc17f43b516cb2f03ed96ab9a.zip
Notes
Diffstat (limited to 'sysutils')
-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%%