56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# Created by: James Earl <jdearl@telus.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xfce4-panel
|
|
PORTVERSION= 4.10.1
|
|
CATEGORIES= x11-wm xfce
|
|
MASTER_SITES= ${MASTER_SITE_XFCE}
|
|
MASTER_SITE_SUBDIR= src/xfce/${PORTNAME}/${PORTVERSION:R}
|
|
DIST_SUBDIR= xfce4
|
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
|
COMMENT= Xfce's panel
|
|
|
|
LIB_DEPENDS= libwnck-1.so:${PORTSDIR}/x11-toolkits/libwnck \
|
|
libcairo.so:${PORTSDIR}/graphics/cairo \
|
|
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
|
|
|
|
USES= desktop-file-utils gmake pathfix perl5 pkgconfig compiler
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
USE_BZIP2= yes
|
|
USE_GNOME= glib20 gtk20 intltool intlhack
|
|
USE_LDCONFIG= yes
|
|
USE_XFCE= configenv garcon libexo libmenu libutil xfconf
|
|
USE_XORG= x11 sm
|
|
|
|
CONFIGURE_ARGS+=--enable-gio-unix
|
|
|
|
OPTIONS_DEFINE= NLS DOCS
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 1000000
|
|
.if ${COMPILER_TYPE} == clang
|
|
CFLAGS_amd64= -fPIC
|
|
.endif
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
USES+= gettext
|
|
CONFIGURE_ARGS+=--enable-nls
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
CONFIGURE_ARGS+=--with-html-dir=${PREFIX}/share/gtk-doc/html
|
|
PLIST_SUB+= APIDOCS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--without-html-dir
|
|
PLIST_SUB+= APIDOCS="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|