diff options
author | pav <pav@FreeBSD.org> | 2004-05-06 04:14:30 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-06 04:14:30 +0800 |
commit | d91be39cf5fb755b45b5cb2fc29d0a067de42ae7 (patch) | |
tree | a22028cb7541bb6b3d14d3f9fdc7e3b3700c325f /mail | |
parent | ca8bbae7ec2e9c08f7e75209bb127722ee941c3a (diff) | |
download | freebsd-ports-gnome-d91be39cf5fb755b45b5cb2fc29d0a067de42ae7.tar.gz freebsd-ports-gnome-d91be39cf5fb755b45b5cb2fc29d0a067de42ae7.tar.zst freebsd-ports-gnome-d91be39cf5fb755b45b5cb2fc29d0a067de42ae7.zip |
- Autodetect GNOME and build applet version
PR: ports/66302
Submitted by: Tim Bishop <tim@bishnet.net> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/gnubiff/Makefile | 15 | ||||
-rw-r--r-- | mail/gnubiff/pkg-plist | 4 |
2 files changed, 13 insertions, 6 deletions
diff --git a/mail/gnubiff/Makefile b/mail/gnubiff/Makefile index 37c6610c8cd9..8f1738ffe4dd 100644 --- a/mail/gnubiff/Makefile +++ b/mail/gnubiff/Makefile @@ -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> diff --git a/mail/gnubiff/pkg-plist b/mail/gnubiff/pkg-plist index 4e629827cd0e..de62e197183b 100644 --- a/mail/gnubiff/pkg-plist +++ b/mail/gnubiff/pkg-plist @@ -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 |