diff options
author | edwin <edwin@FreeBSD.org> | 2005-11-25 10:22:52 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-11-25 10:22:52 +0800 |
commit | 5d4d0c03a3d29f062732856d6777b8e00227c36b (patch) | |
tree | 51da4db764b2cacf970645cedc1abc5d26075c94 /irc/irssi-dcc_send_limiter | |
parent | caf82853a1a1d640268fb34ab80aec44d142653a (diff) | |
download | freebsd-ports-gnome-5d4d0c03a3d29f062732856d6777b8e00227c36b.tar.gz freebsd-ports-gnome-5d4d0c03a3d29f062732856d6777b8e00227c36b.tar.zst freebsd-ports-gnome-5d4d0c03a3d29f062732856d6777b8e00227c36b.zip |
New port: irc/irssi-dcc_send_limiter [Irssi plugin to limit the transmit speed of DCC sends]
Irssi plugin to limit the transmit speed of DCC sends
PR: ports/87880
Submitted by: Timothy Redaelli <drizzt@gufi.org>
Diffstat (limited to 'irc/irssi-dcc_send_limiter')
-rw-r--r-- | irc/irssi-dcc_send_limiter/Makefile | 62 | ||||
-rw-r--r-- | irc/irssi-dcc_send_limiter/distinfo | 4 | ||||
-rw-r--r-- | irc/irssi-dcc_send_limiter/pkg-descr | 1 |
3 files changed, 67 insertions, 0 deletions
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 |