aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-12-26 14:52:15 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-12-26 14:52:15 +0000
commit054faafb4eec43c30b927af44f42ae2c6064650e (patch)
tree9a7eaa2771aeaf131759d8f16d60d71be1a84ecb /irc
parentd923a168f4baa948e841b82d7cb1f23fbcf40fc3 (diff)
downloadports-054faafb4eec43c30b927af44f42ae2c6064650e.tar.gz
ports-054faafb4eec43c30b927af44f42ae2c6064650e.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/irssi-dcc_send_limiter/Makefile36
-rw-r--r--irc/irssi-dcc_send_limiter/distinfo2
2 files changed, 12 insertions, 26 deletions
diff --git a/irc/irssi-dcc_send_limiter/Makefile b/irc/irssi-dcc_send_limiter/Makefile
index edfe6b10a713..5d589bb417a6 100644
--- a/irc/irssi-dcc_send_limiter/Makefile
+++ b/irc/irssi-dcc_send_limiter/Makefile
@@ -6,9 +6,11 @@
#
PORTNAME= dcc_send_limiter
-PORTVERSION= 0.8.9
+PORTVERSION= 0.8.10
CATEGORIES= irc
-MASTER_SITES= http://svn.irssi.org/repos/modules/trunk/
+MASTER_SITES= http://svn.irssi.org/repos/modules/trunk/ \
+ http://irssi.4ever.de/files/plugins/
+PKGNAMEPREFIX= irssi-
DISTNAME= dcc-send-limiter
EXTRACT_SUFX= .c
@@ -18,33 +20,15 @@ PATCHFILES= ${DISTFILES}.diff
MAINTAINER= drizzt@gufi.org
COMMENT= Irssi plugin to limit the transmit speed of DCC sends
-USE_GNOME= pkgconfig
+BUILD_DEPENDS= irssi:${PORTSDIR}/irc/irssi
+RUN_DEPENDS= irssi:${PORTSDIR}/irc/irssi
+
+USE_GNOME= glib20
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
+CFLAGS+= -shared -fPIC -I${LOCALBASE}/include/irssi -I${LOCALBASE}/include/irssi/src -I${LOCALBASE}/include/irssi/src/core -I${LOCALBASE}/include/irssi/src/irc/core -I${LOCALBASE}/include/irssi/src/irc/dcc `pkg-config --cflags glib-2.0`
do-extract:
@${RM} -rf ${WRKDIR}
@@ -57,4 +41,4 @@ do-build:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.so ${LOCALBASE}/${PLIST_FILES}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/irc/irssi-dcc_send_limiter/distinfo b/irc/irssi-dcc_send_limiter/distinfo
index c90e621734c4..3f5af538a1cf 100644
--- a/irc/irssi-dcc_send_limiter/distinfo
+++ b/irc/irssi-dcc_send_limiter/distinfo
@@ -1,4 +1,6 @@
MD5 (dcc-send-limiter.c) = dac4819870114c8ce9c63ea166047808
+SHA256 (dcc-send-limiter.c) = 71be71b4e2a02c3fb0c5be249c7e7dfca1063dda2214f0cf32138d74aa4e7151
SIZE (dcc-send-limiter.c) = 5413
MD5 (dcc-send-limiter.c.diff) = ba7130f20a9e6b4512f1ae53235a0f0b
+SHA256 (dcc-send-limiter.c.diff) = 89401986e93a6b5df49dc01f3a41e93a53178fe2cdf0bf36cda87c1e532ee710
SIZE (dcc-send-limiter.c.diff) = 1421