- Autodetect GNOME and build applet version
PR: ports/66302 Submitted by: Tim Bishop <tim@bishnet.net> (maintainer)
This commit is contained in:
parent
66cae882db
commit
cec9bbca75
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108484
@ -30,14 +30,21 @@ INFO= gnubiff
|
||||
CONFIGURE_ARGS+= --with-password
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GNUBIFF_GNOME)
|
||||
# This application can dock in the GNOME panel, or it can not.
|
||||
# Only install support if gnomepanel is already installed.
|
||||
WANT_GNOME= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${HAVE_GNOME:Mgnomepanel}!=""
|
||||
CONFIGURE_ARGS+= --with-gnome
|
||||
USE_GNOME+= gnomepanel gconf2 gnomeprefix gnomehack
|
||||
PLIST_SUB+= WITH_GNUBIFF_GNOME=""
|
||||
PKGNAMESUFFIX= -gnome
|
||||
PLIST_SUB+= SHAREDIR="share/gnome"
|
||||
PLIST_SUB+= WITH_GNOME=""
|
||||
.else
|
||||
PLIST_SUB+= WITH_GNUBIFF_GNOME="@comment "
|
||||
PLIST_SUB+= SHAREDIR="share"
|
||||
PLIST_SUB+= WITH_GNOME="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -54,7 +54,7 @@ share/locale/sv/LC_MESSAGES/gnubiff.mo
|
||||
%%SHAREDIR%%/pixmaps/gnubiff_icon.png
|
||||
%%SHAREDIR%%/sounds/gnubiff/mail.wav
|
||||
%%SHAREDIR%%/sounds/gnubiff/coin.wav
|
||||
%%WITH_GNUBIFF_GNOME%%libdata/bonobo/servers/GNOME_gnubiffApplet.server
|
||||
%%WITH_GNUBIFF_GNOME%%%%SHAREDIR%%/gnome-2.0/ui/GNOME_gnubiffApplet.xml
|
||||
%%WITH_GNOME%%libdata/bonobo/servers/GNOME_gnubiffApplet.server
|
||||
%%WITH_GNOME%%%%SHAREDIR%%/gnome-2.0/ui/GNOME_gnubiffApplet.xml
|
||||
@dirrm %%SHAREDIR%%/gnubiff
|
||||
@dirrm %%SHAREDIR%%/sounds/gnubiff
|
||||
|
Loading…
Reference in New Issue
Block a user