mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
b1bf1620a6
Remove patch to add -I/usr/local/include in freetype-config --cflags. If ports need extra headers they should look for them, and not get them via a side-effect. Freetype had a header resuffle in 2.5.1, patch ports to use the new header style. Thanks go to bdrewery for the two exp-runs and rakuco for helping me with some troublesome cmake ports. PR: ports/184587
42 lines
820 B
Makefile
42 lines
820 B
Makefile
# Created by: ptiJo
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xfe
|
|
PORTVERSION= 1.37
|
|
CATEGORIES= x11-fm
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Fast MS-Explorer like file manager for X
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libFOX-1.6.so:${PORTSDIR}/x11-toolkits/fox16
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
USE_XORG= xft
|
|
USE_GNOME= intltool
|
|
USES= gettext gmake pathfix
|
|
GNU_CONFIGURE= yes
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -pthread
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's|/usr/local/share/xfe|${DATADIR}|g' \
|
|
${WRKSRC}/src/XFileExplorer.cpp \
|
|
${WRKSRC}/src/help.h \
|
|
${WRKSRC}/src/xfedefs.h
|
|
@${REINPLACE_CMD} -e 's|freetype/||g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
PLIST_SUB+= NLS="@comment "
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|