diff options
author | naddy <naddy@FreeBSD.org> | 2010-05-22 00:23:46 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2010-05-22 00:23:46 +0800 |
commit | 49639d17a2fdbc05df5cd315a85b532aa16d2589 (patch) | |
tree | 1c14ace8b2285b597feb56698cf475e81b2591b1 /japanese | |
parent | 22a2c1c2a6ad16ea36eb8e89262f2e501955bf56 (diff) | |
download | freebsd-ports-graphics-49639d17a2fdbc05df5cd315a85b532aa16d2589.tar.gz freebsd-ports-graphics-49639d17a2fdbc05df5cd315a85b532aa16d2589.tar.zst freebsd-ports-graphics-49639d17a2fdbc05df5cd315a85b532aa16d2589.zip |
The xz utils and lzma library have been imported into base, so make
the dependency on the archivers/xz port conditional on OSVERSION.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/font-ume/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/japanese/font-ume/Makefile b/japanese/font-ume/Makefile index b0de05ae946..a69d8284597 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> |