Remove gnome-panel 2.x option.

While here stagify use pathfix for translation files, use new
LIB_DEPENDS syntax.
This commit is contained in:
Koop Mast 2014-02-18 20:46:17 +00:00
parent 80a9009d44
commit 048376968b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344956
2 changed files with 7 additions and 24 deletions

View File

@ -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>

View File

@ -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