diff -ruN textproc/codespell/Makefile textproc/codespell-1.4/Makefile --- textproc/codespell/Makefile 2011-12-10 20:58:37.000000000 -0500 +++ textproc/codespell-1.4/Makefile 2012-03-02 09:35:48.582404209 -0500 @@ -6,10 +6,11 @@ # PORTNAME= codespell -PORTVERSION= 1.3 +PORTVERSION= 1.4 CATEGORIES= textproc MASTER_SITES= http://packages.profusion.mobi/${PORTNAME}/ \ http://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/ +EXTRACT_SUFX= .tar.xz MAINTAINER= gjb@FreeBSD.org COMMENT= Source code spelling checker @@ -17,6 +18,7 @@ LICENSE= GPLv2 USE_PYTHON= 3.1+ +USE_XZ= yes PLIST_FILES= bin/codespell PORTDOCS= COPYING README TODO @@ -26,6 +28,10 @@ .include +.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) +EXTRACT_DEPENDS+= ${LOCALBASE}/bin/xz:${PORTSDIR}/archivers/xz +.endif + do-build: ${REINPLACE_CMD} 's|#!/usr/bin/env python3|#!${LOCALBASE}/bin/${PYTHON_VERSION}|' \ ${WRKSRC}/codespell.py diff -ruN textproc/codespell/distinfo textproc/codespell-1.4/distinfo --- textproc/codespell/distinfo 2011-12-10 20:58:37.000000000 -0500 +++ textproc/codespell-1.4/distinfo 2012-03-01 20:32:25.228269990 -0500 @@ -1,2 +1,2 @@ -SHA256 (codespell-1.3.tar.gz) = 8224f8b76197bab9d4115a20003e3512f82522895bb10b6f3a718c1f35f0ecdd -SIZE (codespell-1.3.tar.gz) = 43363 +SHA256 (codespell-1.4.tar.xz) = b86f72ce7e20851473fe37e6e425e95a29cc1d7cd10b8d837d8013b2d280d158 +SIZE (codespell-1.4.tar.xz) = 38532