From fcfcc89e9daa6cd80e673b353fb2855b4f8fa00d Mon Sep 17 00:00:00 2001 From: Florent Thoumie Date: Mon, 7 Mar 2005 14:46:12 +0000 Subject: - Update to 0.4.4. - Global clean up of the port. PR: ports/78500 Submitted by: Ports Fury Approved by: pav (mentor) --- irc/lostirc/Makefile | 35 ++++++++------------------- irc/lostirc/distinfo | 4 +-- irc/lostirc/files/patch-src::gtkmm::Prefs.cpp | 11 --------- irc/lostirc/pkg-plist | 4 +-- 4 files changed, 14 insertions(+), 40 deletions(-) delete mode 100644 irc/lostirc/files/patch-src::gtkmm::Prefs.cpp diff --git a/irc/lostirc/Makefile b/irc/lostirc/Makefile index fa6cd6b64052..f51b817adb8b 100644 --- a/irc/lostirc/Makefile +++ b/irc/lostirc/Makefile @@ -6,49 +6,34 @@ # PORTNAME= lostirc -PORTVERSION= 0.3.2 -PORTREVISION= 3 +PORTVERSION= 0.4.4 CATEGORIES= irc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://demian.dyndns.org/src/ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org -COMMENT= LostIRC is a simple and minimal IRC client for X +COMMENT= A simple and minimal IRC client for X -LIB_DEPENDS= gtkmm-2:${PORTSDIR}/x11-toolkits/gtk--2 +LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 USE_X_PREFIX= yes -USE_GNOME= gnomehack gnometarget gnomehier +USE_GNOME= gnomehack gnomeprefix gnometarget +USE_GCC= 3.4 USE_REINPLACE= yes -USE_LIBTOOL_VER=15 +GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --disable-kde -MAN1= lostirc.1 - -DOCS= AUTHORS COPYING ChangeLog TODO README INSTALL - -.include - -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 - ${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure - -pre-install: - ${REINPLACE_CMD} -E 's|mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)|mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) "${ECHO} $(MKINSTALLDIRS)" ;; *) "${ECHO} $(top_builddir)/$(MKINSTALLDIRS)" ;; esac`|g' ${WRKSRC}/intl/Makefile - ${REINPLACE_CMD} -E 's|mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)|mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) "${ECHO} $(MKINSTALLDIRS)" ;; *) "${ECHO} $(top_builddir)/$(MKINSTALLDIRS)" ;; esac`|g' ${WRKSRC}/po/Makefile +MAN1= lostirc.1 post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.for file in AUTHORS ChangeLog TODO README INSTALL + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif -.include +.include diff --git a/irc/lostirc/distinfo b/irc/lostirc/distinfo index 7db255b2279a..f7e6b636e88f 100644 --- a/irc/lostirc/distinfo +++ b/irc/lostirc/distinfo @@ -1,2 +1,2 @@ -MD5 (lostirc-0.3.2.tar.gz) = 551f5c344b14b1fdd8f9f54792a69afc -SIZE (lostirc-0.3.2.tar.gz) = 557774 +MD5 (lostirc-0.4.4.tar.gz) = 5f3c0ec0c4fe3ed41e6a349f9c52a0bf +SIZE (lostirc-0.4.4.tar.gz) = 619281 diff --git a/irc/lostirc/files/patch-src::gtkmm::Prefs.cpp b/irc/lostirc/files/patch-src::gtkmm::Prefs.cpp deleted file mode 100644 index 4067be079872..000000000000 --- a/irc/lostirc/files/patch-src::gtkmm::Prefs.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/gtkmm/Prefs.cpp.ori Sat Feb 7 17:42:11 2004 -+++ src/gtkmm/Prefs.cpp Sat Feb 7 17:42:45 2004 -@@ -127,7 +127,7 @@ - row++; - - // Buffer size for text -- bufferspin.set_value(double(App->options.buffer_size())); -+ bufferspin.set_value(double(*App->options.buffer_size())); - Gtk::Label *plabel4 = manage(new Gtk::Label(_("Maximium number of lines to cache:"), Gtk::ALIGN_LEFT)); - _prefs_table.attach(*plabel4, 0, 1, row, row + 1); - _prefs_table.attach(bufferspin, 1, 2, row, row + 1); diff --git a/irc/lostirc/pkg-plist b/irc/lostirc/pkg-plist index 507cf23765e0..91c83b2a892b 100644 --- a/irc/lostirc/pkg-plist +++ b/irc/lostirc/pkg-plist @@ -1,11 +1,11 @@ bin/lostirc %%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO -share/gnome/apps/Internet/lostirc.desktop +share/gnome/applications/lostirc.desktop share/gnome/pixmaps/lostirc.png share/locale/da/LC_MESSAGES/lostirc.mo +share/locale/fr/LC_MESSAGES/lostirc.mo %%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit v1.2.3