summaryrefslogtreecommitdiffstats
path: root/x11-fm/gnome-commander/Makefile
blob: b950f6c1caf548e67d396178e8ddde3105bb0994 (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
# New ports collection makefile for:    gnomem-commander
# Date created:     23 April 2002
# Whom:         Edgardo Garcia Hoeffler <edybsd@yahoo.com.ar>
#
# $FreeBSD$
#

PORTNAME=   gnome-commander
PORTVERSION=    1.0.1
PORTREVISION=   5
CATEGORIES= x11-fm gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-commander/1.0/

MAINTAINER= ports@FreeBSD.org
COMMENT=    File manager for Gnome

.if defined(WITH_FAM)
LIB_DEPENDS=    fam.0:${PORTSDIR}/devel/fam
.else
CONFIGURE_ARGS= --without-fam
.endif

CONFLICTS=  gnome-commander2-*

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_BZIP2=  yes
USE_GNOME=  gnomeprefix gnomehack gnometarget gnomevfs gnomelibs gdkpixbuf
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib -lintl"

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Broken with gcc 4.2
.endif

pre-everything::
.if !defined(WITH_FAM)
    @${ECHO} ""
    @${ECHO} "  Define WITH_FAM to add support for the"
    @${ECHO} "  'file alteration monitor' fam"
    @${ECHO} ""
.endif

.include <bsd.port.post.mk>