2012-12-14 18:45:10 +01:00
|
|
|
# Created by: James Earl <jdearl@telus.net>
|
2003-07-28 20:18:23 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xfce4-panel
|
2013-05-08 17:42:11 +02:00
|
|
|
PORTVERSION= 4.10.1
|
2003-08-16 09:03:34 +02:00
|
|
|
CATEGORIES= x11-wm xfce
|
2010-05-31 17:27:35 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XFCE}
|
2013-05-08 17:42:11 +02:00
|
|
|
MASTER_SITE_SUBDIR= src/xfce/${PORTNAME}/${PORTVERSION:R}
|
2003-09-28 19:52:45 +02:00
|
|
|
DIST_SUBDIR= xfce4
|
2003-07-28 20:18:23 +02:00
|
|
|
|
2011-10-23 13:56:51 +02:00
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
2012-05-25 18:51:40 +02:00
|
|
|
COMMENT= Xfce's panel
|
2003-07-28 20:18:23 +02:00
|
|
|
|
2013-10-14 22:03:16 +02:00
|
|
|
LIB_DEPENDS= libwnck-1.so:${PORTSDIR}/x11-toolkits/libwnck \
|
|
|
|
libcairo.so:${PORTSDIR}/graphics/cairo \
|
|
|
|
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
|
2009-03-02 17:51:57 +01:00
|
|
|
|
2014-01-23 14:50:19 +01:00
|
|
|
USES= desktop-file-utils gmake pathfix perl5 pkgconfig compiler
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-03-03 11:12:30 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2007-01-22 17:45:10 +01:00
|
|
|
USE_BZIP2= yes
|
2013-05-08 17:42:11 +02:00
|
|
|
USE_GNOME= glib20 gtk20 intltool intlhack
|
2007-01-22 17:45:10 +01:00
|
|
|
USE_LDCONFIG= yes
|
2011-04-21 09:34:49 +02:00
|
|
|
USE_XFCE= configenv garcon libexo libmenu libutil xfconf
|
2010-05-31 17:27:35 +02:00
|
|
|
USE_XORG= x11 sm
|
|
|
|
|
2013-05-08 17:42:11 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-gio-unix
|
2007-01-22 17:45:10 +01:00
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
OPTIONS_DEFINE= NLS DOCS
|
2007-01-22 17:45:10 +01:00
|
|
|
|
2014-01-23 14:50:19 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 1000000
|
|
|
|
.if ${COMPILER_TYPE} == clang
|
|
|
|
CFLAGS_amd64= -fPIC
|
|
|
|
.endif
|
|
|
|
.endif
|
2007-01-22 17:45:10 +01:00
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-26 12:44:28 +02:00
|
|
|
USES+= gettext
|
2010-05-31 17:27:35 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-nls
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2011-04-21 09:34:49 +02:00
|
|
|
CONFIGURE_ARGS+=--with-html-dir=${PREFIX}/share/gtk-doc/html
|
|
|
|
PLIST_SUB+= APIDOCS=""
|
2012-05-30 18:49:12 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--without-html-dir
|
|
|
|
PLIST_SUB+= APIDOCS="@comment "
|
2011-04-21 09:34:49 +02:00
|
|
|
.endif
|
|
|
|
|
2014-01-23 14:50:19 +01:00
|
|
|
.include <bsd.port.post.mk>
|