aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-03-19 10:55:44 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-03-19 10:55:44 +0000
commit06f24c5668da116c5361dce4b623554328079f56 (patch)
tree72d668b45069a9c9e2c29f03ece0b6e3e904acaa /irc
parentb8ed9b82cf310db6cf7fa8900c5cd881ff9febb6 (diff)
downloadports-06f24c5668da116c5361dce4b623554328079f56.tar.gz
ports-06f24c5668da116c5361dce4b623554328079f56.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/py-fishcrypt/Makefile18
-rw-r--r--irc/py-fishcrypt/files/pkg-message.in8
2 files changed, 9 insertions, 17 deletions
diff --git a/irc/py-fishcrypt/Makefile b/irc/py-fishcrypt/Makefile
index 91f95d86d93a..5981dc22ea3f 100644
--- a/irc/py-fishcrypt/Makefile
+++ b/irc/py-fishcrypt/Makefile
@@ -9,8 +9,6 @@ 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
@@ -19,6 +17,7 @@ GH_PROJECT= py-fishcrypt
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= c001c75
+USES= dos2unix
USE_PYTHON_RUN= yes
NO_BUILD= yes
@@ -29,22 +28,15 @@ PORTDOCS= README.md
PLIST_FILES= %%DATADIR%%/fishcrypt.py
PLIST_DIRS= %%DATADIR%%
-OPTIONS_DEFINE= DOCS XCHAT HEXCHAT
+OPTIONS_DEFINE= DOCS HEXCHAT XCHAT
-XCHAT_DESC= FiSH encryption for XChat
HEXCHAT_DESC= FiSH encryption for HexChat
+XCHAT_DESC= FiSH encryption for XChat
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
+HEXCHAT_RUN_DEPENDS= hexchat:${PORTSDIR}/irc/hexchat
+XCHAT_RUN_DEPENDS= xchat:${PORTSDIR}/irc/xchat
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
diff --git a/irc/py-fishcrypt/files/pkg-message.in b/irc/py-fishcrypt/files/pkg-message.in
index 5fc4e6bfa730..b9d454e779d3 100644
--- a/irc/py-fishcrypt/files/pkg-message.in
+++ b/irc/py-fishcrypt/files/pkg-message.in
@@ -6,14 +6,14 @@ To make FiSH work with with py-fishcrypt please symlink as user
su user
-For XChat
+For HexChat
- ln -sf %%DATADIR%%/fishcrypt.py ~/.xchat2/
+ ln -sf %%DATADIR%%/fishcrypt.py ~/.config/hexchat/addons/
-For HexChat
+For XChat
- ln -sf %%DATADIR%%/fishcrypt.py ~/.config/hexchat/addons/
+ ln -sf %%DATADIR%%/fishcrypt.py ~/.xchat2/
exit