mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
- 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)
This commit is contained in:
parent
3b94a5d9ab
commit
a9d51ca6b2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213285
2 changed files with 15 additions and 33 deletions
|
@ -7,28 +7,28 @@
|
||||||
|
|
||||||
PORTNAME= gnugadu2
|
PORTNAME= gnugadu2
|
||||||
PORTVERSION= 2.3.0
|
PORTVERSION= 2.3.0
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES= polish net-im
|
CATEGORIES= polish net-im
|
||||||
MASTER_SITES= SF/ggadu
|
MASTER_SITES= SF/ggadu
|
||||||
DISTNAME= gg2-${PORTVERSION}
|
DISTNAME= gg2-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= smyru@heron.pl
|
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 \
|
LIB_DEPENDS= gadu.3:${PORTSDIR}/polish/libgadu \
|
||||||
audiofile.0:${PORTSDIR}/audio/libaudiofile
|
audiofile.0:${PORTSDIR}/audio/libaudiofile
|
||||||
|
|
||||||
BROKEN= Does not configure
|
GNU_CONFIGURE= yes
|
||||||
|
INSTALLS_ICONS= yes
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_PERL5= yes
|
|
||||||
USE_GETTEXT= yes
|
USE_GETTEXT= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_GNOME= gtk20
|
USE_GNOME= gtk20
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
GNU_CONFIGURE= yes
|
USE_PERL5= yes
|
||||||
USE_XORG= x11 xaw ice
|
USE_XORG= x11 xaw ice xscrnsaver
|
||||||
WANT_GNOME= yes
|
WANT_GNOME= yes
|
||||||
|
# there is a header conflict here, that breaks build
|
||||||
CONFLICTS= qhacc-[0-9]*
|
CONFLICTS= qhacc-[0-9]*
|
||||||
|
|
||||||
CONFIGURE_ARGS= --disable-esdtest \
|
CONFIGURE_ARGS= --disable-esdtest \
|
||||||
|
@ -153,29 +153,14 @@ CONFIGURE_ARGS+= --without-xosd
|
||||||
PLIST_SUB+= XOSD:="@comment "
|
PLIST_SUB+= XOSD:="@comment "
|
||||||
.endif
|
.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:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/gg2.desktop
|
@${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, -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:
|
post-install:
|
||||||
.if (${HAVE_GNOME:Mgnomehier}!="")
|
@${MKDIR} ${PREFIX}/share/applications
|
||||||
${INSTALL_DATA} ${WRKSRC}/gg2.desktop ${LOCALBASE}/share/gnome/apps/Internet
|
${INSTALL_DATA} ${WRKSRC}/gg2.desktop ${PREFIX}/share/applications/
|
||||||
${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
|
|
||||||
|
|
||||||
# vim: set ts=8 sw=8:
|
# vim: set ts=8 sw=8:
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -40,6 +40,7 @@ lib/libgg2_core.so
|
||||||
lib/libgg2_core.so.2
|
lib/libgg2_core.so.2
|
||||||
libdata/pkgconfig/gg2_core.pc
|
libdata/pkgconfig/gg2_core.pc
|
||||||
%%DBUS:%%share/dbus-1/services/org.freedesktop.im.GG.service
|
%%DBUS:%%share/dbus-1/services/org.freedesktop.im.GG.service
|
||||||
|
share/applications/gg2.desktop
|
||||||
share/gg2/pixmaps/arrow.png
|
share/gg2/pixmaps/arrow.png
|
||||||
share/gg2/pixmaps/away.png
|
share/gg2/pixmaps/away.png
|
||||||
share/gg2/pixmaps/emoticon.gif
|
share/gg2/pixmaps/emoticon.gif
|
||||||
|
@ -321,9 +322,9 @@ share/gg2/themes/vblue2.theme
|
||||||
share/gg2/themes/vgreen2.theme
|
share/gg2/themes/vgreen2.theme
|
||||||
share/gg2/themes/vred2.theme
|
share/gg2/themes/vred2.theme
|
||||||
share/gg2/themes/white2.theme
|
share/gg2/themes/white2.theme
|
||||||
|
share/icons/hicolor/48x48/apps/gg2.png
|
||||||
share/locale/nl/LC_MESSAGES/gg2.mo
|
share/locale/nl/LC_MESSAGES/gg2.mo
|
||||||
share/locale/pl/LC_MESSAGES/gg2.mo
|
share/locale/pl/LC_MESSAGES/gg2.mo
|
||||||
share/pixmaps/gg2.png
|
|
||||||
@dirrm share/gg2/themes
|
@dirrm share/gg2/themes
|
||||||
@dirrm share/gg2/sounds
|
@dirrm share/gg2/sounds
|
||||||
@dirrm share/gg2/pixmaps/icons/rozgwiazda
|
@dirrm share/gg2/pixmaps/icons/rozgwiazda
|
||||||
|
@ -336,8 +337,4 @@ share/pixmaps/gg2.png
|
||||||
@dirrm share/gg2/pixmaps
|
@dirrm share/gg2/pixmaps
|
||||||
@dirrm share/gg2
|
@dirrm share/gg2
|
||||||
@dirrm lib/gg2
|
@dirrm lib/gg2
|
||||||
%%GNOME:%%@cwd %%LOCALBASE%%
|
@dirrmtry share/applications
|
||||||
%%GNOME:%%share/gnome/apps/Internet/gg2.desktop
|
|
||||||
%%GNOME:%%share/pixmaps/gg2.png
|
|
||||||
%%KDE:%%@cwd %%LOCALBASE%%
|
|
||||||
%%KDE:%%share/applnk/Internet/gg2.desktop
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue