aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/terminus-font
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/terminus-font')
-rw-r--r--x11-fonts/terminus-font/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/x11-fonts/terminus-font/Makefile b/x11-fonts/terminus-font/Makefile
index 22215077859f..946eb71fca55 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>