summaryrefslogtreecommitdiffstats
path: root/x11-fm/nautilus/Makefile
blob: 72515f2df87341b8b88dd966dd04f21a24eba687 (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
55
# New ports collection makefile for:    nautilus2
# Date created:                 28th August 2000
# Whom:                         ade, archie
#
# $FreeBSD$
#   $MCom: ports/x11-fm/nautilus/Makefile,v 1.211 2011/10/24 10:05:09 kwm Exp $
#

PORTNAME=   nautilus
PORTVERSION=    2.32.2.1
PORTREVISION=   3
CATEGORIES= x11-fm gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT?=   File manager for the GNOME desktop

BUILD_DEPENDS=  g-ir-compiler:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS=    exif.12:${PORTSDIR}/graphics/libexif \
        unique-1.0.2:${PORTSDIR}/x11-toolkits/unique \
        exempi.3:${PORTSDIR}/textproc/exempi

CONFLICTS=  nautilus-3.[0-9]*

INSTALLS_ICONS= yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_GNOME=  gnomeprefix gnomehack intlhack gnomedesktop \
        librsvg2 desktopfileutils ltverhack gvfs ltasneededhack
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool
CONFIGURE_ENV=  LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -liconv" \
        LIBPNG="-L${LOCALBASE}/lib -lpng -lz"
CPPFLAGS+=  -I${LOCALBASE}/include
CONFIGURE_ARGS= --enable-static --disable-packagekit
MAKE_ENV=   G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias"

GCONF_SCHEMAS=  apps_nautilus_preferences.schemas

MAN1=       nautilus-connect-server.1 nautilus-file-management-properties.1 \
        nautilus.1

post-patch:
    @${REINPLACE_CMD} -e 's|G_CONST_RETURN|const|g' \
        ${WRKSRC}/eel/eel-*.[ch] \
        ${WRKSRC}/libnautilus-private/*.[ch] \
        ${WRKSRC}/src/nautilus-zoom-control.c

post-install:
    @${MKDIR} ${PREFIX}/lib/nautilus/extensions-2.0
    @-update-desktop-database

.include <bsd.port.mk>