aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/code2000/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/code2000/Makefile')
-rw-r--r--x11-fonts/code2000/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-fonts/code2000/Makefile b/x11-fonts/code2000/Makefile
index 50f47ada02a3..63dcb107e9cb 100644
--- a/x11-fonts/code2000/Makefile
+++ b/x11-fonts/code2000/Makefile
@@ -24,7 +24,7 @@ USE_ZIP= yes
.include <bsd.port.pre.mk>
-.if ${XFREE86_VERSION} == 3
+.if ${X_WINDOW_SYSTEM:L} == xfree86-3
RUN_DEPENDS= xfstt:${PORTSDIR}/x11-servers/Xfstt
.endif
@@ -37,7 +37,7 @@ PLIST_SUB= PKG_OLDXF86=${PKG_OLDXF86} \
MSG_FILE= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
-.if ${XFREE86_VERSION} == 3
+.if ${X_WINDOW_SYSTEM:L} == xfree86-3
OLDXF86= ""
.else
OLDXF86= "@comment "
@@ -106,7 +106,7 @@ install-fonts:
post-install: truetype-link display-message
truetype-link:
-.if ${XFREE86_VERSION} == 3
+.if ${X_WINDOW_SYSTEM:L} == xfree86-3
${LN} -fs ${FONTSDIR} ${TTFONTSDIR}/${FONTNAME}
.endif