2009-03-02 17:28:30 +01:00
|
|
|
# New ports collection makefile for: libxfce4menu
|
|
|
|
# Date created: 7 Oktober 2008
|
|
|
|
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libxfce4menu
|
2012-05-25 18:51:40 +02:00
|
|
|
PORTVERSION= 4.10.0
|
2012-08-09 21:13:56 +02:00
|
|
|
PORTREVISION= 2
|
2009-03-02 17:28:30 +01:00
|
|
|
CATEGORIES= x11 xfce
|
|
|
|
MASTER_SITES= ${MASTER_SITE_XFCE}
|
2011-03-03 11:12:30 +01:00
|
|
|
DISTNAME= libxfce4ui-${PORTVERSION}
|
2009-03-02 17:28:30 +01:00
|
|
|
DIST_SUBDIR= xfce4
|
|
|
|
|
2011-10-23 13:56:51 +02:00
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
2012-05-25 18:51:40 +02:00
|
|
|
COMMENT= Widgets library for the Xfce desktop environment
|
2009-03-02 17:28:30 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2012-08-09 21:13:56 +02:00
|
|
|
USE_GNOME= glib20 gnomehack gtk20 intltool intlhack desktopfileutils
|
2009-03-02 17:28:30 +01:00
|
|
|
USE_LDCONFIG= yes
|
2011-03-03 11:12:30 +01:00
|
|
|
USE_XFCE= configenv libutil xfconf
|
2012-05-25 18:51:40 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2012-08-09 21:13:56 +02:00
|
|
|
USE_PKGCONFIG= build
|
2012-05-25 18:51:40 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --disable-gtk-doc-html \
|
2012-05-30 18:49:12 +02:00
|
|
|
--with-vendor-info=FreeBSD
|
2009-03-02 17:28:30 +01:00
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
OPTIONS_DEFINE= DOCS NLS NOTIFY GLADE
|
|
|
|
OPTIONS_DEFAULT= NOTIFY
|
2010-05-31 17:27:35 +02:00
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2010-05-31 17:27:35 +02:00
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2012-01-14 20:11:46 +01: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 "
|
2009-03-02 17:28:30 +01:00
|
|
|
.endif
|
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2010-05-31 17:27:35 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
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:MNOTIFY}
|
2012-01-14 20:11:46 +01:00
|
|
|
LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
|
|
|
|
CONFIGURE_ARGS+=--enable-startup-notification
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-startup-notification
|
|
|
|
.endif
|
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
.if ${PORT_OPTIONS:MGLADE}
|
2012-01-14 20:11:46 +01:00
|
|
|
LIB_DEPENDS+= gladeui-1.10:${PORTSDIR}/devel/glade3
|
|
|
|
CONFIGURE_ARGS+=--enable-gladeui
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-gladeui
|
|
|
|
.endif
|
|
|
|
|
2012-08-09 21:13:56 +02:00
|
|
|
post-patch:
|
2012-08-10 10:59:03 +02:00
|
|
|
.if empty(PORT_OPTIONS:MNLS)
|
|
|
|
@${REINPLACE_CMD} -e 's|docs \\|docs|' \
|
|
|
|
-e 's|po||' ${WRKSRC}/Makefile.in
|
2012-08-09 21:13:56 +02:00
|
|
|
.endif
|
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
.include <bsd.port.mk>
|