Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2018 09:33:17 +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: r465001 - head/irc/fisg
Message-ID:  <201803190933.w2J9XH8h082629@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Mar 19 09:33:17 2018
New Revision: 465001
URL: https://svnweb.freebsd.org/changeset/ports/465001

Log:
  - Add LICENSE
  - Switch to options helpers
  - Remove dead WWW
  
  Approved by:	portmgr blanket

Modified:
  head/irc/fisg/Makefile
  head/irc/fisg/pkg-descr
  head/irc/fisg/pkg-plist

Modified: head/irc/fisg/Makefile
==============================================================================
--- head/irc/fisg/Makefile	Mon Mar 19 09:22:08 2018	(r465000)
+++ head/irc/fisg/Makefile	Mon Mar 19 09:33:17 2018	(r465001)
@@ -9,11 +9,15 @@ MASTER_SITES=	http://www.tnsp.org/files/
 MAINTAINER=	psh@iki.fi
 COMMENT=	Fast IRC statistics generator
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		gmake
 
 BUILD_WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
 
 PORTDOCS=	README FAQ
+PORTEXAMPLES=	example.cfg users.cfg
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
@@ -22,14 +26,17 @@ post-patch:
 		-e 's|^CC|CC?|' -e 's|^CFLAGS|CFLAGS?|' ${WRKSRC}/src/Makefile
 
 do-install:
-	${MKDIR} ${STAGEDIR}${DATADIR}
-	cd ${WRKSRC}/data/; ${INSTALL_DATA} *.css *.gif *.png \
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	cd ${WRKSRC}/data/ && ${INSTALL_DATA} *.css *.gif *.png \
 		${STAGEDIR}${DATADIR}
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/example.cfg ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/users.cfg ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/src/fisg ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN}	${WRKSRC}/src/fisg.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+do-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 

Modified: head/irc/fisg/pkg-descr
==============================================================================
--- head/irc/fisg/pkg-descr	Mon Mar 19 09:22:08 2018	(r465000)
+++ head/irc/fisg/pkg-descr	Mon Mar 19 09:33:17 2018	(r465001)
@@ -1,4 +1,2 @@
 FISG is a tool that creates statistics from IRC logs. FISG supports
 various logfile formats and has a very fast parsing engine.
-
-WWW: http://www.tnsp.org/fisg.php

Modified: head/irc/fisg/pkg-plist
==============================================================================
--- head/irc/fisg/pkg-plist	Mon Mar 19 09:22:08 2018	(r465000)
+++ head/irc/fisg/pkg-plist	Mon Mar 19 09:33:17 2018	(r465001)
@@ -1,7 +1,5 @@
 bin/fisg
 man/man1/fisg.1.gz
-%%EXAMPLESDIR%%/example.cfg
-%%EXAMPLESDIR%%/users.cfg
 %%DATADIR%%/blue-h.png
 %%DATADIR%%/blue-v.png
 %%DATADIR%%/c64.css



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