mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
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>
This commit is contained in:
parent
34a167b41a
commit
b6c3d863e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149351
@ -50,6 +50,7 @@
|
||||
SUBDIR += ircservices
|
||||
SUBDIR += iroffer
|
||||
SUBDIR += irssi
|
||||
SUBDIR += irssi-dcc_send_limiter
|
||||
SUBDIR += irssi-devel
|
||||
SUBDIR += irssi-fish
|
||||
SUBDIR += irssi-scripts
|
||||
|
62
irc/irssi-dcc_send_limiter/Makefile
Normal file
62
irc/irssi-dcc_send_limiter/Makefile
Normal file
@ -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>
|
4
irc/irssi-dcc_send_limiter/distinfo
Normal file
4
irc/irssi-dcc_send_limiter/distinfo
Normal file
@ -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
|
1
irc/irssi-dcc_send_limiter/pkg-descr
Normal file
1
irc/irssi-dcc_send_limiter/pkg-descr
Normal file
@ -0,0 +1 @@
|
||||
A plugin to limit the transmit speed of DCC sends
|
Loading…
Reference in New Issue
Block a user