summaryrefslogtreecommitdiffstats
path: root/x11-fm/nautilus2/Makefile
blob: 0fbe82374ba333170681dde02fe5cb71689d815e (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
# New ports collection makefile for:    nautilus2
# Date created:                 28th August 2000
# Whom:                         ade, archie
#
# $FreeBSD: ports/x11-fm/nautilus2/Makefile,v 1.80 2003/04/06 21:16:05 marcus Exp $
#

PORTNAME=   nautilus2
PORTVERSION=    2.3.6
CATEGORIES= x11-fm gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.3
DIST_SUBDIR=    gnome2
DISTNAME=   nautilus-${PORTVERSION}

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME file manager and graphical shell developed by Eazel

BUILD_DEPENDS=  freetype-config:${PORTSDIR}/print/freetype2

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomeprefix gnomehack gnomehier gnomedesktop eel2 librsvg2
GNOME_DESKTOP_VERSION=2
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -fno-rtti -fno-exceptions" \
        LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib -liconv" \
        LIBPNG="-L${LOCALBASE}/lib -lpng -lz ${MOZILLA_LIBS}"
CONFIGURE_ARGS= --with-freetype2-lib-place=${LOCALBASE}/lib \
        --with-freetype2-include-place=${LOCALBASE}/include/freetype2 \
        --enable-static
MAKE_ENV=   G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias"

post-install:
    @${CHMOD} u+w ${PREFIX}/share/gnome/nautilus/*.desktop

.include <bsd.port.mk>