diff options
author | oliver <oliver@FreeBSD.org> | 2008-03-08 07:36:00 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2008-03-08 07:36:00 +0800 |
commit | 4c3ff395f55279593fee5b277c83a9c2946c0cb7 (patch) | |
tree | c6b3279eec5c8acdbfe84900aee39465c7d3fcd8 /x11-fonts | |
parent | 484dd019f9cc7b37ec2d2965e22182534462825e (diff) | |
download | freebsd-ports-graphics-4c3ff395f55279593fee5b277c83a9c2946c0cb7.tar.gz freebsd-ports-graphics-4c3ff395f55279593fee5b277c83a9c2946c0cb7.tar.zst freebsd-ports-graphics-4c3ff395f55279593fee5b277c83a9c2946c0cb7.zip |
remove USE_XLIB
replace X_CLIENTS_PORT
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/tv-fonts/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/x11-fonts/tv-fonts/Makefile b/x11-fonts/tv-fonts/Makefile index 35cd6be6173..d3c084124da 100644 --- a/x11-fonts/tv-fonts/Makefile +++ b/x11-fonts/tv-fonts/Makefile @@ -14,9 +14,6 @@ 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:${X_CLIENTS_PORT} - -USE_XLIB= yes USE_GMAKE= yes USE_BZIP2= yes @@ -30,6 +27,18 @@ FONTS= caption.pcf.gz captioni.pcf.gz led-iso10646-1.pcf.gz \ teletext2.pcf.gz teletext2i.pcf.gz teletext4.pcf.gz \ teletext4i.pcf.gz +.include <bsd.port.pre.mk> + +.if ${X_WINDOW_SYSTEM:L} != xorg +BUILD_DEPENDS+= bdftopcf:${X_CLIENTS_PORT} +.else +BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \ + mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ + mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale +.endif + +RUN_DEPENDS= ${BUILD_DEPENDS} + do-install: @${MKDIR} ${FONTSDIR} .for font in ${FONTS} @@ -39,4 +48,5 @@ do-install: post-install: @-${X11BASE}/bin/fc-cache -f -v ${FONTSDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> + |