aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/XFree86-4-font100dpi/Makefile7
-rw-r--r--x11-fonts/XFree86-4-font75dpi/Makefile7
-rw-r--r--x11-fonts/XFree86-4-fontCyrillic/Makefile7
-rw-r--r--x11-fonts/XFree86-4-fontDefaultBitmaps/Makefile7
-rw-r--r--x11-fonts/XFree86-4-fontEncodings/Makefile7
-rw-r--r--x11-fonts/XFree86-4-fontScalable/Makefile7
-rw-r--r--x11-fonts/Xg/Makefile12
-rw-r--r--x11-fonts/bitmap-fonts/Makefile12
-rw-r--r--x11-fonts/code2000/Makefile6
-rw-r--r--x11-fonts/cyr-rfx/Makefile5
-rw-r--r--x11-fonts/etlfonts/Makefile12
-rw-r--r--x11-fonts/fontconfig/Makefile2
-rw-r--r--x11-fonts/geminifonts/Makefile2
-rw-r--r--x11-fonts/jmk-x11-fonts/Makefile10
-rw-r--r--x11-fonts/lfpfonts-fix/Makefile10
-rw-r--r--x11-fonts/lfpfonts-var/Makefile10
-rw-r--r--x11-fonts/libXft/Makefile4
-rw-r--r--x11-fonts/mozilla-fonts/Makefile6
-rw-r--r--x11-fonts/nucleus/Makefile10
-rw-r--r--x11-fonts/p5-type1inst/Makefile10
-rw-r--r--x11-fonts/sgifonts/Makefile2
-rw-r--r--x11-fonts/terminus-font/Makefile13
-rw-r--r--x11-fonts/tv-fonts/Makefile2
-rw-r--r--x11-fonts/webfonts/Makefile6
-rw-r--r--x11-fonts/xfs/Makefile6
-rw-r--r--x11-fonts/xorg-fonts-100dpi/Makefile6
-rw-r--r--x11-fonts/xorg-fonts-75dpi/Makefile6
-rw-r--r--x11-fonts/xorg-fonts-cyrillic/Makefile6
-rw-r--r--x11-fonts/xorg-fonts-encodings/Makefile6
-rw-r--r--x11-fonts/xorg-fonts-miscbitmaps/Makefile6
-rw-r--r--x11-fonts/xorg-fonts-truetype/Makefile6
-rw-r--r--x11-fonts/xorg-fonts-type1/Makefile6
32 files changed, 116 insertions, 108 deletions
diff --git a/x11-fonts/XFree86-4-font100dpi/Makefile b/x11-fonts/XFree86-4-font100dpi/Makefile
index 3877fb660bc..13edde71d93 100644
--- a/x11-fonts/XFree86-4-font100dpi/Makefile
+++ b/x11-fonts/XFree86-4-font100dpi/Makefile
@@ -21,7 +21,6 @@ RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fo
CONFLICTS= xorg-fonts-100dpi-*
-XFREE86_VERSION= 4
USE_IMAKE= YES
PROJECTROOT= -DProjectRoot=${PREFIX}
DIST_SUBDIR= xc
@@ -45,4 +44,8 @@ pre-build:
(cd ${WRKDIR}/xc/fonts/encodings && \
${MAKE} all)
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xfree86-4
+IGNORE= is part of XFree86-4
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/XFree86-4-font75dpi/Makefile b/x11-fonts/XFree86-4-font75dpi/Makefile
index 13249a193fb..0b4dc79cc5e 100644
--- a/x11-fonts/XFree86-4-font75dpi/Makefile
+++ b/x11-fonts/XFree86-4-font75dpi/Makefile
@@ -21,7 +21,6 @@ RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fo
CONFLICTS= xorg-fonts-75dpi-*
-XFREE86_VERSION= 4
USE_IMAKE= YES
PROJECTROOT= -DProjectRoot=${PREFIX}
DIST_SUBDIR= xc
@@ -45,4 +44,8 @@ pre-build:
(cd ${WRKDIR}/xc/fonts/encodings && \
${MAKE} all)
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xfree86-4
+IGNORE= is part of XFree86-4
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/XFree86-4-fontCyrillic/Makefile b/x11-fonts/XFree86-4-fontCyrillic/Makefile
index cbc13f62210..fae03aa572d 100644
--- a/x11-fonts/XFree86-4-fontCyrillic/Makefile
+++ b/x11-fonts/XFree86-4-fontCyrillic/Makefile
@@ -21,7 +21,6 @@ RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fo
CONFLICTS= xorg-fonts-cyrillic-*
-XFREE86_VERSION= 4
USE_IMAKE= YES
PROJECTROOT= -DProjectRoot=${PREFIX}
DIST_SUBDIR= xc
@@ -45,4 +44,8 @@ pre-build:
(cd ${WRKDIR}/xc/fonts/encodings && \
${MAKE} all)
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xfree86-4
+IGNORE= is part of XFree86-4
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/XFree86-4-fontDefaultBitmaps/Makefile b/x11-fonts/XFree86-4-fontDefaultBitmaps/Makefile
index 4ba471326ee..c92b14dc422 100644
--- a/x11-fonts/XFree86-4-fontDefaultBitmaps/Makefile
+++ b/x11-fonts/XFree86-4-fontDefaultBitmaps/Makefile
@@ -22,7 +22,6 @@ RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fo
CONFLICTS= xorg-fonts-miscbitmaps-*
-XFREE86_VERSION= 4
USE_IMAKE= YES
PROJECTROOT= -DProjectRoot=${PREFIX}
DIST_SUBDIR= xc
@@ -52,4 +51,8 @@ pre-build:
(cd ${WRKDIR}/xc/fonts/encodings && \
${MAKE} all)
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xfree86-4
+IGNORE= is part of XFree86-4
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/XFree86-4-fontEncodings/Makefile b/x11-fonts/XFree86-4-fontEncodings/Makefile
index 64f5e34d8a1..ddb5e2a1117 100644
--- a/x11-fonts/XFree86-4-fontEncodings/Makefile
+++ b/x11-fonts/XFree86-4-fontEncodings/Makefile
@@ -20,7 +20,6 @@ BUILD_DEPENDS= ucs2any:${PORTSDIR}/x11/XFree86-4-clients
CONFLICTS= xorg-fonts-encodings-*
-XFREE86_VERSION= 4
USE_IMAKE= YES
PROJECTROOT= -DProjectRoot=${PREFIX}
DIST_SUBDIR= xc
@@ -35,4 +34,8 @@ do-configure:
${MAKE} includes ; \
${MAKE} depend)
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xfree86-4
+IGNORE= is part of XFree86-4
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/XFree86-4-fontScalable/Makefile b/x11-fonts/XFree86-4-fontScalable/Makefile
index abd68cb5fd1..a4e66c0167a 100644
--- a/x11-fonts/XFree86-4-fontScalable/Makefile
+++ b/x11-fonts/XFree86-4-fontScalable/Makefile
@@ -21,7 +21,6 @@ RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fo
CONFLICTS= xorg-fonts-type1-* xorg-fonts-truetype-*
-XFREE86_VERSION= 4
USE_IMAKE= YES
PROJECTROOT= -DProjectRoot=${PREFIX}
DIST_SUBDIR= xc
@@ -90,4 +89,8 @@ pre-build:
(cd ${WRKDIR}/xc/fonts/encodings && \
${MAKE} all)
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xfree86-4
+IGNORE= is part of XFree86-4
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/Xg/Makefile b/x11-fonts/Xg/Makefile
index e6a5cc58b64..959e1eb0199 100644
--- a/x11-fonts/Xg/Makefile
+++ b/x11-fonts/Xg/Makefile
@@ -14,14 +14,10 @@ DISTNAME= libXg.utf.fonts
MAINTAINER= ports@FreeBSD.org
COMMENT= UNICODE fonts for use with 9term and sam
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
+RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
+
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
-.include <bsd.port.pre.mk>
-
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
-RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-fonts/bitmap-fonts/Makefile b/x11-fonts/bitmap-fonts/Makefile
index dd8bdc79f43..80c174d244b 100644
--- a/x11-fonts/bitmap-fonts/Makefile
+++ b/x11-fonts/bitmap-fonts/Makefile
@@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME}-${BITMAP_FONTS_VER}
MAINTAINER= shige@FreeBSD.org
COMMENT= Bitmap font, (6x12, 7x14, 8x16, 12x24) dots bitmap font
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
# distfile version
BITMAP_FONTS_VER= 1.0
@@ -29,14 +29,6 @@ USE_X_PREFIX= yes
PLIST_SUB= FONTSDIR=${FONTSDIR}
-.include <bsd.port.pre.mk>
-
-.if ${XFREE86_VERSION} == 3
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86
-.elif ${XFREE86_VERSION} == 4
-RUN_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
-.endif
-
do-build:
@(cd ${WRKSRC}; \
for i in ${BITMAP_FONTS_SIZE} ; do \
@@ -64,4 +56,4 @@ post-install:
@${SETENV} PKG_PREFIX=${X11BASE} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-fonts/code2000/Makefile b/x11-fonts/code2000/Makefile
index 50f47ada02a..63dcb107e9c 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
diff --git a/x11-fonts/cyr-rfx/Makefile b/x11-fonts/cyr-rfx/Makefile
index 98cf5a40014..5cd7bd44980 100644
--- a/x11-fonts/cyr-rfx/Makefile
+++ b/x11-fonts/cyr-rfx/Makefile
@@ -16,8 +16,9 @@ EXTRACT_SUFX= .bdfs.tgz
MAINTAINER= mi@aldan.algebra.com
COMMENT= Cyrillic X11 bitmap fonts from CYR-RFX project
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients \
- mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT} \
+ mkfontdir:${X_CLIENTS_PORT}
+
USE_X_PREFIX= yes
# See WWW for other available encodings
diff --git a/x11-fonts/etlfonts/Makefile b/x11-fonts/etlfonts/Makefile
index facbce5defe..20b6bd12476 100644
--- a/x11-fonts/etlfonts/Makefile
+++ b/x11-fonts/etlfonts/Makefile
@@ -15,22 +15,18 @@ EXTRACT_SUFX= .tar
MAINTAINER= mita@jp.FreeBSD.org
COMMENT= X11 supplemental fonts
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
+RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
+
EXTRACT_CMD= ${TAR}
EXTRACT_BEFORE_ARGS= -xf
EXTRACT_AFTER_ARGS= # empty
USE_X_PREFIX= yes
-.include <bsd.port.pre.mk>
-
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
-RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
-.endif
-
post-extract:
@${GUNZIP_CMD} ${WRKSRC}/*.gz
post-install:
@${SH} ${PKGREQ} ${PKGNAME} INSTALL
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index 2bdfdf848f5..ab3dc60eea7 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -157,7 +157,7 @@ MAN5= fonts-conf.5
.include <bsd.port.pre.mk>
-.if ${XFREE86_VERSION} == 3
+.if ${X_WINDOW_SYSTEM:L} == xfree86-3
MTREE_FILE= /etc/mtree/BSD.x11.dist
.else
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
diff --git a/x11-fonts/geminifonts/Makefile b/x11-fonts/geminifonts/Makefile
index 679b01867c1..6b00723ca67 100644
--- a/x11-fonts/geminifonts/Makefile
+++ b/x11-fonts/geminifonts/Makefile
@@ -17,7 +17,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= mi@aldan.algebra.com
COMMENT= Ukrainian KOI8 fonts for X11R6 (koi8-u)
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
diff --git a/x11-fonts/jmk-x11-fonts/Makefile b/x11-fonts/jmk-x11-fonts/Makefile
index 6b77350856e..75acd711dfa 100644
--- a/x11-fonts/jmk-x11-fonts/Makefile
+++ b/x11-fonts/jmk-x11-fonts/Makefile
@@ -13,13 +13,9 @@ MASTER_SITES= http://www.jmknoble.net/fonts/
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Jim Knoble's font package for X
-USE_IMAKE= yes
-
-.include <bsd.port.pre.mk>
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
-.endif
+USE_IMAKE= yes
do-install:
@${MKDIR} ${PREFIX}/lib/X11/fonts/jmk
@@ -29,4 +25,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-fonts/lfpfonts-fix/Makefile b/x11-fonts/lfpfonts-fix/Makefile
index 589165378c8..175241695a8 100644
--- a/x11-fonts/lfpfonts-fix/Makefile
+++ b/x11-fonts/lfpfonts-fix/Makefile
@@ -14,18 +14,14 @@ MASTER_SITE_SUBDIR= xfonts
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Fixed width fonts from the Linux Font Project
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
+
WRKSRC= ${WRKDIR}/lfpfonts-fix
NO_BUILD= yes
USE_BZIP2= yes
USE_X_PREFIX= yes
-.include <bsd.port.pre.mk>
-
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
-.endif
-
do-install:
@${MKDIR} ${PREFIX}/lib/X11/fonts/lfpfonts-fix
@${INSTALL_DATA} ${WRKSRC}/lfp-fix/*.pcf.gz ${PREFIX}/lib/X11/fonts/lfpfonts-fix
@@ -34,4 +30,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-fonts/lfpfonts-var/Makefile b/x11-fonts/lfpfonts-var/Makefile
index 17de98c803b..4942e6bf046 100644
--- a/x11-fonts/lfpfonts-var/Makefile
+++ b/x11-fonts/lfpfonts-var/Makefile
@@ -14,18 +14,14 @@ MASTER_SITE_SUBDIR= xfonts
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Variable width fonts from the Linux Font Project
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
+
WRKSRC= ${WRKDIR}/lfpfonts-var
NO_BUILD= yes
USE_BZIP2= yes
USE_X_PREFIX= yes
-.include <bsd.port.pre.mk>
-
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
-.endif
-
do-install:
@${MKDIR} ${PREFIX}/lib/X11/fonts/lfpfonts-var
@${INSTALL_DATA} ${WRKSRC}/lfp-var/*.pcf.gz ${PREFIX}/lib/X11/fonts/lfpfonts-var
@@ -34,4 +30,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-fonts/libXft/Makefile b/x11-fonts/libXft/Makefile
index fc6f7d7f079..1a26bff8d63 100644
--- a/x11-fonts/libXft/Makefile
+++ b/x11-fonts/libXft/Makefile
@@ -27,8 +27,8 @@ MAN3= Xft.3
.include <bsd.port.pre.mk>
-.if ${XFREE86_VERSION} == 3
-BROKEN= Xft requires XFree86 4.x to build.
+.if ${X_WINDOW_SYSTEM:L} == xfree86-3
+IGNORE= Xft requires Render extension headers/library to build.
.endif
.include <bsd.port.post.mk>
diff --git a/x11-fonts/mozilla-fonts/Makefile b/x11-fonts/mozilla-fonts/Makefile
index 445e282aa9d..b7ed0bdca21 100644
--- a/x11-fonts/mozilla-fonts/Makefile
+++ b/x11-fonts/mozilla-fonts/Makefile
@@ -15,14 +15,12 @@ MASTER_SITES= http://www.happygiraffe.net/dist/
MAINTAINER= dom@happygiraffe.net
COMMENT= Web fonts for Netscape/Mozilla
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
+
USE_X_PREFIX= true
.include <bsd.port.pre.mk>
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/mozilla-fonts
diff --git a/x11-fonts/nucleus/Makefile b/x11-fonts/nucleus/Makefile
index 526a42260c1..fede2c555dc 100644
--- a/x11-fonts/nucleus/Makefile
+++ b/x11-fonts/nucleus/Makefile
@@ -15,16 +15,12 @@ MASTER_SITE_SUBDIR= xfonts
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Another font package for X
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
+
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
-.include <bsd.port.pre.mk>
-
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
-.endif
-
post-install:
@${CAT} ${DESCR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-fonts/p5-type1inst/Makefile b/x11-fonts/p5-type1inst/Makefile
index 30c1f50b14c..01596f3ba96 100644
--- a/x11-fonts/p5-type1inst/Makefile
+++ b/x11-fonts/p5-type1inst/Makefile
@@ -16,6 +16,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= A script that helps install Postscript fonts in X Window System
+RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
+
USE_PERL5= yes
USE_XLIB= yes
NO_BUILD= yes
@@ -30,10 +32,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.type1inst
.endif
-.include <bsd.port.pre.mk>
-
-.if ${XFREE86_VERSION} == 4
-RUN_DEPENDS+= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-fonts/sgifonts/Makefile b/x11-fonts/sgifonts/Makefile
index e64a67ef7dc..c6805c4e36b 100644
--- a/x11-fonts/sgifonts/Makefile
+++ b/x11-fonts/sgifonts/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= trevor@FreeBSD.org
COMMENT= Fonts from the SGI ProPack 1.4 (originally for Linux)
EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
PLIST= ${WRKDIR}/pkg-plist
PLIST_DIRS= lib/X11/fonts/local/sgi
diff --git a/x11-fonts/terminus-font/Makefile b/x11-fonts/terminus-font/Makefile
index 22215077859..946eb71fca5 100644
--- a/x11-fonts/terminus-font/Makefile
+++ b/x11-fonts/terminus-font/Makefile
@@ -14,20 +14,15 @@ MASTER_SITES= http://www.is-vn.bg/hamster/
MAINTAINER= gugod@gugod.org
COMMENT= Terminus Font - a clean fixed width font
-BUILD_DEPENDS= mkitalic:${PORTSDIR}/x11-fonts/mkitalic
+BUILD_DEPENDS= mkitalic:${PORTSDIR}/x11-fonts/mkitalic \
+ bdftopcf:${X_CLIENTS_PORT}
+RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
USE_X_PREFIX= yes
ALL_TARGET= pcf
SHAREMODE= 644
XFONTDIR= ${PREFIX}/lib/X11/fonts/local
-.include <bsd.port.pre.mk>
-
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
-RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
-.endif
-
post-build:
@gzip ${WRKSRC}/*.pcf
@@ -36,4 +31,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${XFONTDIR}
@cd ${XFONTDIR}; mkfontdir
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-fonts/tv-fonts/Makefile b/x11-fonts/tv-fonts/Makefile
index d673aee6d6d..c7ac1e4967b 100644
--- a/x11-fonts/tv-fonts/Makefile
+++ b/x11-fonts/tv-fonts/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://dl.bytesex.org/releases/${PORTNAME}/
MAINTAINER= oliver@FreeBSD.org
COMMENT= A number of fonts which are useful for TV applications
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
USE_X_PREFIX= yes
USE_GMAKE= yes
diff --git a/x11-fonts/webfonts/Makefile b/x11-fonts/webfonts/Makefile
index e96315a32eb..7f281049369 100644
--- a/x11-fonts/webfonts/Makefile
+++ b/x11-fonts/webfonts/Makefile
@@ -34,7 +34,7 @@ USE_X_PREFIX= 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
@@ -54,7 +54,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 "
@@ -179,7 +179,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
diff --git a/x11-fonts/xfs/Makefile b/x11-fonts/xfs/Makefile
index 3ab1c8bd9a1..35e0b789d89 100644
--- a/x11-fonts/xfs/Makefile
+++ b/x11-fonts/xfs/Makefile
@@ -32,4 +32,8 @@ post-install:
${PREFIX}/lib/X11/fs/config.default
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xorg
+IGNORE= is part of X.Org
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/xorg-fonts-100dpi/Makefile b/x11-fonts/xorg-fonts-100dpi/Makefile
index ed626d53ed4..e706acdff82 100644
--- a/x11-fonts/xorg-fonts-100dpi/Makefile
+++ b/x11-fonts/xorg-fonts-100dpi/Makefile
@@ -25,4 +25,8 @@ XBUILD_DIRS= fonts/encodings fonts/bdf/100dpi
XINSTALL_DIRS= fonts/bdf/100dpi
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xorg
+IGNORE= is part of X.Org
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/xorg-fonts-75dpi/Makefile b/x11-fonts/xorg-fonts-75dpi/Makefile
index a581295f744..b6bdaa3ae98 100644
--- a/x11-fonts/xorg-fonts-75dpi/Makefile
+++ b/x11-fonts/xorg-fonts-75dpi/Makefile
@@ -25,4 +25,8 @@ XBUILD_DIRS= fonts/encodings fonts/bdf/75dpi
XINSTALL_DIRS= fonts/bdf/75dpi
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xorg
+IGNORE= is part of X.Org
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/xorg-fonts-cyrillic/Makefile b/x11-fonts/xorg-fonts-cyrillic/Makefile
index 9c177c3079d..3f91285b8db 100644
--- a/x11-fonts/xorg-fonts-cyrillic/Makefile
+++ b/x11-fonts/xorg-fonts-cyrillic/Makefile
@@ -25,4 +25,8 @@ XBUILD_DIRS= fonts/encodings fonts/bdf/cyrillic
XINSTALL_DIRS= fonts/bdf/cyrillic
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xorg
+IGNORE= is part of X.Org
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/xorg-fonts-encodings/Makefile b/x11-fonts/xorg-fonts-encodings/Makefile
index 533bb56ce02..d9450f503ed 100644
--- a/x11-fonts/xorg-fonts-encodings/Makefile
+++ b/x11-fonts/xorg-fonts-encodings/Makefile
@@ -23,4 +23,8 @@ EXTRA_PATCHES= ${CF_PATCHES}
XBUILD_DIRS= fonts/encodings
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xorg
+IGNORE= is part of X.Org
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/xorg-fonts-miscbitmaps/Makefile b/x11-fonts/xorg-fonts-miscbitmaps/Makefile
index 28a9de3fd7c..8a5190185bd 100644
--- a/x11-fonts/xorg-fonts-miscbitmaps/Makefile
+++ b/x11-fonts/xorg-fonts-miscbitmaps/Makefile
@@ -25,4 +25,8 @@ XBUILD_DIRS= fonts/encodings fonts/bdf/misc
XINSTALL_DIRS= fonts/bdf/misc
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xorg
+IGNORE= is part of X.Org
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/xorg-fonts-truetype/Makefile b/x11-fonts/xorg-fonts-truetype/Makefile
index fe59c9cd832..2610e044bb8 100644
--- a/x11-fonts/xorg-fonts-truetype/Makefile
+++ b/x11-fonts/xorg-fonts-truetype/Makefile
@@ -28,4 +28,8 @@ XBUILD_DIRS= fonts/encodings fonts/scaled/TTF
XINSTALL_DIRS= fonts/scaled/TTF
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xorg
+IGNORE= is part of X.Org
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/xorg-fonts-type1/Makefile b/x11-fonts/xorg-fonts-type1/Makefile
index 4a757ff9758..b2e186e77f5 100644
--- a/x11-fonts/xorg-fonts-type1/Makefile
+++ b/x11-fonts/xorg-fonts-type1/Makefile
@@ -27,4 +27,8 @@ XBUILD_DIRS= fonts/encodings fonts/scaled/Type1
XINSTALL_DIRS= fonts/scaled/Type1
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} != xorg
+IGNORE= is part of X.Org
+.endif
+.include <bsd.port.post.mk>