diff options
author | rafan <rafan@FreeBSD.org> | 2008-05-19 00:14:26 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-05-19 00:14:26 +0800 |
commit | aa52d5cae24664bd130353d5b4c32d8962730d75 (patch) | |
tree | d27d37effe2040954a82387aa4c5fceff1f321dd /polish/gnugadu2 | |
parent | 305f9aa3c14ee766c951cbfd64f302b5c1f14e7b (diff) | |
download | freebsd-ports-gnome-aa52d5cae24664bd130353d5b4c32d8962730d75.tar.gz freebsd-ports-gnome-aa52d5cae24664bd130353d5b4c32d8962730d75.tar.zst freebsd-ports-gnome-aa52d5cae24664bd130353d5b4c32d8962730d75.zip |
- Unbreak after latest polish/libgadu commit
- Fix GNOME icon and desktop
- Bump PORTREVISION
PR: ports/123716
Submitted by: Piotr Smyrak <smyru at heron.pl> (maintainer)
Diffstat (limited to 'polish/gnugadu2')
-rw-r--r-- | polish/gnugadu2/Makefile | 39 | ||||
-rw-r--r-- | polish/gnugadu2/pkg-plist | 9 |
2 files changed, 15 insertions, 33 deletions
diff --git a/polish/gnugadu2/Makefile b/polish/gnugadu2/Makefile index 2a0405c4ec70..f9c5f9083ab8 100644 --- a/polish/gnugadu2/Makefile +++ b/polish/gnugadu2/Makefile @@ -7,28 +7,28 @@ PORTNAME= gnugadu2 PORTVERSION= 2.3.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= polish net-im MASTER_SITES= SF/ggadu DISTNAME= gg2-${PORTVERSION} MAINTAINER= smyru@heron.pl -COMMENT= GTK2 based Gadu-Gadu client for X11 +COMMENT= Gadu-Gadu IM network client LIB_DEPENDS= gadu.3:${PORTSDIR}/polish/libgadu \ audiofile.0:${PORTSDIR}/audio/libaudiofile -BROKEN= Does not configure - +GNU_CONFIGURE= yes +INSTALLS_ICONS= yes USE_BZIP2= yes -USE_PERL5= yes USE_GETTEXT= yes USE_GMAKE= yes USE_GNOME= gtk20 USE_LDCONFIG= yes -GNU_CONFIGURE= yes -USE_XORG= x11 xaw ice +USE_PERL5= yes +USE_XORG= x11 xaw ice xscrnsaver WANT_GNOME= yes +# there is a header conflict here, that breaks build CONFLICTS= qhacc-[0-9]* CONFIGURE_ARGS= --disable-esdtest \ @@ -153,29 +153,14 @@ CONFIGURE_ARGS+= --without-xosd PLIST_SUB+= XOSD:="@comment " .endif -.if (${HAVE_GNOME:Mgnomehier}!="") -PLIST_SUB+= GNOME:="" -.else -PLIST_SUB+= GNOME:="@comment " -.endif -.if exists(${LOCALBASE}/lib/libkdecore.so) -PLIST_SUB+= KDE:="" -.else -PLIST_SUB+= KDE:="@comment " -.endif - post-patch: - @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/gg2.desktop - @${REINPLACE_CMD} -e 's| -ldl|| ; s|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/lib/Makefile.in + @${REINPLACE_CMD} -e 's,=.*},=${PREFIX},' ${WRKSRC}/src/plugins/dbus/org.freedesktop.im.GG.service + @${REINPLACE_CMD} -e 's, -ldl,, ; s,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' ${WRKSRC}/lib/Makefile.in + @${REINPLACE_CMD} -e 's,(datadir)/pixmaps,(datadir)/icons/hicolor/48x48/apps,' ${WRKSRC}/pixmaps/Makefile.in post-install: -.if (${HAVE_GNOME:Mgnomehier}!="") - ${INSTALL_DATA} ${WRKSRC}/gg2.desktop ${LOCALBASE}/share/gnome/apps/Internet - ${LN} -sf ${PREFIX}/share/pixmaps/gg2.png ${LOCALBASE}/share/pixmaps -.endif -.if exists(${LOCALBASE}/lib/libkdecore.so) - ${INSTALL_DATA} ${WRKSRC}/gg2.desktop ${LOCALBASE}/share/applnk/Internet -.endif + @${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/gg2.desktop ${PREFIX}/share/applications/ # vim: set ts=8 sw=8: .include <bsd.port.post.mk> diff --git a/polish/gnugadu2/pkg-plist b/polish/gnugadu2/pkg-plist index 4a15e5221643..2708c2336e5c 100644 --- a/polish/gnugadu2/pkg-plist +++ b/polish/gnugadu2/pkg-plist @@ -40,6 +40,7 @@ lib/libgg2_core.so lib/libgg2_core.so.2 libdata/pkgconfig/gg2_core.pc %%DBUS:%%share/dbus-1/services/org.freedesktop.im.GG.service +share/applications/gg2.desktop share/gg2/pixmaps/arrow.png share/gg2/pixmaps/away.png share/gg2/pixmaps/emoticon.gif @@ -321,9 +322,9 @@ share/gg2/themes/vblue2.theme share/gg2/themes/vgreen2.theme share/gg2/themes/vred2.theme share/gg2/themes/white2.theme +share/icons/hicolor/48x48/apps/gg2.png share/locale/nl/LC_MESSAGES/gg2.mo share/locale/pl/LC_MESSAGES/gg2.mo -share/pixmaps/gg2.png @dirrm share/gg2/themes @dirrm share/gg2/sounds @dirrm share/gg2/pixmaps/icons/rozgwiazda @@ -336,8 +337,4 @@ share/pixmaps/gg2.png @dirrm share/gg2/pixmaps @dirrm share/gg2 @dirrm lib/gg2 -%%GNOME:%%@cwd %%LOCALBASE%% -%%GNOME:%%share/gnome/apps/Internet/gg2.desktop -%%GNOME:%%share/pixmaps/gg2.png -%%KDE:%%@cwd %%LOCALBASE%% -%%KDE:%%share/applnk/Internet/gg2.desktop +@dirrmtry share/applications |