blob: 68312fa3d3dba244039110e7dd63ee94c08cff29 (
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
|
# Created by: ptiJo
# $FreeBSD$
PORTNAME= xfe
PORTVERSION= 1.37
CATEGORIES= x11-fm
MASTER_SITES= SF
MAINTAINER= gahr@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
USE_XORG= xft
USE_GNOME= intltool
USES= gettext gmake pathfix
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -pthread
post-patch:
@${REINPLACE_CMD} 's|/usr/local/share/xfe|${DATADIR}|g' \
${WRKSRC}/src/XFileExplorer.cpp \
${WRKSRC}/src/help.h \
${WRKSRC}/src/xfedefs.h
@${REINPLACE_CMD} -e 's|freetype/||g' ${WRKSRC}/configure
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
CONFIGURE_ARGS+=--disable-nls
.endif
.include <bsd.port.mk>
|