2012-11-27 12:12:36 +01:00
|
|
|
# Created by: ptiJo
|
2003-08-08 15:17:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xfe
|
2013-11-26 16:40:34 +01:00
|
|
|
PORTVERSION= 1.37
|
2003-08-08 15:17:47 +02:00
|
|
|
CATEGORIES= x11-fm
|
2008-01-20 22:56:42 +01:00
|
|
|
MASTER_SITES= SF
|
2003-08-08 15:17:47 +02:00
|
|
|
|
2010-08-24 11:12:56 +02:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2013-11-26 16:40:34 +01:00
|
|
|
COMMENT= Fast MS-Explorer like file manager for X
|
2003-08-08 15:17:47 +02:00
|
|
|
|
2013-11-26 16:40:34 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
LIB_DEPENDS= libFOX-1.6.so:${PORTSDIR}/x11-toolkits/fox16
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= NLS
|
2003-08-08 15:17:47 +02:00
|
|
|
|
2008-06-06 00:30:57 +02:00
|
|
|
USE_XORG= xft
|
2013-11-26 16:40:34 +01:00
|
|
|
USE_GNOME= intltool
|
|
|
|
USES= gettext gmake pathfix
|
2008-01-20 22:56:42 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-11-26 16:40:34 +01:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2013-02-11 10:44:47 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -pthread
|
2008-01-20 22:56:42 +01:00
|
|
|
|
2003-08-08 15:17:47 +02:00
|
|
|
post-patch:
|
2010-08-24 11:12:56 +02:00
|
|
|
@${REINPLACE_CMD} 's|/usr/local/share/xfe|${DATADIR}|g' \
|
|
|
|
${WRKSRC}/src/XFileExplorer.cpp \
|
|
|
|
${WRKSRC}/src/help.h \
|
2008-07-20 01:25:11 +02:00
|
|
|
${WRKSRC}/src/xfedefs.h
|
2013-12-24 22:22:21 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|freetype/||g' ${WRKSRC}/configure
|
2003-08-08 15:17:47 +02:00
|
|
|
|
2013-11-26 16:40:34 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
.endif
|
|
|
|
|
2003-08-08 15:17:47 +02:00
|
|
|
.include <bsd.port.mk>
|