aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2014-02-19 04:46:17 +0800
committerkwm <kwm@FreeBSD.org>2014-02-19 04:46:17 +0800
commit9024966d32d28fed6c967b743e47e0575bb0bcda (patch)
tree146dcce496e6447a64450b64e76bf30bd1ce855a /mail
parent8b21e56a272af056a331141c7873b070a748de70 (diff)
downloadfreebsd-ports-gnome-9024966d32d28fed6c967b743e47e0575bb0bcda.tar.gz
freebsd-ports-gnome-9024966d32d28fed6c967b743e47e0575bb0bcda.tar.zst
freebsd-ports-gnome-9024966d32d28fed6c967b743e47e0575bb0bcda.zip
Remove gnome-panel 2.x option.
While here stagify use pathfix for translation files, use new LIB_DEPENDS syntax.
Diffstat (limited to 'mail')
-rw-r--r--mail/gnubiff/Makefile28
-rw-r--r--mail/gnubiff/pkg-plist3
2 files changed, 7 insertions, 24 deletions
diff --git a/mail/gnubiff/Makefile b/mail/gnubiff/Makefile
index 908b4cbd8b0f..73a14c6b5e87 100644
--- a/mail/gnubiff/Makefile
+++ b/mail/gnubiff/Makefile
@@ -3,19 +3,19 @@
PORTNAME= gnubiff
PORTVERSION= 2.2.13
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= SF
MAINTAINER= tdb@FreeBSD.org
-COMMENT= A mail notification program for Gnome
+COMMENT= Mail notification program for Gnome
OPTIONS_DEFINE= NLS
-LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt
USE_GNOME= intlhack libglade2 esound
-USES= fam gmake pkgconfig
+USES= fam gmake pathfix pkgconfig
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -24,7 +24,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
# /usr/local/include/openssl/sha.h:173: error: ISO C++ does not support `long long'
CXXFLAGS+= "-Wno-long-long"
-MAN1= gnubiff.1
INFO= gnubiff
.include <bsd.port.options.mk>
@@ -42,22 +41,7 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-# This application can dock in the GNOME panel, or it can not.
-# Only install support if gnomepanel is already installed.
-WANT_GNOME= yes
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${HAVE_GNOME:Mgnomepanel}!=""
-USE_GNOME+= gnomepanel gconf2 gnomeprefix gnomehack
-PKGNAMESUFFIX+= -gnome
-PLIST_SUB+= BONOBODIR="libdata/bonobo"
-PLIST_SUB+= WITH_GNOME=""
-.else
CONFIGURE_ARGS+= --disable-gnome
-PLIST_SUB+= BONOBODIR="lib/bonobo"
-PLIST_SUB+= WITH_GNOME="@comment "
-.endif
+PLIST_SUB+= BONOBODIR="libdata/bonobo"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/gnubiff/pkg-plist b/mail/gnubiff/pkg-plist
index 69f07918d033..18eefef3b1c0 100644
--- a/mail/gnubiff/pkg-plist
+++ b/mail/gnubiff/pkg-plist
@@ -1,4 +1,5 @@
bin/gnubiff
+man/man1/gnubiff.1.gz
share/applications/gnubiff.desktop
%%NLS%%share/locale/cs/LC_MESSAGES/gnubiff.mo
%%NLS%%share/locale/de/LC_MESSAGES/gnubiff.mo
@@ -32,8 +33,6 @@ share/gnubiff/tux-jump(64x64).png
share/gnubiff/tux-sleep(64x64).png
share/gnubiff/tux-sleep.png
share/pixmaps/gnubiff.png
-%%WITH_GNOME%%%%BONOBODIR%%/servers/GNOME_gnubiffApplet.server
-%%WITH_GNOME%%share/gnome-2.0/ui/GNOME_gnubiffApplet.xml
@dirrmtry %%BONOBODIR%%/servers
@dirrmtry %%BONOBODIR%%
%%NLS%%@dirrmtry share/locale/fr_CA/LC_MESSAGES