aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gaim-bangexec
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-04-19 20:59:31 +0800
committerjylefort <jylefort@FreeBSD.org>2005-04-19 20:59:31 +0800
commit9f3a02e0302da4e37ca697411755f88e760a7626 (patch)
tree2a01a7b74b1041645ea6f1d2e955428e6f27ac4e /misc/gaim-bangexec
parentef2d356ffb396344e047f325f9a0314fc555ff63 (diff)
downloadfreebsd-ports-gnome-9f3a02e0302da4e37ca697411755f88e760a7626.tar.gz
freebsd-ports-gnome-9f3a02e0302da4e37ca697411755f88e760a7626.tar.zst
freebsd-ports-gnome-9f3a02e0302da4e37ca697411755f88e760a7626.zip
!exec is a command interpreter plugin for Gaim. If you're nostalgic
for chat clients like curfloo and gyach while using Gaim, then this is the plugin for you! PR: ports/80045 Submitted by: Kevin Brunelle <kruptos@mlinux.org> Approved by: adamw (mentor)
Diffstat (limited to 'misc/gaim-bangexec')
-rw-r--r--misc/gaim-bangexec/Makefile30
-rw-r--r--misc/gaim-bangexec/distinfo2
-rw-r--r--misc/gaim-bangexec/files/patch-bangexec.c14
-rw-r--r--misc/gaim-bangexec/pkg-descr5
4 files changed, 51 insertions, 0 deletions
diff --git a/misc/gaim-bangexec/Makefile b/misc/gaim-bangexec/Makefile
new file mode 100644
index 000000000000..0b8fdc33b99f
--- /dev/null
+++ b/misc/gaim-bangexec/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: gaim-bangexec
+# Date created: 17 April 2005
+# Whom: kevinb
+#
+# $FreeBSD$
+#
+
+PORTNAME= bangexec
+PORTVERSION= 1.1.4
+CATEGORIES= misc
+MASTER_SITES= http://bard.sytes.net/bangexec/
+PKGNAMEPREFIX= gaim-
+
+MAINTAINER= kruptos@mlinux.org
+COMMENT= Command interpreter plugin for gaim
+
+BUILD_DEPENDS= gaim:${PORTSDIR}/net/gaim
+RUN_DEPENDS= gaim:${PORTSDIR}/net/gaim
+
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+USE_LIBTOOL_VER=15
+USE_REINPLACE= yes
+
+PLIST_FILES= lib/gaim/bangexec.so
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-g3||' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/misc/gaim-bangexec/distinfo b/misc/gaim-bangexec/distinfo
new file mode 100644
index 000000000000..eacbf1fdfce0
--- /dev/null
+++ b/misc/gaim-bangexec/distinfo
@@ -0,0 +1,2 @@
+MD5 (bangexec-1.1.4.tar.bz2) = 92c60fff000a4bc92a24e72a6c070072
+SIZE (bangexec-1.1.4.tar.bz2) = 219198
diff --git a/misc/gaim-bangexec/files/patch-bangexec.c b/misc/gaim-bangexec/files/patch-bangexec.c
new file mode 100644
index 000000000000..cdfc1dbe524e
--- /dev/null
+++ b/misc/gaim-bangexec/files/patch-bangexec.c
@@ -0,0 +1,14 @@
+--- bangexec.c.orig Tue Apr 19 01:29:32 2005
++++ bangexec.c Tue Apr 19 01:29:44 2005
+@@ -253,9 +253,10 @@
+ return -1;
+ }else if (pid){ //Parent
+ int rv;
++ int flags;
+
+ close (p[1]);
+- int flags = fcntl (p[0], F_GETFL, 0);
++ flags = fcntl (p[0], F_GETFL, 0);
+ fcntl (p[0], F_SETFL, flags | O_NONBLOCK);
+
+ rv=read_nonblock(p[0],strtoul(BANGEXEC_MAXLEN,NULL,10)-chrs,strtoul(BANGEXEC_TIMEOUT,NULL,10),inp);
diff --git a/misc/gaim-bangexec/pkg-descr b/misc/gaim-bangexec/pkg-descr
new file mode 100644
index 000000000000..0f4408da6c8d
--- /dev/null
+++ b/misc/gaim-bangexec/pkg-descr
@@ -0,0 +1,5 @@
+!exec is a command interpreter plugin for Gaim. If you're nostalgic
+for chat clients like curfloo and gyach while using Gaim, then this
+is the plugin for you!
+
+WWW: http://bard.sytes.net/bangexec/