aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libxfce4gui/Makefile
blob: 804c747c659a79de2be95e6b23e9edc3eebe9fdf (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
# New ports collection makefile for:    libxfce4util
# Date created:     7 June 2003
# Whom:         James Earl <jdearl@telus.net>
#
# $FreeBSD$
#

PORTNAME=   libxfce4gui
PORTVERSION=    4.2.1
PORTREVISION=   0
CATEGORIES= x11-toolkits xfce
MASTER_SITES=   http://www.us.xfce.org/archive/xfce-${PORTVERSION}/src/ \
        http://spuriousinterrupt.org/projects/xfce4/files/mirror/xfce-${PORTVERSION}/ \
        http://public.fh-wolfenbuettel.de/~luedickj/xfce4/xfce-${PORTVERSION}/
DISTNAME=   libxfcegui4-${PORTVERSION}
DIST_SUBDIR=    xfce4

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

LIB_DEPENDS=    dbh-1.0.1:${PORTSDIR}/databases/dbh \
        xfce4util.1:${PORTSDIR}/x11/libxfce4util

USE_GNOME=  gtk20
USE_REINPLACE=  yes
USE_X_PREFIX=   yes
USE_LIBTOOL_VER=15
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-xinerama
INSTALLS_SHLIB= yes

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

post-patch:
    @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
        ${WRKSRC}/libxfcegui4/Makefile.in

.include <bsd.port.mk>