aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/gnome-commander2/Makefile
blob: d7fb663d776b7304e413fd45900ec885e39f37ef (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: Edgardo Garcia Hoeffler <edybsd@yahoo.com.ar>
# $FreeBSD$

PORTNAME=   gnome-commander
PORTVERSION=    1.2.8.15
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= x11-fm gnome
MASTER_SITES=   GNOME
MASTER_SITE_SUBDIR= sources/gnome-commander/1.2
PKGNAMESUFFIX=  2
DIST_SUBDIR=    gnome2

MAINTAINER= sylvio@FreeBSD.org
COMMENT=    File manager for Gnome2

LICENSE=    GPLv2

LIB_DEPENDS=    id3-3.8.3:${PORTSDIR}/audio/id3lib \
        exif.12:${PORTSDIR}/graphics/libexif \
        iptcdata.3:${PORTSDIR}/graphics/libiptcdata

CONFLICTS=  gnome-commander-[0-9]*

USE_XZ=     yes
USE_GNOME=  gnomedocutils gnomehack gnomeprefix intlhack libgnomeui
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool autoconf:env aclocal:env automake:env
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
INSTALLS_OMF=   yes

MAN1=       gnome-commander.1

pre-configure:
    cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -W none

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=      gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

.include <bsd.port.mk>