aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libxfce4gui/Makefile
blob: 432219c1ecba16b7df0f9a6ebc9e87529ed8e279 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# New ports collection makefile for:    libxfce4util
# Date created:     7 June 2003
# Whom:         James Earl <jdearl@telus.net>
#
# $FreeBSD$
#

PORTNAME=   libxfce4gui
PORTVERSION=    4.8.0
CATEGORIES= x11-toolkits xfce
MASTER_SITES=   ${MASTER_SITE_XFCE}
DISTNAME=   libxfcegui4-${PORTVERSION}
DIST_SUBDIR=    xfce4

MAINTAINER= oliver@FreeBSD.org
COMMENT=    XFce 4 widget library required by xfce4 and xfwm4

USE_AUTOTOOLS=  libtool
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack gnometarget gtk20 intltool intlhack libglade2 pkgconfig
USE_LDCONFIG=   yes
USE_XFCE=   libutil xfconf
USE_XORG=   sm

OPTIONS=    GTKDOC  "install the library documentation" off \
        STARTUP "use libstartup-notification"       on  \
        GLADEUI "glade interface designer"      off

.include <bsd.port.pre.mk>

.if defined(WITH_GTKDOC)
BUILD_DEPENDS+= gtkdocize:${PORTSDIR}/textproc/gtk-doc
CONFIGURE_ARGS+=--enable-gtk-doc
PLIST_SUB+= GTK_DOC=""
.else
CONFIGURE_ARGS+=--disable-gtk-doc
PLIST_SUB+= GTK_DOC="@comment "
.endif

.if !defined(WITHOUT_LIBSTARTUP)
LIB_DEPENDS+=   startup-notification-1:${PORTSDIR}/x11/startup-notification
CONFIGURE_ARGS+=--enable-startup-notification
.else
CONFIGURE_ARGS+=--disable-startup-notification
.endif

.if defined(WITH_GLADEUI)
CONFIGURE_ARGS+=--enable-gladeui
.else
CONFIGURE_ARGS+=--disable-gladeui
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|$$(GMSGFMT)|$$(MSGFMT)|g' \
        ${WRKSRC}/po/Makefile.in.in

.include <bsd.port.post.mk>