svn commit: r329393 - in head/irc: . py-fishcrypt py-fishcrypt/files

Rusmir Dusko nemysis at FreeBSD.org
Fri Oct 4 21:54:40 UTC 2013


Author: nemysis
Date: Fri Oct  4 21:54:39 2013
New Revision: 329393
URL: http://svnweb.freebsd.org/changeset/ports/329393

Log:
  FiSH/Mircryption clone for XChat and clones in 100% Python.
  
  WWW: https://github.com/kwaaak/py-fishcrypt
  
  Approved by:	wg/pawel (mentors)

Added:
  head/irc/py-fishcrypt/
  head/irc/py-fishcrypt/Makefile   (contents, props changed)
  head/irc/py-fishcrypt/distinfo   (contents, props changed)
  head/irc/py-fishcrypt/files/
  head/irc/py-fishcrypt/files/pkg-message.in   (contents, props changed)
  head/irc/py-fishcrypt/pkg-descr   (contents, props changed)
Modified:
  head/irc/Makefile

Modified: head/irc/Makefile
==============================================================================
--- head/irc/Makefile	Fri Oct  4 21:45:52 2013	(r329392)
+++ head/irc/Makefile	Fri Oct  4 21:54:39 2013	(r329393)
@@ -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

Added: head/irc/py-fishcrypt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/py-fishcrypt/Makefile	Fri Oct  4 21:54:39 2013	(r329393)
@@ -0,0 +1,56 @@
+# Created by: Rusmir Dusko <nemysis at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	py-fishcrypt
+DISTVERSION=	4.21
+CATEGORIES=	irc security
+DIST_SUBDIR=	python
+
+MAINTAINER=	nemysis at 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>

Added: head/irc/py-fishcrypt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/py-fishcrypt/distinfo	Fri Oct  4 21:54:39 2013	(r329393)
@@ -0,0 +1,2 @@
+SHA256 (python/py-fishcrypt-4.21.tar.gz) = 47afc0c9f356dc6277ffc2cb27fd1850240599d7cb7dfb6dc3d10f5a37c81714
+SIZE (python/py-fishcrypt-4.21.tar.gz) = 17187

Added: head/irc/py-fishcrypt/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/py-fishcrypt/files/pkg-message.in	Fri Oct  4 21:54:39 2013	(r329393)
@@ -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
+
+===============================================================================

Added: head/irc/py-fishcrypt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/py-fishcrypt/pkg-descr	Fri Oct  4 21:54:39 2013	(r329393)
@@ -0,0 +1,3 @@
+FiSH/Mircryption clone for XChat and clones in 100% Python.
+
+WWW: https://github.com/kwaaak/py-fishcrypt


More information about the svn-ports-all mailing list