aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/xfe/Makefile
blob: 0f79efa2a581bd04f953efafc5d9152cd7bc49c3 (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=    1.19.2
CATEGORIES= x11-fm
MASTER_SITES=   SF

MAINTAINER= carpetsmoker@rwxrwxrwx.net
COMMENT=    Fast MS-Explorer like filemanager for X

LIB_DEPENDS=    FOX-1.6:${PORTSDIR}/x11-toolkits/fox16 \
        png.5:${PORTSDIR}/graphics/png

USE_XORG=   xft
USE_GNOME=  gnomehack gnometarget
USE_GETTEXT=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

MAN1=       xfe.1 xfi.1 xfp.1 xfv.1 xfw.1

post-patch:
    @${REINPLACE_CMD} -e 's|^CXXFLAGS=""|#CXXFLAGS=""|g ; \
         s|-O2 ||g ; \
         /if test/s|==|=|g' \
        ${WRKSRC}/configure
    @${REINPLACE_CMD} 's|/usr/share/xfe|${DATADIR}|' \
        ${WRKSRC}/src/XFileExplorer.cpp ${WRKSRC}/src/help.h
    @${REINPLACE_CMD} 's|/usr/local/share/xfe|${DATADIR}|' \
        ${WRKSRC}/src/xfedefs.h

.include <bsd.port.mk>