aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/transmission
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-10-11 03:31:11 +0800
committermezz <mezz@FreeBSD.org>2005-10-11 03:31:11 +0800
commitb42749c855ec29093b8a7fc513d0ae973eba16de (patch)
tree0661f8ddaebed9e8c65e331e2a43de21f56033e6 /net-p2p/transmission
parente258d3d05386c90054062bc3ef77b9937062c050 (diff)
downloadfreebsd-ports-gnome-b42749c855ec29093b8a7fc513d0ae973eba16de.tar.gz
freebsd-ports-gnome-b42749c855ec29093b8a7fc513d0ae973eba16de.tar.zst
freebsd-ports-gnome-b42749c855ec29093b8a7fc513d0ae973eba16de.zip
Transmission is a free BitTorrent client written from scratch in C. It aims to
be as efficient as possible. Only the Mac OS X version has a graphical interface yet. Transmission is released under the MIT license. Transmission is still in early development stage. WWW: http://transmission.m0k.org/ -- Let me know if it doesn't work with FreeBSD 4.x for USE_GETOPT_LONG and for anyone that has the different setup of OpenSSL (USE_OPENSSL). FreeBSD 4.x is untest, but FreeBSD 5.x, 6.x and 7.x have been tested. BTW: Using CVS version, because it has good bugs fixes and added FreeBSD support that I sent Eric Petit (the author/developer) a patch.
Diffstat (limited to 'net-p2p/transmission')
-rw-r--r--net-p2p/transmission/Makefile53
-rw-r--r--net-p2p/transmission/distinfo2
-rw-r--r--net-p2p/transmission/pkg-descr7
3 files changed, 62 insertions, 0 deletions
diff --git a/net-p2p/transmission/Makefile b/net-p2p/transmission/Makefile
new file mode 100644
index 000000000000..da7b1c887d48
--- /dev/null
+++ b/net-p2p/transmission/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: transmission
+# Date created: 08 October 2005
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= transmission
+PORTVERSION= 0.2.20051009
+CATEGORIES= net
+#MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= mezz
+DISTNAME= Transmission-${PORTVERSION}
+
+MAINTAINER= mezz@FreeBSD.org
+COMMENT= A free BitTorrent client written from scratch in C
+
+BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
+
+USE_OPENSSL= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+USE_GETOPT_LONG=yes
+
+EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude macosx \
+ --exclude packageOSX.sh
+
+PLIST_FILES= bin/transmissioncli
+PORTDOCS= AUTHORS LICENSE NEWS README
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \
+ s|$$LINKLIBS ;|${LDFLAGS} $$LINKLIBS ;|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O3||g ; \
+ s|-g |${CFLAGS} ${CPPFLAGS} ${PTHREAD_CFLAGS}|g' \
+ ${WRKSRC}/Jamrules
+
+# jam -dx, it will giving a verbose of build.
+do-build:
+ @(cd ${BUILD_WRKSRC} ; ${SETENV} ${MAKE_ENV} jam)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/transmissioncli ${PREFIX}/bin/
+.ifndef (NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-p2p/transmission/distinfo b/net-p2p/transmission/distinfo
new file mode 100644
index 000000000000..add1d0cca2c5
--- /dev/null
+++ b/net-p2p/transmission/distinfo
@@ -0,0 +1,2 @@
+MD5 (Transmission-0.2.20051009.tar.gz) = 1ca6e92280d6cbf5465344b49eb6e10a
+SIZE (Transmission-0.2.20051009.tar.gz) = 141614
diff --git a/net-p2p/transmission/pkg-descr b/net-p2p/transmission/pkg-descr
new file mode 100644
index 000000000000..96a46498eea2
--- /dev/null
+++ b/net-p2p/transmission/pkg-descr
@@ -0,0 +1,7 @@
+Transmission is a free BitTorrent client written from scratch in C. It aims to
+be as efficient as possible. Only the Mac OS X version has a graphical
+interface yet. Transmission is released under the MIT license.
+
+Transmission is still in early development stage.
+
+WWW: http://transmission.m0k.org/