freebsd-ports/sysutils/xfce4-utils/Makefile
Oliver Lehmann 2e39a5c7ae bring back xfce menues and items
Submitted by:	Zhihao Yuan <lichray@gmail.com>
2011-03-05 09:00:53 +00:00

64 lines
1.4 KiB
Makefile

# New ports collection makefile for: xfce4-utils
# Date created: 7 June 2003
# Whom: James Earl <jdearl@telus.net>
#
# $FreeBSD$
#
PORTNAME= xfce4-utils
PORTVERSION= 4.8.1
PORTREVISION= 1
CATEGORIES= sysutils xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR= src/xfce/xfce-utils/${PORTVERSION:R}
DISTNAME= xfce-utils-${PORTVERSION}
DIST_SUBDIR= xfce4
MAINTAINER= oliver@FreeBSD.org
COMMENT= XFce 4 essential utilities and scripts
CONFLICTS= xfce4-utils-4.6*
BUILD_DEPENDS= p5-XML-Parser>=2.40:${PORTSDIR}/textproc/p5-XML-Parser
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/4//}
CONFIGURE_ARGS+=--with-xsession-prefix=${PREFIX} \
--disable-debug
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_PERL5= yes
USE_GNOME= gnomehack gtk20 intltool intlhack desktopfileutils pkgconfig
USE_XFCE= configenv libgui libmenu libutil xfconf
USE_XORG= x11
OPTIONS= DBUS "Enable D-BUS support" on \
NLS "Enable Native Language Support" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_DBUS)
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
CONFIGURE_ARGS+=--enable-dbus
PLIST_SUB+= WITH_DBUS=""
.else
CONFIGURE_ARGS+=--disable-dbus
PLIST_SUB+= WITH_DBUS="@comment "
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-install:
@-update-desktop-database
.include <bsd.port.post.mk>