aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/xfe/Makefile
blob: 5b5bae3b31f8ad3a6c12007829f0f623a05aa919 (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
# Created by: ptiJo
# $FreeBSD$

PORTNAME=   xfe
PORTVERSION=    1.40.1
CATEGORIES= x11-fm
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Fast MS-Explorer like file manager for X

LICENSE=    GPLv2

LIB_DEPENDS=    libFOX-1.6.so:${PORTSDIR}/x11-toolkits/fox16

OPTIONS_DEFINE= NLS

OPTIONS_SUB=    yes

USES=       desktop-file-utils gmake pathfix
USE_XORG=   xft
USE_GNOME=  intltool
GNU_CONFIGURE=  yes

NLS_USES=   gettext
NLS_CONFIGURE_ENABLE=   nls

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

post-patch:
.for i in XFileExplorer.cpp help.h xfedefs.h
    @${REINPLACE_CMD} -e \
        's|/usr/local/share/xfe|${DATADIR}|g' ${WRKSRC}/src/${i}
.endfor
    @${REINPLACE_CMD} -e \
        '/<utmp.h>/d' ${WRKSRC}/xvt/ttyinit.c

.include <bsd.port.mk>