View | Details | Raw Unified | Return to bug 131782
Collapse All | Expand All

(-)./btpd/Makefile (-10 / +3 lines)
Lines 2-29 Link Here
2
# Date created:		2008-11-14
2
# Date created:		2008-11-14
3
# Whom:			bapt <baptiste.daroussin@gmail.com>
3
# Whom:			bapt <baptiste.daroussin@gmail.com>
4
#
4
#
5
# $FreeBSD: ports/net-p2p/btpd/Makefile,v 1.1 2008/11/15 21:38:38 miwi Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=	btpd
8
PORTNAME=	btpd
9
PORTVERSION=	0.13
9
PORTVERSION=	0.15
10
CATEGORIES=	net-p2p
10
CATEGORIES=	net-p2p
11
MASTER_SITES=	http://www.murmeldjur.se/btpd/
11
MASTER_SITES=	http://www.murmeldjur.se/btpd/
12
12
13
MAINTAINER=	baptiste.daroussin@gmail.com
13
MAINTAINER=	baptiste.daroussin@gmail.com
14
COMMENT=	Bittorrent  client consisting of a daemon and client commands
14
COMMENT=	Bittorrent  client consisting of a daemon and client commands
15
15
16
USE_AUTOTOOLS=	autoconf:262 aclocal:110
16
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
17
PLIST_FILES=	bin/btcli \
18
PLIST_FILES=	bin/btcli \
18
		bin/btinfo \
19
		bin/btinfo \
19
		bin/btpd
20
		bin/btpd
20
21
PORTDOCS=	README
21
PORTDOCS=	README
22
23
post-install:
24
.if !defined(NOPORTDOCS)
25
	${MKDIR} ${DOCSDIR}
26
	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
27
.endif
28
29
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)./btpd/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (btpd-0.13.tar.gz) = 0d9c4a672eea6f298fa6e44d94da1657
1
MD5 (btpd-0.15.tar.gz) = b64e2e8b9936e99685bc1e7246655561
2
SHA256 (btpd-0.13.tar.gz) = 4409ec8e34eaba5d51e53bf94ce8551e438a4b2c5a55924299edf012c189ebfc
2
SHA256 (btpd-0.15.tar.gz) = c2229244c3cb370ac95560e2e9ff7f5d094612ee2b2a1e36237ec7f27707db9d
3
SIZE (btpd-0.13.tar.gz) = 273814
3
SIZE (btpd-0.15.tar.gz) = 144706
(-)./btpd/files/patch-configure.ac (+38 lines)
Line 0 Link Here
1
--- ./configure.ac.orig	2009-02-09 22:04:53.000000000 +0100
2
+++ ./configure.ac	2009-02-17 15:00:30.648730460 +0100
3
@@ -56,7 +56,7 @@
4
     int main(void) { return clock_gettime(CLOCK_MONOTONIC, (void *)0); }
5
 ],  clock_gettime=yes, clock_gettime=no)
6
 AC_MSG_RESULT($clock_gettime)
7
-if test $clock_gettime == yes; then
8
+if test $clock_gettime = yes; then
9
     old_LIBS=$LIBS
10
     LIBS=""
11
     AC_SEARCH_LIBS(clock_gettime,rt,clock_gettime=yes,clock_gettime=no)
12
@@ -64,7 +64,7 @@
13
     LIBS=$old_LIBS
14
     AC_DEFINE(HAVE_CLOCK_MONOTONIC)
15
 fi
16
-if test $clock_gettime == no; then
17
+if test $clock_gettime = no; then
18
     AC_CHECK_FUNCS(mach_absolute_time,,
19
         AC_MSG_FAILURE(no supported time mechanism found))
20
 fi
21
@@ -108,7 +108,7 @@
22
         ;;
23
     esac
24
 done
25
-if test x"$EVLOOP_METHOD" == x; then
26
+if test x"$EVLOOP_METHOD" = x; then
27
     AC_MSG_FAILURE(no suitable evloop method found)
28
     exit 1
29
 else
30
@@ -117,7 +117,7 @@
31
 
32
 for i in 0 1 2 3 4 5 6 7; do
33
     case $i in
34
-    0) if test x"$TD_CFLAGS$TD_LIBS" == x; then continue; fi;;
35
+    0) if test x"$TD_CFLAGS$TD_LIBS" = x; then continue; fi;;
36
     1) TD_CFLAGS=-pthread;;
37
     2) TD_CFLAGS=-pthreads;;
38
     3) TD_CFLAGS=-kthread;;

Return to bug 131782