aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-11-25 02:22:52 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-11-25 02:22:52 +0000
commitb6c3d863e25343c996077a58f12d1f672de37cf6 (patch)
treeff308ca8aa598291121ebbf1c0edf9d402100375 /irc
parent34a167b41a96af27c9cb18dc77cdcfbda660a268 (diff)
downloadports-b6c3d863e25343c996077a58f12d1f672de37cf6.tar.gz
ports-b6c3d863e25343c996077a58f12d1f672de37cf6.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/Makefile1
-rw-r--r--irc/irssi-dcc_send_limiter/Makefile62
-rw-r--r--irc/irssi-dcc_send_limiter/distinfo4
-rw-r--r--irc/irssi-dcc_send_limiter/pkg-descr1
4 files changed, 68 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile
index f28403fd4196..86dc2b375f92 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -50,6 +50,7 @@
SUBDIR += ircservices
SUBDIR += iroffer
SUBDIR += irssi
+ SUBDIR += irssi-dcc_send_limiter
SUBDIR += irssi-devel
SUBDIR += irssi-fish
SUBDIR += irssi-scripts
diff --git a/irc/irssi-dcc_send_limiter/Makefile b/irc/irssi-dcc_send_limiter/Makefile
new file mode 100644
index 000000000000..905d1bc00928
--- /dev/null
+++ b/irc/irssi-dcc_send_limiter/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: dcc_send_limiter
+# Date created: 23 October 2005
+# Whom: Timothy Redaelli <drizzt@gufi.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dcc_send_limiter
+PORTVERSION= 0.8.9
+CATEGORIES= irc
+.for _PREFIX in www fi hu de uk ie lt be dk ca lv
+MASTER_SITES+= http://${_PREFIX}.irssi.org/files/plugins/
+.endfor
+DISTNAME= dcc-send-limiter
+EXTRACT_SUFX= .c
+
+PATCH_SITES= http://www.krukowiecki.net/code/irssi/
+PATCHFILES= ${DISTFILES}.diff
+
+MAINTAINER= drizzt@gufi.org
+COMMENT= Irssi plugin to limit the transmit speed of DCC sends
+
+USE_GNOME= pkgconfig
+NO_WRKSUBDIR= yes
+
+PLIST_FILES= lib/irssi/modules/lib${PORTNAME}.so
+
+CFLAGS+= -shared -I${LOCAL_IRSSIDIR} -I${LOCAL_IRSSIDIR}/src -I${LOCAL_IRSSIDIR}/src/core -I${LOCAL_IRSSIDIR}/src/irc/core -I${LOCAL_IRSSIDIR}/src/irc/dcc `pkg-config --cflags ${LOCAL_GLIB}`
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${LOCALBASE}/include/irssi/irssi-version.h)
+PKGNAMEPREFIX= irssi-
+BUILD_DEPENDS= irssi:${PORTSDIR}/irc/irssi
+EXTRACT_DEPENDS=${WRKDIR}/../../../${LOCAL_SRCDIR}/work/irssi-${LOCAL_IRSSIVER}/Makefile:${PORTSDIR}/${LOCAL_SRCDIR}:configure
+LOCAL_SRCDIR= irc/irssi
+LOCAL_IRSSIDIR= ${WRKDIR}/../../../${LOCAL_SRCDIR}/work/irssi-${LOCAL_IRSSIVER}
+LOCAL_IRSSIVER= 0.8.9
+.if exists(${LOCALBASE}/include/glib-2.0/glib.h)
+LOCAL_GLIB= glib-2.0
+.else
+LOCAL_GLIB= glib
+.endif
+.else
+PKGNAMEPREFIX= irssi-devel-
+BUILD_DEPENDS= ${LOCALBASE}/include/irssi/irssi-version.h:${PORTSDIR}/irc/irssi-devel
+LOCAL_IRSSIDIR= ${LOCALBASE}/include/irssi
+LOCAL_GLIB=glib-2.0
+.endif
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+ @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}
+
+do-build:
+ ${CC} ${CFLAGS} -o ${WRKDIR}/${DISTNAME}.so ${WRKDIR}/${DISTFILES}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.so ${LOCALBASE}/${PLIST_FILES}
+
+.include <bsd.port.post.mk>
diff --git a/irc/irssi-dcc_send_limiter/distinfo b/irc/irssi-dcc_send_limiter/distinfo
new file mode 100644
index 000000000000..c90e621734c4
--- /dev/null
+++ b/irc/irssi-dcc_send_limiter/distinfo
@@ -0,0 +1,4 @@
+MD5 (dcc-send-limiter.c) = dac4819870114c8ce9c63ea166047808
+SIZE (dcc-send-limiter.c) = 5413
+MD5 (dcc-send-limiter.c.diff) = ba7130f20a9e6b4512f1ae53235a0f0b
+SIZE (dcc-send-limiter.c.diff) = 1421
diff --git a/irc/irssi-dcc_send_limiter/pkg-descr b/irc/irssi-dcc_send_limiter/pkg-descr
new file mode 100644
index 000000000000..0a7d97469b50
--- /dev/null
+++ b/irc/irssi-dcc_send_limiter/pkg-descr
@@ -0,0 +1 @@
+A plugin to limit the transmit speed of DCC sends