aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--irc/Makefile1
-rw-r--r--irc/irssi-otr/Makefile25
-rw-r--r--irc/irssi-otr/distinfo3
-rw-r--r--irc/irssi-otr/files/patch-CMakeLists.txt14
-rw-r--r--irc/irssi-otr/pkg-descr4
-rw-r--r--irc/irssi-otr/pkg-plist7
6 files changed, 54 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile
index c03bb0875161..7a669d2d1003 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -59,6 +59,7 @@
SUBDIR += irssi-dcc_send_limiter
SUBDIR += irssi-devel
SUBDIR += irssi-fish
+ SUBDIR += irssi-otr
SUBDIR += irssi-scripts
SUBDIR += irssi-xmpp
SUBDIR += irssi-xmpp-devel
diff --git a/irc/irssi-otr/Makefile b/irc/irssi-otr/Makefile
new file mode 100644
index 000000000000..99a805467df5
--- /dev/null
+++ b/irc/irssi-otr/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: irssi-otr
+# Date created: 2008-08-16
+# Whom: Ashish Shukla <wahjava@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= irssi-otr
+PORTVERSION= 0.2
+CATEGORIES= irc
+MASTER_SITES= ftp://download.tuxfamily.org/${MASTER_SITE_SUBDIR}/
+MASTER_SITE_SUBDIR= irssiotr
+
+MAINTAINER= wahjava@gmail.com
+COMMENT= A plugin for irssi for Off-the-Record (OTR) messaging
+
+BUILD_DEPENDS= ${LOCALBASE}/include/irssi/src/common.h:${PORTSDIR}/irc/irssi
+LIB_DEPENDS= otr.4:${PORTSDIR}/security/libotr
+RUN_DEPENDS= irssi:${PORTSDIR}/irc/irssi
+
+USE_CMAKE= yes
+USE_LDCONFIG= yes
+USE_GNOME= glib20
+
+.include <bsd.port.mk>
diff --git a/irc/irssi-otr/distinfo b/irc/irssi-otr/distinfo
new file mode 100644
index 000000000000..a2d66b13003d
--- /dev/null
+++ b/irc/irssi-otr/distinfo
@@ -0,0 +1,3 @@
+MD5 (irssi-otr-0.2.tar.gz) = f8ca89e8f4abbae856dfd37ecfa74b18
+SHA256 (irssi-otr-0.2.tar.gz) = fbdf4375056cf5122e7aebd624364d1201f7c7473e1876f2c28dd009b7628c11
+SIZE (irssi-otr-0.2.tar.gz) = 28618
diff --git a/irc/irssi-otr/files/patch-CMakeLists.txt b/irc/irssi-otr/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..13f751869a13
--- /dev/null
+++ b/irc/irssi-otr/files/patch-CMakeLists.txt
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -194,7 +194,7 @@
+
+ ADD_LIBRARY(otr SHARED otr.c otrutil.c otr_ops.c otr_key.c ui.c ${PROJECT_BINARY_DIR}/otr-formats.c)
+
+-TARGET_LINK_LIBRARIES(otr ${GLIB_LIBRARIES} ${LIBOTR_LIBRARIES})
++TARGET_LINK_LIBRARIES(otr ${GLIB_LDFLAGS} ${LIBOTR_LIBRARIES})
+
+ # cscope
+
diff --git a/irc/irssi-otr/pkg-descr b/irc/irssi-otr/pkg-descr
new file mode 100644
index 000000000000..02578e8a1e90
--- /dev/null
+++ b/irc/irssi-otr/pkg-descr
@@ -0,0 +1,4 @@
+irssi-otr provides Off-the-Record Messaging (OTR) support for
+the irssi Internet Relay Chat (IRC) client.
+
+WWW: http://irssi-otr.tuxfamily.org/
diff --git a/irc/irssi-otr/pkg-plist b/irc/irssi-otr/pkg-plist
new file mode 100644
index 000000000000..dd0e506381bc
--- /dev/null
+++ b/irc/irssi-otr/pkg-plist
@@ -0,0 +1,7 @@
+lib/irssi/modules/libotr.so
+%%DOCSDIR%%/LICENSE
+%%DOCSDIR%%/README
+
+@dirrmtry lib/irssi/modules
+@dirrmtry lib/irssi
+@dirrm %%DOCSDIR%%