Index: misc/thefuck/Makefile =================================================================== --- /dev/null +++ misc/thefuck/Makefile @@ -0,0 +1,25 @@ +# Created by: Guangyuan Yang +# $FreeBSD$ + +PORTNAME= thefuck +DISTVERSION= 3.25 +CATEGORIES= misc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ygy@FreeBSD.org +COMMENT= Magnificent app which corrects your previous console command + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyte>0:devel/py-pyte@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${FLAVOR} + +USES= python:3.3+ +USE_PYTHON= autoplist distutils + +.include Index: misc/thefuck/distinfo =================================================================== --- /dev/null +++ misc/thefuck/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1512711410 +SHA256 (thefuck-3.25.tar.gz) = 70cbe6295d2d2d371a395619216d38eb1666e4b3c3b1a24f67d11b88e65fea78 +SIZE (thefuck-3.25.tar.gz) = 63444 Index: misc/thefuck/pkg-descr =================================================================== --- /dev/null +++ misc/thefuck/pkg-descr @@ -0,0 +1,14 @@ +Thefuck is a magnificent app which corrects your previous console command. +It tries to match a rule for the previous command, creates a new command +using the matched rule and runs it. Thefuck comes with a lot of predefined +rules, but you can create your own rules as well. + +You should place this command in your shell config file: + +eval $(thefuck --alias) + +You can use whatever you want as an alias, like for Mondays: + +eval $(thefuck --alias FUCK) + +WWW: https://pypi.python.org/pypi/thefuck