2013-04-23 16:20:25 +02:00
|
|
|
# Created by: Oliver Lehmann <oliver@FreeBSD.org>
|
2009-03-02 17:29:48 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xfce4-conf
|
2012-05-25 18:51:40 +02:00
|
|
|
PORTVERSION= 4.10.0
|
2013-05-08 17:49:02 +02:00
|
|
|
PORTREVISION= 4
|
2009-03-02 17:29:48 +01:00
|
|
|
CATEGORIES= x11 xfce
|
|
|
|
MASTER_SITES= ${MASTER_SITE_XFCE}
|
|
|
|
DISTNAME= xfconf-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= xfce4
|
|
|
|
|
2011-10-23 13:56:51 +02:00
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
2012-05-25 18:51:40 +02:00
|
|
|
COMMENT= D-Bus-based configuration storage system
|
2009-03-02 17:29:48 +01:00
|
|
|
|
2013-05-08 17:49:02 +02:00
|
|
|
BUILD_DEPENDS= p5-XML-Parser>=2.41:${PORTSDIR}/textproc/p5-XML-Parser
|
|
|
|
LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib
|
2009-03-02 17:29:48 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2013-05-08 17:49:02 +02:00
|
|
|
USE_GNOME= glib20 gtk20 intltool intlhack
|
2009-03-02 17:29:48 +01:00
|
|
|
USE_LDCONFIG= yes
|
2012-07-20 07:52:20 +02:00
|
|
|
USE_PERL5_BUILD= yes
|
2009-03-02 17:29:48 +01:00
|
|
|
USE_XFCE= configenv libutil
|
2010-05-31 17:27:35 +02:00
|
|
|
USE_XORG= x11
|
2013-05-08 17:49:02 +02:00
|
|
|
USES= pathfix pkgconfig
|
2012-05-25 18:51:40 +02:00
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
OPTIONS_DEFINE= DOCS PERL NLS
|
2009-03-10 19:38:53 +01:00
|
|
|
|
2013-06-12 19:45:02 +02:00
|
|
|
MAN3PREFIX?= ${PREFIX}/lib/perl5/${PERL_VER}
|
2009-03-02 17:29:48 +01:00
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2009-03-02 17:29:48 +01:00
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2011-10-28 17:31:02 +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-10-28 17:31:02 +02:00
|
|
|
.endif
|
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
.if ${PORT_OPTIONS:MPERL}
|
2009-03-10 19:38:53 +01:00
|
|
|
MAN3= Xfce4::Xfconf.3
|
|
|
|
BUILD_DEPENDS+= p5-ExtUtils-Depends>=0.300:${PORTSDIR}/devel/p5-ExtUtils-Depends \
|
|
|
|
p5-ExtUtils-PkgConfig>=1.12:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig \
|
|
|
|
p5-Glib2>=1.200:${PORTSDIR}/devel/p5-Glib2
|
2011-03-03 11:12:30 +01:00
|
|
|
RUN_DEPENDS+= ${BUILD_DEPENDS}
|
2009-03-10 19:38:53 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-perl-bindings
|
|
|
|
PLIST_SUB+= PERLBIND=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-perl-bindings
|
|
|
|
PLIST_SUB+= PERLBIND="@comment "
|
|
|
|
.endif
|
|
|
|
|
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
|
|
|
.include <bsd.port.mk>
|