summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-utils/Makefile
blob: 04373f28eea3e28d337143a1f57c25cb7bdca885 (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 18610 2013-06-30 16:33:05Z 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=    libgtop-2.0.so:${PORTSDIR}/devel/libgtop \
        libcanberra-gtk.so:${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]*

NO_STAGE=   yes
USE_BZIP2=  yes
USES=       gettext gmake pathfix pkgconfig
INSTALLS_OMF=   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>