freebsd-ports/deskutils/global-menu/Makefile

62 lines
1.3 KiB
Makefile
Raw Normal View History

# Created by: Gustavo Perez
# $FreeBSD$
PORTNAME= gnome-globalmenu
PORTVERSION= 0.7.10
2013-03-19 13:17:06 +01:00
PORTREVISION= 3
CATEGORIES= deskutils
MASTER_SITES= http://gnome2-globalmenu.googlecode.com/files/
MAINTAINER= gustau.perez@gmail.com
COMMENT= Global menu for gnome
LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
USE_GNOME= gnomepanel gnomedesktop
USE_BZIP2= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
2013-09-06 16:30:42 +02:00
USES= gmake pkgconfig
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool automake:env autoheader:env
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= XFCE4_PANEL NLS
XFCE4_PANEL_DESC= Xfce panel applet
NO_STAGE= yes
2014-01-16 00:52:25 +01:00
BROKEN_sparc64= Leaves files behind on deinstall on sparc64
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MXFCE4_PANEL}
2013-03-19 13:17:06 +01:00
USE_XFCE= panel
CONFIGURE_ARGS+= --with-xfce4-panel
PLIST_SUB+= XFCE4_PANEL=""
2013-03-19 13:17:06 +01:00
.else
CONFIGURE_ARGS+= --without-xfce4-panel
PLIST_SUB+= XFCE4_PANEL="@comment "
.endif
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
MAN1= gnome-globalmenu.1
GCONF_SCHEMAS= gnome-globalmenu.schemas
post-install:
@${INSTALL_DATA} ${WRKSRC}/applet/GlobalMenu_PanelApplet.server \
${LOCALBASE}/libdata/bonobo/servers
@${CAT} ${PKGMESSAGE}
2014-01-16 00:52:25 +01:00
.include <bsd.port.mk>