From e63f474a337ae4a9c68404739b6d8af60929884e Mon Sep 17 00:00:00 2001 From: flz Date: Wed, 17 May 2006 11:25:22 +0000 Subject: - Transform libtorrent into a master port. - Add libtorrent-devel, the development version of libtorrent. --- net-p2p/Makefile | 1 + net-p2p/libtorrent-devel/Makefile | 23 +++++++++++++++++++++++ net-p2p/libtorrent-devel/distinfo | 3 +++ net-p2p/libtorrent-devel/pkg-plist | 25 +++++++++++++++++++++++++ net-p2p/libtorrent/Makefile | 11 +++++++---- 5 files changed, 59 insertions(+), 4 deletions(-) create mode 100644 net-p2p/libtorrent-devel/Makefile create mode 100644 net-p2p/libtorrent-devel/distinfo create mode 100644 net-p2p/libtorrent-devel/pkg-plist (limited to 'net-p2p') diff --git a/net-p2p/Makefile b/net-p2p/Makefile index a0db235..6dde0ed 100644 --- a/net-p2p/Makefile +++ b/net-p2p/Makefile @@ -52,6 +52,7 @@ SUBDIR += libfreenet SUBDIR += libpdtp SUBDIR += libtorrent + SUBDIR += libtorrent-devel SUBDIR += limewire SUBDIR += linux-agsatellite SUBDIR += linux-edonkey-core diff --git a/net-p2p/libtorrent-devel/Makefile b/net-p2p/libtorrent-devel/Makefile new file mode 100644 index 0000000..c26125d --- /dev/null +++ b/net-p2p/libtorrent-devel/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: libtorrent-devel +# Date created: May 17 2006 +# Whom: Florent Thoumie +# +# $FreeBSD$ +# + +PORTNAME= libtorrent-devel +PORTVERSION= 0.9.1 +PORTREVISION= 0 +DISTNAME= ${PORTNAME:S/-devel//}-${PORTVERSION} + +MAINTAINER= flz@FreeBSD.org +COMMENT= BitTorrent Library written in C++ (development version) + +MASTERDIR= ${.CURDIR}/../libtorrent +MD5_FILE= ${.CURDIR}/distinfo +PLIST= ${.CURDIR}/pkg-plist +DESCR= ${MASTERDIR}/pkg-descr + +CONFLICTS= libtorrent-[0-9]* + +.include "${MASTERDIR}/Makefile" diff --git a/net-p2p/libtorrent-devel/distinfo b/net-p2p/libtorrent-devel/distinfo new file mode 100644 index 0000000..a6275d5 --- /dev/null +++ b/net-p2p/libtorrent-devel/distinfo @@ -0,0 +1,3 @@ +MD5 (libtorrent-0.9.1.tar.gz) = 622c448cd73d1c15963c0ae709d5335d +SHA256 (libtorrent-0.9.1.tar.gz) = 98a634d361922a7f41b7bd18f21c3c98749908046117b11ca43d414cbcd62e05 +SIZE (libtorrent-0.9.1.tar.gz) = 462098 diff --git a/net-p2p/libtorrent-devel/pkg-plist b/net-p2p/libtorrent-devel/pkg-plist new file mode 100644 index 0000000..8ebd31e --- /dev/null +++ b/net-p2p/libtorrent-devel/pkg-plist @@ -0,0 +1,25 @@ +include/torrent/bitfield.h +include/torrent/connection_manager.h +include/torrent/download.h +include/torrent/event.h +include/torrent/exceptions.h +include/torrent/file.h +include/torrent/file_list.h +include/torrent/http.h +include/torrent/object.h +include/torrent/object_stream.h +include/torrent/path.h +include/torrent/peer.h +include/torrent/piece.h +include/torrent/poll.h +include/torrent/poll_epoll.h +include/torrent/poll_kqueue.h +include/torrent/poll_select.h +include/torrent/rate.h +include/torrent/torrent.h +include/torrent/tracker.h +include/torrent/tracker_list.h +lib/libtorrent.so +lib/libtorrent.so.7 +libdata/pkgconfig/libtorrent.pc +@dirrm include/torrent diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile index 6cf8c02..ebe8ce6 100644 --- a/net-p2p/libtorrent/Makefile +++ b/net-p2p/libtorrent/Makefile @@ -5,16 +5,19 @@ # $FreeBSD$ # -PORTNAME= libtorrent -PORTVERSION= 0.8.5 +PORTNAME?= libtorrent +PORTVERSION?= 0.8.5 +PORTREVISION?= 0 CATEGORIES= net-p2p MASTER_SITES= http://libtorrent.rakshasa.no/downloads/ -MAINTAINER= flz@FreeBSD.org -COMMENT= BitTorrent Library written in C++ +MAINTAINER?= flz@FreeBSD.org +COMMENT?= BitTorrent Library written in C++ LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 +CONFLICTS?= libtorrent-devel-[0-9]* + USE_GCC= 3.4 USE_GNOME= pkgconfig gnomehack INSTALLS_SHLIB= yes -- cgit v1.1