mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
update irc/lostirc: 0.2.5 -> 0.2.7
PR: 54192 Submitted by: Juan Salaverria <rael@vectorstar.net> (maintainer)
This commit is contained in:
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
|
@ -6,8 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= lostirc
|
PORTNAME= lostirc
|
||||||
PORTVERSION= 0.2.5
|
PORTVERSION= 0.2.7
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= irc
|
CATEGORIES= irc
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
|
@ -15,7 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
MAINTAINER= rael@vectorstar.net
|
MAINTAINER= rael@vectorstar.net
|
||||||
COMMENT= LostIRC is a simple and minimal IRC client for X
|
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
|
intl.4:${PORTSDIR}/devel/gettext
|
||||||
|
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
|
@ -29,13 +28,15 @@ DOCS= AUTHORS COPYING ChangeLog TODO README INSTALL
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} >= 500113
|
|
||||||
BROKEN= "Does not compile (bad C++ code)"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
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.am
|
||||||
${REINPLACE_CMD} -E "s@(Gnomedir = ).*@\1${PREFIX}/share/gnome/apps/Internet@" ${WRKSRC}/Makefile.in
|
${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:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (lostirc-0.2.5.tar.gz) = 978eb7dd736c95a1dc1892cf67aec2c2
|
MD5 (lostirc-0.2.7.tar.gz) = 0b6f09dcbcb06076bdc6b17e39456c5c
|
||||||
|
|
11
irc/lostirc/files/patch-src::libirc::Parser.cpp
Normal file
11
irc/lostirc/files/patch-src::libirc::Parser.cpp
Normal 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);
|
|
@ -1,7 +1,10 @@
|
||||||
share/gnome/apps/Internet/lostirc.desktop
|
|
||||||
share/applnk/lostirc.desktop
|
|
||||||
share/locale/da/LC_MESSAGES/lostirc.mo
|
|
||||||
bin/lostirc
|
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/AUTHORS
|
||||||
%%PORTDOCS%%share/doc/lostirc/COPYING
|
%%PORTDOCS%%share/doc/lostirc/COPYING
|
||||||
%%PORTDOCS%%share/doc/lostirc/ChangeLog
|
%%PORTDOCS%%share/doc/lostirc/ChangeLog
|
||||||
|
@ -9,3 +12,4 @@ bin/lostirc
|
||||||
%%PORTDOCS%%share/doc/lostirc/README
|
%%PORTDOCS%%share/doc/lostirc/README
|
||||||
%%PORTDOCS%%share/doc/lostirc/TODO
|
%%PORTDOCS%%share/doc/lostirc/TODO
|
||||||
%%PORTDOCS%%@dirrm share/doc/lostirc
|
%%PORTDOCS%%@dirrm share/doc/lostirc
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue