openbsd-ports/x11/xfe/Makefile

39 lines
810 B
Makefile

# $OpenBSD: Makefile,v 1.47 2017/07/26 22:45:35 sthen Exp $
COMMENT= MS-Explorer like file manager for X
DISTNAME= xfe-1.42
REVISION= 1
CATEGORIES= x11
HOMEPAGE= http://roland65.free.fr/xfe/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += FOX-1.6 X11 Xft Xrandr c fontconfig freetype m png pthread
WANTLIB += ${COMPILER_LIBCXX} util z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xfe/}
MODULES= textproc/intltool
LIB_DEPENDS= devel/fox
RUN_DEPENDS= devel/desktop-file-utils
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/fox-1.6 \
-I${X11BASE}/include \
-I${X11BASE}/include/freetype2" \
LDFLAGS="-L${LOCALBASE}/lib \
-L${X11BASE}/lib -lXft -pthread"
pre-configure:
sed -i "s,-O2,,g" ${WRKSRC}/configure
.include <bsd.port.mk>