diff options
author | pfg <pfg@FreeBSD.org> | 2016-12-02 10:49:23 +0800 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-12-02 10:49:23 +0800 |
commit | 7fa23f47008019acc5f38a1d9aef69048ac30329 (patch) | |
tree | c57e1f358e73fedbff09c778499401d6da2b51ac /textproc | |
parent | 610565df1656677225ae92bd89f3ea2bf34dd246 (diff) | |
download | freebsd-ports-graphics-7fa23f47008019acc5f38a1d9aef69048ac30329.tar.gz freebsd-ports-graphics-7fa23f47008019acc5f38a1d9aef69048ac30329.tar.zst freebsd-ports-graphics-7fa23f47008019acc5f38a1d9aef69048ac30329.zip |
textproc/codespell: Update to version 1.8.
- Move to github.
- Update to version 1.8 with fixes and updated dictionary
- Use the included dictionary by default.
Approved by: gjb
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/codespell/Makefile | 13 | ||||
-rw-r--r-- | textproc/codespell/distinfo | 5 | ||||
-rw-r--r-- | textproc/codespell/pkg-descr | 6 |
3 files changed, 16 insertions, 8 deletions
diff --git a/textproc/codespell/Makefile b/textproc/codespell/Makefile index 2ebc1eccf04..65e85271b3d 100644 --- a/textproc/codespell/Makefile +++ b/textproc/codespell/Makefile @@ -1,11 +1,8 @@ # $FreeBSD$ PORTNAME= codespell -PORTVERSION= 1.6 -PORTREVISION= 2 +PORTVERSION= 1.8 CATEGORIES= textproc -MASTER_SITES= http://packages.profusion.mobi/${PORTNAME}/ \ - https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/ MAINTAINER= gjb@FreeBSD.org COMMENT= Source code spelling checker @@ -14,10 +11,14 @@ LICENSE= GPLv2 USES= python:3 tar:xz +USE_GITHUB= yes +GH_ACCOUNT= lucasdemarchi +GH_TAGNAME= 4cb7fe3 + OPTIONS_DEFINE= DOCS EXAMPLES PLIST_FILES= bin/codespell -PORTDOCS= COPYING README TODO +PORTDOCS= COPYING NEWS TODO PORTEXAMPLES= * SUB_FILES+= pkg-message @@ -25,6 +26,8 @@ SUB_FILES+= pkg-message do-build: ${REINPLACE_CMD} 's|#!/usr/bin/env python3|#!${PYTHON_CMD}|' \ ${WRKSRC}/codespell.py + ${REINPLACE_CMD} "s|^default_dictionary = .*|default_dictionary = '${EXAMPLESDIR}/data/dictionary.txt'|" \ + ${WRKSRC}/codespell.py do-install: ${INSTALL_SCRIPT} ${WRKSRC}/codespell.py ${STAGEDIR}${PREFIX}/bin/codespell diff --git a/textproc/codespell/distinfo b/textproc/codespell/distinfo index 81d514d7ba2..2d4cc31552e 100644 --- a/textproc/codespell/distinfo +++ b/textproc/codespell/distinfo @@ -1,2 +1,3 @@ -SHA256 (codespell-1.6.tar.xz) = 3e98afd24067934917420eee04f663b192324ca636c8e32d8427d2c9f4dc36d2 -SIZE (codespell-1.6.tar.xz) = 38656 +TIMESTAMP = 1480647008 +SHA256 (lucasdemarchi-codespell-1.8-4cb7fe3_GH0.tar.gz) = 4c09be1a8f1a0dcf69370be894aef960d548d8abe10467f6d3f172394f9b8d18 +SIZE (lucasdemarchi-codespell-1.8-4cb7fe3_GH0.tar.gz) = 46285 diff --git a/textproc/codespell/pkg-descr b/textproc/codespell/pkg-descr index 9472a444f66..e5d240e6a2c 100644 --- a/textproc/codespell/pkg-descr +++ b/textproc/codespell/pkg-descr @@ -1,3 +1,7 @@ Source code spell checker. -WWW: http://git.profusion.mobi/cgit.cgi/lucas/codespell/ +Fix common misspellings in text files. It's designed primarily for +checking misspelled words in source code, but it can be used with other +files as well. + +WWW: https://github.com/lucasdemarchi/codespell/ |