From 88c728870e57fb4531b819c8bae9996010fceee2 Mon Sep 17 00:00:00 2001 From: flz Date: Fri, 29 Jul 2005 20:23:04 +0000 Subject: - Add mega patch. I don't make it optional since ctorrent is rather buggy and developement has almost stopped since nobody have been able to contact the main developer for more than one year. The mega patch was made by Dennis Holmes from patches grabbed on the SF project's page. Obtained from: lots of people via sourceforge.net --- net/ctorrent/Makefile | 12 ++++++++++++ net/ctorrent/distinfo | 2 ++ 2 files changed, 14 insertions(+) (limited to 'net') diff --git a/net/ctorrent/Makefile b/net/ctorrent/Makefile index 7ace7f52baf3..0bc44f368f98 100644 --- a/net/ctorrent/Makefile +++ b/net/ctorrent/Makefile @@ -7,6 +7,7 @@ PORTNAME= ctorrent PORTVERSION= 1.3.4 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,7 +18,18 @@ COMMENT= BitTorrent Client written in C for FreeBSD and Linux GNU_CONFIGURE= yes USE_BZIP2= yes +PATCH_SITES= http://www.rahul.net/dholmes/ctorrent/ +PATCHFILES= patchset-ctorrent-1.3.4-dnh1.diff + PLIST_FILES= bin/ctorrent CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +PORTDOCS= README-DNH + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/ +.endif + .include diff --git a/net/ctorrent/distinfo b/net/ctorrent/distinfo index 37999a4413b5..7232389837b9 100644 --- a/net/ctorrent/distinfo +++ b/net/ctorrent/distinfo @@ -1,2 +1,4 @@ MD5 (ctorrent-1.3.4.tar.bz2) = 823010ec78215d476537c9eba9381cdd SIZE (ctorrent-1.3.4.tar.bz2) = 87333 +MD5 (patchset-ctorrent-1.3.4-dnh1.diff) = 319c7202281a87dc3a9e68f99b50741f +SIZE (patchset-ctorrent-1.3.4-dnh1.diff) = 74172 -- cgit