aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/baobab/Makefile
blob: 4fab0c8bdaa9c062d3974cb40ab49faccd65c5e3 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$

PORTNAME=   baobab
PORTVERSION=    3.24.0
CATEGORIES= deskutils gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME 3 graphical directory tree analyzer

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  itstool:textproc/itstool \
        vapigen:lang/vala
LIB_DEPENDS=    libgtop-2.0.so:devel/libgtop

CONFLICTS=  gnome-utils-2.[0-9]*
PORTSCOUT=  limitw:1,even

USES=       desktop-file-utils gettext gmake gnome localbase \
        pathfix pkgconfig tar:xz
USE_GNOME=  cairo gnomeprefix gtk30 libxml2
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes

GLIB_SCHEMAS=   org.gnome.baobab.gschema.xml

post-patch:
    @${REINPLACE_CMD} -e 's|-Wno-unused-but-set-variable||g' \
        ${WRKSRC}/src/Makefile.in
    @${REINPLACE_CMD} -e 's|MimeType=inode/directory;|MimeType=|g' \
        ${WRKSRC}/data/org.gnome.baobab.desktop.in.in

.include <bsd.port.mk>