From 7bfd29cc7549f470974d376d2d9c6e9bdcf2d0b4 Mon Sep 17 00:00:00 2001 From: lioux Date: Thu, 21 Feb 2002 01:39:49 +0000 Subject: New port edonkey-tool-slist version 0.2: Checks which servers are either dead or alive in server.met --- misc/Makefile | 1 + misc/edonkey-tool-slist/Makefile | 40 +++++++++++++++++++++++++++++++++++++ misc/edonkey-tool-slist/distinfo | 1 + misc/edonkey-tool-slist/pkg-comment | 1 + misc/edonkey-tool-slist/pkg-descr | 9 +++++++++ misc/edonkey-tool-slist/pkg-plist | 3 +++ 6 files changed, 55 insertions(+) create mode 100644 misc/edonkey-tool-slist/Makefile create mode 100644 misc/edonkey-tool-slist/distinfo create mode 100644 misc/edonkey-tool-slist/pkg-comment create mode 100644 misc/edonkey-tool-slist/pkg-descr create mode 100644 misc/edonkey-tool-slist/pkg-plist (limited to 'misc') diff --git a/misc/Makefile b/misc/Makefile index 2826b9ed86b2..362718b70d19 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -61,6 +61,7 @@ SUBDIR += dotfile SUBDIR += edonkey-tool-hash SUBDIR += edonkey-tool-list + SUBDIR += edonkey-tool-slist SUBDIR += emma SUBDIR += estic SUBDIR += ewipe diff --git a/misc/edonkey-tool-slist/Makefile b/misc/edonkey-tool-slist/Makefile new file mode 100644 index 000000000000..1e24678e21c5 --- /dev/null +++ b/misc/edonkey-tool-slist/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: edonkey server list tool +# Date created: Wed Feb 20 18:03:49 BRT 2002 +# Whom: Mario Sergio Fujikawa Ferreira +# +# $FreeBSD$ +# + +PORTNAME= edonkey +PORTVERSION= 0.2 +CATEGORIES= misc +MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/ +PKGNAMESUFFIX= -tool-slist +DISTNAME= ed2k_slist-${PORTVERSION} + +MAINTAINER= lioux@FreeBSD.org + +WRKSRC= ${WRKDIR}/ed2k_slist + +post-patch: + @${PERL} -pi -e 's|\r\n|\n|' ${WRKSRC}/*.[ch] + @${PERL} -pi -e 's|(#include )|\1\n#include\ + |' ${WRKSRC}/linux_net.c + +# I could have written a Makefile but I would rather +# not waste inodes +do-build: + @cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} \ + ed2k_slist.c -o ${PORTNAME}${PKGNAMESUFFIX} + +do-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} + @${INSTALL_DATA} ${WRKSRC}/COPYING \ + ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} + +.endif + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \ + ${PREFIX}/bin + +.include diff --git a/misc/edonkey-tool-slist/distinfo b/misc/edonkey-tool-slist/distinfo new file mode 100644 index 000000000000..132c58b90bc5 --- /dev/null +++ b/misc/edonkey-tool-slist/distinfo @@ -0,0 +1 @@ +MD5 (ed2k_slist-0.2.tar.gz) = add551eebc1d8a64e82f77ddbcf91545 diff --git a/misc/edonkey-tool-slist/pkg-comment b/misc/edonkey-tool-slist/pkg-comment new file mode 100644 index 000000000000..59a83aaa6410 --- /dev/null +++ b/misc/edonkey-tool-slist/pkg-comment @@ -0,0 +1 @@ +Checks which servers are either dead or alive in server.met diff --git a/misc/edonkey-tool-slist/pkg-descr b/misc/edonkey-tool-slist/pkg-descr new file mode 100644 index 000000000000..cd22b70a6311 --- /dev/null +++ b/misc/edonkey-tool-slist/pkg-descr @@ -0,0 +1,9 @@ +This tool takes your server.met file and checks which servers are +dead and which are alive. It then creates a new server.met file +which contains only working servers. It makes sense to use this +tool every time before you start the eDonkey 2000 client. + +On request this tool also creates a web page with ed2k:// links to +all working servers. + +WWW: http://users.aber.ac.uk/tpm01/ed2k_tools/ diff --git a/misc/edonkey-tool-slist/pkg-plist b/misc/edonkey-tool-slist/pkg-plist new file mode 100644 index 000000000000..bada7d073657 --- /dev/null +++ b/misc/edonkey-tool-slist/pkg-plist @@ -0,0 +1,3 @@ +bin/edonkey-tool-slist +%%PORTDOCS%%share/doc/edonkey-tool-slist/COPYING +%%PORTDOCS%%@dirrm share/doc/edonkey-tool-slist -- cgit