aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-ume
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-06-04 08:09:20 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-06-04 08:09:20 +0000
commitfe337e0489fb342b58496062c54ae6212a329967 (patch)
treed3094812eca54bac307e299d09b2fbf2f18d0c91 /japanese/font-ume
parent4646ec77a5734753007ea85ae36528778fe0d44c (diff)
downloadports-fe337e0489fb342b58496062c54ae6212a329967.tar.gz
ports-fe337e0489fb342b58496062c54ae6212a329967.zip
- Introduce a new USE_XZ knob that handles lzma/xz compressed distfiles
- Convert a bunch of ports to use it PR: ports/146329 Submitted by: mm With hat: portmgr
Notes
Notes: svn path=/head/; revision=255708
Diffstat (limited to 'japanese/font-ume')
-rw-r--r--japanese/font-ume/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/japanese/font-ume/Makefile b/japanese/font-ume/Makefile
index a69d8284597c..7381f3835f72 100644
--- a/japanese/font-ume/Makefile
+++ b/japanese/font-ume/Makefile
@@ -18,6 +18,7 @@ COMMENT= Ume Japanese TrueType fonts
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+USE_XZ= yes
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-install
@@ -55,13 +56,4 @@ 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.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>
+.include <bsd.port.mk>