aboutsummaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-07-19 23:25:11 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-07-19 23:25:11 +0000
commitfde03ce2013fe214e3582d9e41f885de40a7344f (patch)
tree3efffbbdf5e3506993e314cac0baa1d57262dbdb /x11-fm
parent4a1d7617ac0792e1ef2a5376ad1b6bd36ff6c8d0 (diff)
downloadports-fde03ce2013fe214e3582d9e41f885de40a7344f.tar.gz
ports-fde03ce2013fe214e3582d9e41f885de40a7344f.zip
Notes
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/xfe/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/x11-fm/xfe/Makefile b/x11-fm/xfe/Makefile
index 4d4290fe438f..acafd315938c 100644
--- a/x11-fm/xfe/Makefile
+++ b/x11-fm/xfe/Makefile
@@ -3,14 +3,16 @@
# Whom: ptiJo
#
# $FreeBSD$
+# $Carpetsmoker: ports/x11-fm/xfe/Makefile,v 1.1 2008/07/19 22:54:09 carpetsmoker Exp $
#
PORTNAME= xfe
PORTVERSION= 1.19.1
+PORTREVISION= 1
CATEGORIES= x11-fm
MASTER_SITES= SF
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= carpetsmoker@rwxrwxrwx.net
COMMENT= Fast MS-Explorer like filemanager for X
LIB_DEPENDS= FOX-1.6:${PORTSDIR}/x11-toolkits/fox16 \
@@ -21,16 +23,20 @@ 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
-CPPFLAGS= -I${LOCALBASE}/include
-LDFLAGS= -L${LOCALBASE}/lib
-
post-patch:
@${REINPLACE_CMD} -e 's|^CXXFLAGS=""|#CXXFLAGS=""|g ; \
s|-O2 ||g ; \
- /if test/s|==|=|g' ${WRKSRC}/configure
+ /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>