aboutsummaryrefslogtreecommitdiffstats
path: root/irc/fisg
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-07-26 18:51:46 +0800
committergarga <garga@FreeBSD.org>2005-07-26 18:51:46 +0800
commit77a1b973a8a23b0d286e373325bf14ba5cb1a29d (patch)
tree15a966f7eb0a5a1c2988a306acc2b829b1d783c3 /irc/fisg
parent975093dbd6440e39a2f19737c07b69cdadc21f90 (diff)
downloadfreebsd-ports-gnome-77a1b973a8a23b0d286e373325bf14ba5cb1a29d.tar.gz
freebsd-ports-gnome-77a1b973a8a23b0d286e373325bf14ba5cb1a29d.tar.zst
freebsd-ports-gnome-77a1b973a8a23b0d286e373325bf14ba5cb1a29d.zip
- Update to 0.3.12
PR: ports/83908 Submitted by: Andrej Zverev <az@inec.ru> Approved by: Pasi Hirvonen <psh@iki.fi> (maintainer), flz (mentor)
Diffstat (limited to 'irc/fisg')
-rw-r--r--irc/fisg/Makefile20
-rw-r--r--irc/fisg/distinfo4
-rw-r--r--irc/fisg/files/patch-Makefile13
-rw-r--r--irc/fisg/pkg-plist8
4 files changed, 18 insertions, 27 deletions
diff --git a/irc/fisg/Makefile b/irc/fisg/Makefile
index eb56190a860c..177a1658f3a4 100644
--- a/irc/fisg/Makefile
+++ b/irc/fisg/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fisg
-PORTVERSION= 0.2.0
+PORTVERSION= 0.3.12
CATEGORIES= irc
MASTER_SITES= http://www.tnsp.org/files/ \
http://www.daemon.li/distfiles/
@@ -14,25 +14,27 @@ MASTER_SITES= http://www.tnsp.org/files/ \
MAINTAINER= psh@iki.fi
COMMENT= Fast IRC statistics generator
+USE_REINPLACE= yes
USE_GMAKE= yes
BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
PORTDOCS= README FAQ
+MAN1= fisg.1
-DATA_FILES= blue-h.png happy1.gif happy5.gif style-c64.css \
- blue-v.png happy2.gif happy6.gif style-pisg.css \
- green-h.png happy3.gif red-h.png yellow-h.png \
- green-v.png happy4.gif red-v.png yellow-v.png
-
-PKGMESSAGE= ${WRKDIR}/pkg-message
+post-patch:
+ @${REINPLACE_CMD} -e 's|^PREFIX|PREFIX?|' \
+ -e 's|^CC|CC?|' -e 's|^CFLAGS|CFLAGS?|' ${WRKSRC}/src/Makefile
do-install:
- @${MKDIR} ${DATADIR}
- cd ${WRKSRC}/data/ && ${INSTALL_DATA} ${DATA_FILES} ${DATADIR}
+ ${MKDIR} ${DATADIR}
+ ${CP} -Rp ${WRKSRC}/data/*.png ${DATADIR}/
+ ${CP} -Rp ${WRKSRC}/data/*.css ${DATADIR}/
+ ${CP} -Rp ${WRKSRC}/data/*.gif ${DATADIR}/
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.cfg ${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/users.cfg ${EXAMPLESDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/src/fisg ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/src/fisg.1 ${MANPREFIX}/man/man1/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
diff --git a/irc/fisg/distinfo b/irc/fisg/distinfo
index 64827f565d36..8663133225d7 100644
--- a/irc/fisg/distinfo
+++ b/irc/fisg/distinfo
@@ -1,2 +1,2 @@
-MD5 (fisg-0.2.0.tar.gz) = c9632501cee22802934ecb266463e4d0
-SIZE (fisg-0.2.0.tar.gz) = 76700
+MD5 (fisg-0.3.12.tar.gz) = 80ea8c94cb9c5a9732ec4baa51bd1b61
+SIZE (fisg-0.3.12.tar.gz) = 157216
diff --git a/irc/fisg/files/patch-Makefile b/irc/fisg/files/patch-Makefile
deleted file mode 100644
index 75482fbd44f7..000000000000
--- a/irc/fisg/files/patch-Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- ../fisg-0.2.0-orig/src/Makefile Mon Nov 29 16:33:25 2004
-+++ src/Makefile Mon Nov 29 16:33:51 2004
-@@ -2,8 +2,8 @@
- # Makefile for UNIX
- #
- RM=rm
--CC=gcc
--CFLAGS= -g -O2 -Wall
-+CC?=gcc
-+CFLAGS?= -g -Wall
-
- FISGEXE=fisg
- TARGETS=$(FISGEXE) strmatch
diff --git a/irc/fisg/pkg-plist b/irc/fisg/pkg-plist
index 2f257052f9d6..61d94ed26e47 100644
--- a/irc/fisg/pkg-plist
+++ b/irc/fisg/pkg-plist
@@ -3,6 +3,8 @@ bin/fisg
%%EXAMPLESDIR%%/users.cfg
%%DATADIR%%/blue-h.png
%%DATADIR%%/blue-v.png
+%%DATADIR%%/c64.css
+%%DATADIR%%/grayblue.css
%%DATADIR%%/green-h.png
%%DATADIR%%/green-v.png
%%DATADIR%%/happy1.gif
@@ -11,11 +13,11 @@ bin/fisg
%%DATADIR%%/happy4.gif
%%DATADIR%%/happy5.gif
%%DATADIR%%/happy6.gif
+%%DATADIR%%/pisg.css
%%DATADIR%%/red-h.png
%%DATADIR%%/red-v.png
-%%DATADIR%%/style-c64.css
-%%DATADIR%%/style-pisg.css
+%%DATADIR%%/simple.css
%%DATADIR%%/yellow-h.png
%%DATADIR%%/yellow-v.png
-@dirrm %%EXAMPLESDIR%%
@dirrm %%DATADIR%%
+@dirrm %%EXAMPLESDIR%%