1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add BUILD_DEPENDS to appropriate version of X depending on the value

of XFREE86_VERSION.
This commit is contained in:
Satoshi Asami 2000-09-21 01:48:03 +00:00
parent dd5cb4102f
commit 30e19bcf51
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32916

View File

@ -15,8 +15,14 @@ DISTFILES= ${GS_FONTS_STD} ${GS_FONTS_OTHER}
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst \
${X11BASE}/bin/mkfontdir:${PORTSDIR}/x11/XFree86
BUILD_DEPENDS= ${LOCALBASE}/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
.include <bsd.port.pre.mk>
.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS+= ${X11BASE}/bin/mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.else
BUILD_DEPENDS+= ${X11BASE}/bin/mkfontdir:${PORTSDIR}/x11/XFree86
.endif
NO_BUILD= yes
@ -30,4 +36,4 @@ do-install:
${TAR} -xzf ${DISTDIR}/${GS_FONTS_STD} -C ${GSDIR}/fonts
(cd ${GSDIR}/fonts; ${LOCALBASE}/bin/type1inst -nogs -nolog -q)
.include <bsd.port.mk>
.include <bsd.port.post.mk>