aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-03-19 17:33:17 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-03-19 17:33:17 +0800
commit522a5a5c832e58dd8b655aba48c5d19e1a4bcf22 (patch)
tree24c355c11a7e40b22e9db219eb9d9687cbaf176d /irc
parentfa5387cb9bab5c5dadfacf84a7492f353a250971 (diff)
downloadfreebsd-ports-gnome-522a5a5c832e58dd8b655aba48c5d19e1a4bcf22.tar.gz
freebsd-ports-gnome-522a5a5c832e58dd8b655aba48c5d19e1a4bcf22.tar.zst
freebsd-ports-gnome-522a5a5c832e58dd8b655aba48c5d19e1a4bcf22.zip
- Add LICENSE
- Switch to options helpers - Remove dead WWW Approved by: portmgr blanket
Diffstat (limited to 'irc')
-rw-r--r--irc/fisg/Makefile17
-rw-r--r--irc/fisg/pkg-descr2
-rw-r--r--irc/fisg/pkg-plist2
3 files changed, 12 insertions, 9 deletions
diff --git a/irc/fisg/Makefile b/irc/fisg/Makefile
index 842a882ab891..9878284335ae 100644
--- a/irc/fisg/Makefile
+++ b/irc/fisg/Makefile
@@ -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}
diff --git a/irc/fisg/pkg-descr b/irc/fisg/pkg-descr
index a6384dabde5e..21034b94d3bd 100644
--- a/irc/fisg/pkg-descr
+++ b/irc/fisg/pkg-descr
@@ -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
diff --git a/irc/fisg/pkg-plist b/irc/fisg/pkg-plist
index f755066086c8..8e7985fc7d11 100644
--- a/irc/fisg/pkg-plist
+++ b/irc/fisg/pkg-plist
@@ -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