update irc/lostirc: 0.2.5 -> 0.2.7

PR:		54192
Submitted by:	Juan Salaverria <rael@vectorstar.net> (maintainer)
This commit is contained in:
Daichi GOTO 2003-07-08 06:22:10 +00:00
parent 01c6d5e416
commit d47622b73b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84442
4 changed files with 27 additions and 11 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= lostirc
PORTVERSION= 0.2.5
PORTREVISION= 1
PORTVERSION= 0.2.7
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -15,7 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= rael@vectorstar.net
COMMENT= LostIRC is a simple and minimal IRC client for X
LIB_DEPENDS= gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtk--2 \
LIB_DEPENDS= gtkmm-2:${PORTSDIR}/x11-toolkits/gtk--2 \
intl.4:${PORTSDIR}/devel/gettext
USE_X_PREFIX= yes
@ -29,13 +28,15 @@ DOCS= AUTHORS COPYING ChangeLog TODO README INSTALL
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
.endif
post-patch:
${REINPLACE_CMD} -E "s@^(Gnomedir = ).*@\1${PREFIX}/share/gnome/apps/Internet@" ${WRKSRC}/Makefile.am
${REINPLACE_CMD} -E "s@(Gnomedir = ).*@\1${PREFIX}/share/gnome/apps/Internet@" ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -E "s@^(pixmapdir = ).*@\1${PREFIX}/share/gnome/pixmaps@" ${WRKSRC}/Makefile.am
${REINPLACE_CMD} -E "s@(pixmapdir = ).*@\1${PREFIX}/share/gnome/pixmaps@" ${WRKSRC}/Makefile.in
pre-install:
${REINPLACE_CMD} -E 's|MKINSTALLDIRS = \$$\(top_builddir\)/|MKINSTALLDIRS = |g' ${WRKSRC}/intl/Makefile
${REINPLACE_CMD} -E 's|MKINSTALLDIRS = \$$\(top_builddir\)/|MKINSTALLDIRS = |g' ${WRKSRC}/po/Makefile
post-install:
.if !defined(NOPORTDOCS)

View file

@ -1 +1 @@
MD5 (lostirc-0.2.5.tar.gz) = 978eb7dd736c95a1dc1892cf67aec2c2
MD5 (lostirc-0.2.7.tar.gz) = 0b6f09dcbcb06076bdc6b17e39456c5c

View file

@ -0,0 +1,11 @@
--- src/libirc/Parser.cpp.orig Sat May 31 09:25:44 2003
+++ src/libirc/Parser.cpp Mon Jul 7 00:37:53 2003
@@ -681,7 +681,7 @@
ss >> time;
long date = std::atol(time.c_str());
- time = std::ctime(&date);
+ time = std::ctime((const time_t *)&date);
Channel *c = _conn->findChannel(chan);
assert(c);

View file

@ -1,7 +1,10 @@
share/gnome/apps/Internet/lostirc.desktop
share/applnk/lostirc.desktop
share/locale/da/LC_MESSAGES/lostirc.mo
bin/lostirc
lib/charset.alias
share/applnk/lostirc.desktop
share/gnome/apps/Internet/lostirc.desktop
share/gnome/pixmaps/lostirc.png
share/locale/da/LC_MESSAGES/lostirc.mo
share/locale/locale.alias
%%PORTDOCS%%share/doc/lostirc/AUTHORS
%%PORTDOCS%%share/doc/lostirc/COPYING
%%PORTDOCS%%share/doc/lostirc/ChangeLog
@ -9,3 +12,4 @@ bin/lostirc
%%PORTDOCS%%share/doc/lostirc/README
%%PORTDOCS%%share/doc/lostirc/TODO
%%PORTDOCS%%@dirrm share/doc/lostirc