summaryrefslogtreecommitdiff
path: root/x11-fonts/p5-type1inst
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-04-19 20:25:14 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-04-19 20:25:14 +0000
commit100813e4ce53b1bf02837153b0cffbde48e079b4 (patch)
tree19a0a6f40456774ce7c59639877ef6a2a0d48259 /x11-fonts/p5-type1inst
parentUpdate to 0.17.0. (diff)
- Unbreak Build for STABLE or XFREE86_VERSION=3
$ make XFREE86_VERSION=3 all-depends-list /usr/ports/x11/XFree86 $ make XFREE86_VERSION=4 all-depends-list /usr/ports/converters/libiconv /usr/ports/devel/bison /usr/ports/devel/gettext /usr/ports/devel/gmake /usr/ports/devel/imake-4 /usr/ports/print/freetype2 /usr/ports/x11/XFree86-4-clients /usr/ports/x11/XFree86-4-libraries
Notes
Notes: svn path=/head/; revision=57893
Diffstat (limited to 'x11-fonts/p5-type1inst')
-rw-r--r--x11-fonts/p5-type1inst/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11-fonts/p5-type1inst/Makefile b/x11-fonts/p5-type1inst/Makefile
index 7623ce195406..944a986b3da5 100644
--- a/x11-fonts/p5-type1inst/Makefile
+++ b/x11-fonts/p5-type1inst/Makefile
@@ -14,8 +14,6 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
-RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
-
USE_PERL5= yes
USE_XLIB= yes
NO_BUILD= yes
@@ -30,4 +28,10 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.type1inst
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS+= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
+.include <bsd.port.post.mk>