summaryrefslogtreecommitdiff
path: root/x11-fm/xfe/Makefile
blob: 0113aa7d269bb43251ba6e69abb04316dd405533 (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
# New ports collection makefile for:	xfe
# Date created:				Sun, Jul 13 2003
# Whom:					ptiJo
#
# $FreeBSD$
#

PORTNAME=	xfe
PORTVERSION=	0.54.2
PORTREVISION=	0
CATEGORIES=	x11-fm
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ptiJo@noos.fr
COMMENT=	Fast MS-Explorer like filemanager for X

LIB_DEPENDS=	FOX:${PORTSDIR}/x11-toolkits/fox \
		intl.5:${PORTSDIR}/devel/gettext \
		png.5:${PORTSDIR}/graphics/png

GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
		CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--x-includes=${X11BASE}/include \
		--x-libraries=${X11BASE}/lib \
		--with-x
USE_GMAKE=	yes
USE_REINPLACE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|-I/usr/include/fox|-I${LOCALBASE}/include/|g' \
		${WRKSRC}/src/Makefile.in ${WRKSRC}/xfq/Makefile.in \
		${WRKSRC}/xfv/Makefile.in
	@${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure

MAN1=		xfe.1 xfq.1 xfv.1

.include <bsd.port.mk>