Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2016 13:25:04 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409664 - in head/sysutils/log_analysis: . files
Message-ID:  <201602271325.u1RDP4IH099123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Feb 27 13:25:04 2016
New Revision: 409664
URL: https://svnweb.freebsd.org/changeset/ports/409664

Log:
  - Add LICENSE_FILE
  - Add NO_ARCH
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/sysutils/log_analysis/Makefile
  head/sysutils/log_analysis/files/patch-log__analysis.in

Modified: head/sysutils/log_analysis/Makefile
==============================================================================
--- head/sysutils/log_analysis/Makefile	Sat Feb 27 13:05:31 2016	(r409663)
+++ head/sysutils/log_analysis/Makefile	Sat Feb 27 13:25:04 2016	(r409664)
@@ -10,10 +10,12 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Utility that extracts a summary of useful data from logs
 
 LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		perl5
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	PERL="${PERL}"
+NO_ARCH=	yes
 
 PORTDOCS=	*
 PORTEXAMPLES=	*
@@ -25,10 +27,13 @@ OPTIONS_DEFINE=	DOCS EXAMPLES TK
 
 TK_RUN_DEPENDS=	p5-Tk>0:${PORTSDIR}/x11-toolkits/p5-Tk
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/Tutorial ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/NEWS \
+		${WRKSRC}/AUTHORS ${WRKSRC}/doc/Tutorial \
+		${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/sample-* ${STAGEDIR}${EXAMPLESDIR}
 

Modified: head/sysutils/log_analysis/files/patch-log__analysis.in
==============================================================================
--- head/sysutils/log_analysis/files/patch-log__analysis.in	Sat Feb 27 13:05:31 2016	(r409663)
+++ head/sysutils/log_analysis/files/patch-log__analysis.in	Sat Feb 27 13:25:04 2016	(r409664)
@@ -1,6 +1,6 @@
---- log_analysis.in.orig	2012-04-17 20:39:50.000000000 +1000
-+++ log_analysis.in	2014-09-03 09:06:30.000000000 +1000
-@@ -8788,8 +8788,6 @@
+--- log_analysis.in.orig	2012-04-17 10:39:50 UTC
++++ log_analysis.in
+@@ -8788,8 +8788,6 @@ line is ignored.
  Before the config is parsed, it is passed through a preprocessor inspired
  by the L<aide(1)> preprocessor.
  
@@ -9,7 +9,7 @@
  =head2 Pattern directives
  
  These directives describe your logs, and are the main point of this
-@@ -8799,6 +8797,8 @@
+@@ -8799,6 +8797,8 @@ that describe different kinds of log mes
  the message.  For each perl pattern, you specify one or more
  destinations that describe what you want done with it.
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602271325.u1RDP4IH099123>