1 # $NetBSD: Makefile,v 1.1 2008/10/03 03:52:15 cube Exp $
5 .PATH
: ${X11SRCDIR.Xft
} ${X11SRCDIR.Xft
}/man
10 xft-config
: xft-config.in
13 -e
's,@prefix@,${X11ROOTDIR},; \
14 s,@exec_prefix@,$${prefix},; \
15 s,@libdir@,$${prefix}/lib,; \
16 s,@includedir@,$${prefix}/include,; \
17 s,@VERSION@,2.1.12,; \
18 s,@FREETYPE_LIBS@,-lfreetype -lz,; \
19 s,@FREETYPE_CFLAGS@,-I$${includedir}/freetype2, ; \
20 s,@FONTCONFIG_LIBS@,-lfontconfig,; \
21 s,@FONTCONFIG_CFLAGS@,,; \
22 s,@XRENDER_LIBS@,-lXrender,; \
23 s,@XRENDER_CFLAGS@,,; \
24 s%-L\([^ ]*\)%-Wl,-R\1 &%g' \
25 < ${.ALLSRC
} > ${.TARGET
}.tmp
&& \
26 mv
-f
${.TARGET
}.tmp
${.TARGET
}
28 xft-config.in
: Makefile
30 CLEANFILES
+= xft-config xft-config.tmp
33 .
include <bsd.prog.mk
>