aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2007-07-02 17:42:22 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2007-07-02 17:42:22 +0000
commit0138b922be0ff3e7d4ba3976d016bc7ece6801a2 (patch)
tree676dd4ecf8f6f2de2f317c1ddd92ca9c8ccb73eb /x11-fonts
parent7368641642290acc84bd8cdf40e82f367e9c4139 (diff)
downloadports-0138b922be0ff3e7d4ba3976d016bc7ece6801a2.tar.gz
ports-0138b922be0ff3e7d4ba3976d016bc7ece6801a2.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/xfs/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11-fonts/xfs/Makefile b/x11-fonts/xfs/Makefile
index abd7e863acee..d5ccfed14f1d 100644
--- a/x11-fonts/xfs/Makefile
+++ b/x11-fonts/xfs/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xfs
PORTVERSION= 1.0.4
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= x11-fonts
@@ -21,6 +21,14 @@ ALL_TARGET= all config
MAN1= xfs.1
+.if !defined(WITHOUT_XFS_CACHE)
+USE_XORG+= fontcacheproto x11
+CFLAGS+= -DFONTCACHE
+.else
+post-patch:
+ ${REINPLACE_CMD} -e 's|^cache|XCOMM &|' ${WRKSRC}/config.cpp
+.endif
+
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/config ${PREFIX}/lib/X11/fs/config.default
@if [ ! -f ${PREFIX}/lib/X11/fs/config ]; then \