aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-19 12:59:31 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-19 12:59:31 +0000
commitad1d98f1e784153cc7e9334d64236c046b8e84af (patch)
tree1cf8e3b1eb9f86891c9be7fb8632edbcb6b290e7 /misc
parentfb4e5478177c77604c3f06f5a5da117d1d50a4f4 (diff)
downloadports-ad1d98f1e784153cc7e9334d64236c046b8e84af.tar.gz
ports-ad1d98f1e784153cc7e9334d64236c046b8e84af.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-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
5 files changed, 52 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 9d22d1843e74..0c870b23cb4b 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -91,6 +91,7 @@
SUBDIR += freshmeat-submit
SUBDIR += ftdi-eeprom
SUBDIR += ftree
+ SUBDIR += gaim-bangexec
SUBDIR += gaim-guifications
SUBDIR += gctpc
SUBDIR += geekcode
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/