Remove gnome-panel 2.x support.

While here stagify, switch to USES=gmake, remove desktopfileutils it not needed.
This commit is contained in:
Koop Mast 2014-02-18 21:06:31 +00:00
parent 3888ae5cb3
commit cbdf38a451
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344958
2 changed files with 4 additions and 24 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= g2ipmsg
PORTVERSION= 0.9.6
PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= http://ipmsg.org/archive/
@ -11,18 +12,14 @@ COMMENT= Popup style message communication tool for GNOME2
LICENSE= GPLv2 # (or later)
OPTIONS_DEFINE= GNOMEPANEL
OPTIONS_DEFAULT= GNOMEPANEL
GNOMEPANEL_DESC= GNOME Panel Applet
USES= gettext pathfix pkgconfig
USE_GNOME= desktopfileutils gnomeprefix libgnomeui
USES= gettext gmake pathfix pkgconfig
USE_GNOME= gnomeprefix libgnomeui
USE_GSTREAMER= vorbis
USE_OPENSSL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-doxygen-doc \
--enable-systray \
--disable-applet \
--with-ssl=${OPENSSLBASE}
CPPFLAGS+= -I${LOCALBASE}/include
@ -30,18 +27,4 @@ LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= g2ipmsg.schemas
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNOMEPANEL}
USE_GNOME+= gnomepanel
PLIST_SUB+= GNOMEPANEL=""
.else
CONFIGURE_ARGS+=--disable-applet
PLIST_SUB+= GNOMEPANEL="@comment "
.endif
post-install:
@update-desktop-database
.include <bsd.port.mk>

View file

@ -1,5 +1,4 @@
bin/g2ipmsg
%%GNOMEPANEL%%bin/g2ipmsg_applet
libdata/bonobo/servers/g2ipmsg.server
share/applications/g2ipmsg.desktop
share/locale/ja/LC_MESSAGES/g2ipmsg.mo
@ -10,7 +9,5 @@ share/pixmaps/g2ipmsg/ipmsg.xpm
share/pixmaps/g2ipmsg/ipmsgrev.xpm
share/pixmaps/ipmsg.png
share/sounds/g2ipmsg/g2ipmsg.ogg
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@dirrm share/sounds/g2ipmsg
@dirrm share/pixmaps/g2ipmsg