aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2010-05-21 16:23:46 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2010-05-21 16:23:46 +0000
commit26e034399038717c81103e25c84629878e25a5b7 (patch)
tree17dd6dc1a05ca3011940a6e0f7d8ced0de8561bd /japanese
parent832fb3aa956c05d3a28db280c9b40364e33a2de8 (diff)
downloadports-26e034399038717c81103e25c84629878e25a5b7.tar.gz
ports-26e034399038717c81103e25c84629878e25a5b7.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/font-ume/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/japanese/font-ume/Makefile b/japanese/font-ume/Makefile
index b0de05ae9467..a69d8284597c 100644
--- a/japanese/font-ume/Makefile
+++ b/japanese/font-ume/Makefile
@@ -16,11 +16,9 @@ EXTRACT_SUFX= .tar.xz
MAINTAINER= hrs@FreeBSD.org
COMMENT= Ume Japanese TrueType fonts
-EXTRACT_DEPENDS= xz:${PORTSDIR}/archivers/xz
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
NO_BUILD= yes
-EXTRACT_CMD= ${LOCALBASE}/bin/xz
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-install
SUB_FILES= pkg-install
@@ -57,4 +55,13 @@ post-install:
${LOCALBASE}/bin/fc-cache -s -f -v ${LOCALBASE}/${X_FONTSDIR}/TTF
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
+EXTRACT_DEPENDS+= xz:${PORTSDIR}/archivers/xz
+EXTRACT_CMD= ${LOCALBASE}/bin/xz
+.else
+EXTRACT_CMD= /usr/bin/xz
+.endif
+
+.include <bsd.port.post.mk>