aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-07-30 04:23:04 +0800
committerflz <flz@FreeBSD.org>2005-07-30 04:23:04 +0800
commit88c728870e57fb4531b819c8bae9996010fceee2 (patch)
treeebcadf1c68f9e8b832e8c3820b20c0353dce8b49 /net
parent630392584b3b5c109ebc0a50ef8765e101792226 (diff)
downloadfreebsd-ports-gnome-88c728870e57fb4531b819c8bae9996010fceee2.tar.gz
freebsd-ports-gnome-88c728870e57fb4531b819c8bae9996010fceee2.tar.zst
freebsd-ports-gnome-88c728870e57fb4531b819c8bae9996010fceee2.zip
- 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
Diffstat (limited to 'net')
-rw-r--r--net/ctorrent/Makefile12
-rw-r--r--net/ctorrent/distinfo2
2 files changed, 14 insertions, 0 deletions
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 <bsd.port.mk>
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