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

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

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

LICENSE=    GPLv2

LIB_DEPENDS=    libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique
RUN_DEPENDS=    meld:${PORTSDIR}/textproc/meld \
        yelp:${PORTSDIR}/x11/yelp

USES=       gettext gmake libtool pathfix pkgconfig python tar:xz
USE_GNOME=  gnomedocutils gnomeprefix gnomevfs2 intltool libgnomeui
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
INSTALLS_OMF=   yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

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

OPTIONS_DEFINE=     CHM EXIV2 GSF POPPLER TAGLIB
OPTIONS_DEFAULT=    CHM EXIV2 GSF POPPLER TAGLIB

CHM_DESC=       CHM support via chmlib
CHM_LIB_DEPENDS=    libchm.so:${PORTSDIR}/misc/chmlib
CHM_CONFIGURE_WITH= libchm
EXIV2_LIB_DEPENDS=  libexiv2.so:${PORTSDIR}/graphics/exiv2
EXIV2_CONFIGURE_WITH=   exiv2
GSF_DESC=       OLE and ODF support via libgsf
GSF_LIB_DEPENDS=    libgsf-1.so:${PORTSDIR}/devel/libgsf
GSF_CONFIGURE_WITH= libgsf
POPPLER_LIB_DEPENDS=    libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
POPPLER_CONFIGURE_WITH= poppler
TAGLIB_DESC=        Audio metadata support via taglib
TAGLIB_LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib
TAGLIB_CONFIGURE_WITH=  taglib

post-patch:
    @${REINPLACE_CMD} -e \
        's|="-lpython|="-L$$PY_EXEC_PREFIX/lib -lpython|' \
        ${WRKSRC}/configure

.include <bsd.port.mk>