freebsd-ports/irc/py-fishcrypt/Makefile
2017-04-21 16:23:17 +00:00

50 lines
1.1 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= fishcrypt
DISTVERSION= 5.31
PORTREVISION= 1
CATEGORIES= irc security
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= python
MAINTAINER= nemysis@FreeBSD.org
COMMENT= FiSH/Mircryption-compatible encryption for XChat/HexChat
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto \
${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py-pysocks
USE_GITHUB= yes
GH_ACCOUNT= fladd
GH_PROJECT= py-${PORTNAME}
GH_TAGNAME= 43554b1a
USES= dos2unix python:run shebangfix
SHEBANG_FILES= fishcrypt.py
NO_BUILD= yes
SUB_FILES= pkg-message
PORTDOCS= README.md
PLIST_FILES= %%DATADIR%%/fishcrypt.py \
%%DATADIR%%/pyBlowfish.py
OPTIONS_DEFINE= DOCS HEXCHAT XCHAT
HEXCHAT_DESC= FiSH encryption for HexChat
XCHAT_DESC= FiSH encryption for XChat
OPTIONS_SUB= yes
HEXCHAT_RUN_DEPENDS= hexchat:irc/hexchat
XCHAT_RUN_DEPENDS= xchat:irc/xchat
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>