summaryrefslogtreecommitdiffstats
path: root/irc/xchat-fish
diff options
context:
space:
mode:
Diffstat (limited to 'irc/xchat-fish')
-rw-r--r--irc/xchat-fish/Makefile67
-rw-r--r--irc/xchat-fish/distinfo3
-rw-r--r--irc/xchat-fish/pkg-descr11
3 files changed, 81 insertions, 0 deletions
diff --git a/irc/xchat-fish/Makefile b/irc/xchat-fish/Makefile
new file mode 100644
index 000000000..30194e8d4
--- /dev/null
+++ b/irc/xchat-fish/Makefile
@@ -0,0 +1,67 @@
+# New ports collection makefile for: XChat fish
+# Date created: Mon Jan 17 03:22:41 UTC 2005
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= fish
+DISTVERSION= 0.97a
+PORTREVISION= 1
+CATEGORIES= irc security
+MASTER_SITES= http://fish.sekure.us/xchat/
+PKGNAMEPREFIX= xchat-
+DISTNAME= FiSH-xchat.v${DISTVERSION}-source
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= An encryption plugin for XChat
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libmiracl.a:${PORTSDIR}/math/miracl
+RUN_DEPENDS= xchat:${PORTSDIR}/irc/xchat
+
+USE_ZIP= yes
+NO_WRKSUBDIR= yes
+
+#
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+
+PLIST_FILES= \
+ lib/xchat/plugins/xfish.so
+
+PORTDOCS= \
+ FiSH-xchat.txt \
+ FiSH-xchat_History.txt
+
+post-patch:
+# \r\n -> \n
+ @${FIND} ${WRKSRC} -type f -exec \
+ ${REINPLACE_CMD} -E \
+ -e 's| ||' \
+ {} \;
+# CC safeness
+# CFLAGS safeness
+ @${REINPLACE_CMD} -E \
+ -e 's|gcc|${CC}|' \
+ -e 's|-O2|${CFLAGS}|' \
+ -e 's|-shared|-shared -fPIC -DPIC|' \
+ -e 's|miracl.a|${LOCALBASE}/lib/libmiracl.a|' \
+ ${WRKSRC}/make*
+
+do-build:
+ @cd ${WRKSRC} && ${SH} ./make_all
+
+do-install:
+# docs
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${doc} \
+ ${DOCSDIR}
+.endfor
+.endif
+# plugin
+ @${MKDIR} ${PREFIX}/lib/xchat/plugins
+ @${INSTALL_PROGRAM} ${WRKSRC}/xfish.so \
+ ${PREFIX}/lib/xchat/plugins
+
+.include <bsd.port.mk>
diff --git a/irc/xchat-fish/distinfo b/irc/xchat-fish/distinfo
new file mode 100644
index 000000000..431b0f66c
--- /dev/null
+++ b/irc/xchat-fish/distinfo
@@ -0,0 +1,3 @@
+MD5 (FiSH-xchat.v0.97a-source.zip) = 8a084404116faef27ba081ad1d2004e7
+SHA256 (FiSH-xchat.v0.97a-source.zip) = 5264fb1d63010f9f709d2ff48334d1cb3e8e258302b9abd5af3275e7e7ef74dd
+SIZE (FiSH-xchat.v0.97a-source.zip) = 43088
diff --git a/irc/xchat-fish/pkg-descr b/irc/xchat-fish/pkg-descr
new file mode 100644
index 000000000..6d8eaee99
--- /dev/null
+++ b/irc/xchat-fish/pkg-descr
@@ -0,0 +1,11 @@
+[ modified slightly from developer's web site ]
+
+This is an encryption plugin for xchat, it is based on blowfish and
+is fully compatible to original 'blowcrypt' script. It supports
+private chat and channel encryption. A secure key-exchange system
+is included as well. Please read the file FiSH-xchat.txt, especially the
+'Installation' section, before installing it!
+
+WWW: http://fish.sekure.us/
+
+-- lioux@FreeBSD.org