summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-utils/Makefile
blob: 3d426d1c68b43e7ef445d02420f8a1d7f3704c9f (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/deskutils/gnome-utils/Makefile 17268 2013-04-01 05:13:11Z marcus $

PORTNAME=   gnome-utils
PORTVERSION=    2.32.0
PORTREVISION=   2
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:${PORTSDIR}/devel/libgtop \
        canberra-gtk:${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
USES=       gettext pathfix pkgconfig
INSTALLS_OMF=   yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
INSTALLS_ICONS= yes
USE_GNOME=  gnomeprefix 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>