Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 03:26:31 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/187749: net-p2p/btpd: Support USE_GITHUB
Message-ID:  <20140320032631.c2b72ad769992de6e34b6582@yahoo.com>
Resent-Message-ID: <201403191840.s2JIe4TI002498@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187749
>Category:       ports
>Synopsis:       net-p2p/btpd: Support USE_GITHUB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 19 18:40:04 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Support USE_GITHUB

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net-p2p/btpd/Makefile net-p2p/btpd/Makefile
--- /usr/ports/net-p2p/btpd/Makefile	2014-01-23 03:23:29.000000000 +0900
+++ net-p2p/btpd/Makefile	2014-03-20 00:00:00.000000000 +0900
@@ -4,21 +4,25 @@
 PORTVERSION=	0.16
 PORTREVISION=	2
 CATEGORIES=	net-p2p
-MASTER_SITES=	http://cloud.github.com/downloads/btpd/btpd/
+MASTER_SITES=	GHC
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Bittorrent client consisting of a daemon and client commands
 
 LICENSE=	BSD
 
-OPTIONS_DEFINE=	DOCS
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	${PORTNAME}
 
-USE_AUTOTOOLS=	autoconf aclocal
-GNU_CONFIGURE=	yes
 USE_OPENSSL=	yes
+USE_AUTOTOOLS=	aclocal autoconf
+
+OPTIONS_DEFINE=	DOCS
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
+	(cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>
diff -urN /usr/ports/net-p2p/btpd/pkg-descr net-p2p/btpd/pkg-descr
--- /usr/ports/net-p2p/btpd/pkg-descr	2014-01-23 03:23:29.000000000 +0900
+++ net-p2p/btpd/pkg-descr	2014-03-20 00:00:00.000000000 +0900
@@ -1,8 +1,8 @@
-BTPD is a bittorrent client consisting of a daemon and client commands, which
-can be used to read and/or manipulate the daemon state. The daemon is capable of
-running several torrents simultaneously and only uses one tcp port. It's fairly
-low on resource usage and should be perfect for file distribution sites.
-Efficient downloads and ease of use makes this client a good choice for the
-casual user as well.
+BTPD is a bittorrent client consisting of a daemon and client commands,
+which can be used to read and/or manipulate the daemon state. The daemon
+is capable of running several torrents simultaneously and only uses one
+tcp port. It's fairly low on resource usage and should be perfect for
+file distribution sites. Efficient downloads and ease of use makes this
+client a good choice for the casual user as well.
 
 WWW: http://wiki.github.com/btpd/btpd/
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140320032631.c2b72ad769992de6e34b6582>