summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-utils/Makefile
blob: bb3d9515c77e19b0b44215e9fd9d641b98845fad (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
# New ports collection makefile for:    gnomeutils2
# Date created:             06 May 2002
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/deskutils/gnome-utils/Makefile,v 1.157 2012/05/31 15:11:23 kwm Exp $
#

PORTNAME=   gnome-utils
PORTVERSION=    2.32.0
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= deskutils gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME 2 support utilities

LIB_DEPENDS=    gtop-2.0.7:${PORTSDIR}/devel/libgtop \
        canberra-gtk.0:${PORTSDIR}/audio/libcanberra

CONFLICTS=  baobob-3.[0-9]* gnome-dictionary-3.[0-9]* \
        gnome-font-viewer-3.[0-9]* gnome-screenshot-3.[0-9]* \
        gnome-search-tool-3.[0-9]* gnome-system-log-3.[0-9]*

USE_BZIP2=  yes
USE_GETTEXT=    yes
INSTALLS_OMF=   yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
INSTALLS_ICONS= yes
USE_GNOME=  gnomeprefix gnomehack intlhack gnomepanel ltverhack
USE_AUTOTOOLS=  libtool
CONFIGURE_ARGS= --enable-maintainer-flags=no
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

MAN1=       gnome-dictionary.1 gnome-screenshot.1 gnome-search-tool.1 \
        gnome-system-log.1 baobab.1
GCONF_SCHEMAS=  gnome-dictionary.schemas gnome-screenshot.schemas \
        gnome-search-tool.schemas baobab.schemas \
        gnome-system-log.schemas

post-patch:
    @${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \
        ${WRKSRC}/gsearchtool/libgnomeui-deprecated/Makefile.in
    @${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
        ${WRKSRC}/gnome-dictionary/libgdict/Makefile.in \
        ${WRKSRC}/gsearchtool/Makefile.in \
        ${WRKSRC}/gsearchtool/libgnomeui-deprecated/Makefile.in \
        ${WRKSRC}/libeggsmclient/Makefile.in

.include <bsd.port.mk>