aboutsummaryrefslogtreecommitdiffstats
path: root/irc/py-fishcrypt/Makefile
blob: a0f979904deed93e464723f538977773231cdbbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$

PORTNAME=   py-fishcrypt
DISTVERSION=    4.21
CATEGORIES= irc security
DIST_SUBDIR=    python

MAINTAINER= koalative@gmail.com
COMMENT=    FiSH/Mircryption clone for XChat/HexChat

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto

USE_GITHUB= yes
GH_ACCOUNT= kwaaak
GH_TAGNAME= c001c75

USES=       dos2unix python:run
NO_BUILD=   yes

SUB_FILES=  pkg-message

PORTDOCS=   README.md

PLIST_FILES=    %%DATADIR%%/fishcrypt.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:${PORTSDIR}/irc/hexchat
XCHAT_RUN_DEPENDS=  xchat:${PORTSDIR}/irc/xchat

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>