aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi-otr
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-08-17 14:41:55 +0800
committeredwin <edwin@FreeBSD.org>2008-08-17 14:41:55 +0800
commitc008659d68b84f645ccbed93ba65ff58428d6eb4 (patch)
tree3eb86206dbf0a4f6882dbc63e8fa153ea6d88e61 /irc/irssi-otr
parentd4efe8c2e4f40079c68da3479526de163adc645b (diff)
downloadfreebsd-ports-gnome-c008659d68b84f645ccbed93ba65ff58428d6eb4.tar.gz
freebsd-ports-gnome-c008659d68b84f645ccbed93ba65ff58428d6eb4.tar.zst
freebsd-ports-gnome-c008659d68b84f645ccbed93ba65ff58428d6eb4.zip
New Port: irc/irssi-otr : A plugin for irssi for Off-the-Record (OTR) messaging
irssi-otr provides Off-the-Record Messaging (OTR) support for the irssi Internet Relay Chat (IRC) client. WWW: http://irssi-otr.tuxfamily.org/ PR: ports/126574 Submitted by: Ashish Shukla <wahjava@gmail.com>
Diffstat (limited to 'irc/irssi-otr')
-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
5 files changed, 53 insertions, 0 deletions
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%%