aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/font-ume
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-06-04 16:09:20 +0800
committerpav <pav@FreeBSD.org>2010-06-04 16:09:20 +0800
commite7f0a8b3c17c3b5364b3d27dda111d6817712cfd (patch)
tree77155b7cf2dae561704dbe7239314bd09db1ec8f /japanese/font-ume
parent08466ea7f867fd5df5471a209dfd43d6c6266d3d (diff)
downloadfreebsd-ports-gnome-e7f0a8b3c17c3b5364b3d27dda111d6817712cfd.tar.gz
freebsd-ports-gnome-e7f0a8b3c17c3b5364b3d27dda111d6817712cfd.tar.zst
freebsd-ports-gnome-e7f0a8b3c17c3b5364b3d27dda111d6817712cfd.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
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>