diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-10-04 21:54:39 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-10-04 21:54:39 +0000 |
commit | 91ac7b8d7b1a6aa39db361f6911dee617812be68 (patch) | |
tree | cc7de66f1aa216a708afc4a155fefe192da72f4f /irc | |
parent | bb5acee572e5d0782ebc138cc716ac466ca47365 (diff) | |
download | ports-91ac7b8d7b1a6aa39db361f6911dee617812be68.tar.gz ports-91ac7b8d7b1a6aa39db361f6911dee617812be68.zip |
Notes
Diffstat (limited to 'irc')
-rw-r--r-- | irc/Makefile | 1 | ||||
-rw-r--r-- | irc/py-fishcrypt/Makefile | 56 | ||||
-rw-r--r-- | irc/py-fishcrypt/distinfo | 2 | ||||
-rw-r--r-- | irc/py-fishcrypt/files/pkg-message.in | 20 | ||||
-rw-r--r-- | irc/py-fishcrypt/pkg-descr | 3 |
5 files changed, 82 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile index 1cb64907b9bd..918bca492388 100644 --- a/irc/Makefile +++ b/irc/Makefile @@ -98,6 +98,7 @@ SUBDIR += psybnc SUBDIR += pure-emacs21 SUBDIR += pure-xemacs21-mule + SUBDIR += py-fishcrypt SUBDIR += py-gozerbot SUBDIR += py-irc SUBDIR += py-supybot diff --git a/irc/py-fishcrypt/Makefile b/irc/py-fishcrypt/Makefile new file mode 100644 index 000000000000..91f95d86d93a --- /dev/null +++ b/irc/py-fishcrypt/Makefile @@ -0,0 +1,56 @@ +# Created by: Rusmir Dusko <nemysis@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= py-fishcrypt +DISTVERSION= 4.21 +CATEGORIES= irc security +DIST_SUBDIR= python + +MAINTAINER= nemysis@FreeBSD.org +COMMENT= FiSH/Mircryption clone for XChat/HexChat + +LICENSE= BSD + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto + +USE_GITHUB= yes +GH_ACCOUNT= kwaaak +GH_PROJECT= py-fishcrypt +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= c001c75 + +USE_PYTHON_RUN= yes +NO_BUILD= yes + +SUB_FILES= pkg-message + +PORTDOCS= README.md + +PLIST_FILES= %%DATADIR%%/fishcrypt.py +PLIST_DIRS= %%DATADIR%% + +OPTIONS_DEFINE= DOCS XCHAT HEXCHAT + +XCHAT_DESC= FiSH encryption for XChat +HEXCHAT_DESC= FiSH encryption for HexChat + +OPTIONS_SUB= yes + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MXCHAT} +RUN_DEPENDS+= xchat:${PORTSDIR}/irc/xchat +.endif + +.if ${PORT_OPTIONS:MHEXCHAT} +RUN_DEPENDS+= hexchat:${PORTSDIR}/irc/hexchat +.endif + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/fishcrypt.py ${STAGEDIR}${DATADIR} + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/irc/py-fishcrypt/distinfo b/irc/py-fishcrypt/distinfo new file mode 100644 index 000000000000..66e091c27f21 --- /dev/null +++ b/irc/py-fishcrypt/distinfo @@ -0,0 +1,2 @@ +SHA256 (python/py-fishcrypt-4.21.tar.gz) = 47afc0c9f356dc6277ffc2cb27fd1850240599d7cb7dfb6dc3d10f5a37c81714 +SIZE (python/py-fishcrypt-4.21.tar.gz) = 17187 diff --git a/irc/py-fishcrypt/files/pkg-message.in b/irc/py-fishcrypt/files/pkg-message.in new file mode 100644 index 000000000000..5fc4e6bfa730 --- /dev/null +++ b/irc/py-fishcrypt/files/pkg-message.in @@ -0,0 +1,20 @@ +=============================================================================== + +py-fishcrypt has been installed. + +To make FiSH work with with py-fishcrypt please symlink as user + + su user + +For XChat + + ln -sf %%DATADIR%%/fishcrypt.py ~/.xchat2/ + + +For HexChat + + ln -sf %%DATADIR%%/fishcrypt.py ~/.config/hexchat/addons/ + + exit + +=============================================================================== diff --git a/irc/py-fishcrypt/pkg-descr b/irc/py-fishcrypt/pkg-descr new file mode 100644 index 000000000000..65ee78f942ea --- /dev/null +++ b/irc/py-fishcrypt/pkg-descr @@ -0,0 +1,3 @@ +FiSH/Mircryption clone for XChat and clones in 100% Python. + +WWW: https://github.com/kwaaak/py-fishcrypt |