summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-02-20 22:36:43 +0000
committerlioux <lioux@FreeBSD.org>2002-02-20 22:36:43 +0000
commit3caa2756ff67c64f8b6dfeceb3d1012cd98b24d3 (patch)
tree9f19247d548eb2b00ff5c6bc94ea8dbdce03d987
parent2328e52332966450edfa41b645d3154994c6d1ca (diff)
downloadFreeBSD-ports-3caa2756ff67c64f8b6dfeceb3d1012cd98b24d3.zip
FreeBSD-ports-3caa2756ff67c64f8b6dfeceb3d1012cd98b24d3.tar.gz
- edonkey-tool-hash version 0.0.1: Both calculates 'eDonkey hashes'
and produces ed2k:// links for files
-rw-r--r--misc/Makefile1
-rw-r--r--misc/edonkey-tool-hash/Makefile27
-rw-r--r--misc/edonkey-tool-hash/distinfo1
-rw-r--r--misc/edonkey-tool-hash/pkg-comment1
-rw-r--r--misc/edonkey-tool-hash/pkg-descr6
-rw-r--r--misc/edonkey-tool-hash/pkg-plist1
-rw-r--r--net-p2p/edonkey-tool-hash/Makefile27
-rw-r--r--net-p2p/edonkey-tool-hash/distinfo1
-rw-r--r--net-p2p/edonkey-tool-hash/pkg-comment1
-rw-r--r--net-p2p/edonkey-tool-hash/pkg-descr6
-rw-r--r--net-p2p/edonkey-tool-hash/pkg-plist1
11 files changed, 73 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 19ae075..ab1a746 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -59,6 +59,7 @@
SUBDIR += dnetc
SUBDIR += dog
SUBDIR += dotfile
+ SUBDIR += edonkey-tool-hash
SUBDIR += emma
SUBDIR += estic
SUBDIR += ewipe
diff --git a/misc/edonkey-tool-hash/Makefile b/misc/edonkey-tool-hash/Makefile
new file mode 100644
index 0000000..4ecca6a
--- /dev/null
+++ b/misc/edonkey-tool-hash/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: edonkey hash tool
+# Date created: Wed Feb 20 18:03:49 BRT 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= edonkey
+PORTVERSION= 0.0.1
+CATEGORIES= misc
+MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/
+PKGNAMESUFFIX= -tool-hash
+DISTNAME= ed2k_hash
+
+MAINTAINER= lioux@FreeBSD.org
+
+# I could have written a Makefile but I would rather
+# not waste inodes
+do-build:
+ @cd ${WRKSRC} && ${CC} -D__linux ${CFLAGS} ${LDFLAGS} -lmd \
+ ed2k_hash.c -o ${PORTNAME}${PKGNAMESUFFIX}
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \
+ ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/misc/edonkey-tool-hash/distinfo b/misc/edonkey-tool-hash/distinfo
new file mode 100644
index 0000000..fcc84b1
--- /dev/null
+++ b/misc/edonkey-tool-hash/distinfo
@@ -0,0 +1 @@
+MD5 (ed2k_hash.tar.gz) = f4645f0f44b9332a6e5672d8b8a0f0ab
diff --git a/misc/edonkey-tool-hash/pkg-comment b/misc/edonkey-tool-hash/pkg-comment
new file mode 100644
index 0000000..8ba672f
--- /dev/null
+++ b/misc/edonkey-tool-hash/pkg-comment
@@ -0,0 +1 @@
+Both calculates 'eDonkey hashes' and produces ed2k:// links for files
diff --git a/misc/edonkey-tool-hash/pkg-descr b/misc/edonkey-tool-hash/pkg-descr
new file mode 100644
index 0000000..f6fbcc9
--- /dev/null
+++ b/misc/edonkey-tool-hash/pkg-descr
@@ -0,0 +1,6 @@
+This tool takes a file and calculates the final 'eDonkey hash' for
+it that you need if you want to create ed2k:// links to that file.
+It also spits out the complete ed2k:// link in the end and appends
+it to the file 'ed2k_links.txt' for easier copy-and-paste later on.
+
+WWW: http://users.aber.ac.uk/tpm01/ed2k_tools/ed2k_hash.html
diff --git a/misc/edonkey-tool-hash/pkg-plist b/misc/edonkey-tool-hash/pkg-plist
new file mode 100644
index 0000000..5a5e8ae
--- /dev/null
+++ b/misc/edonkey-tool-hash/pkg-plist
@@ -0,0 +1 @@
+bin/edonkey-tool-hash
diff --git a/net-p2p/edonkey-tool-hash/Makefile b/net-p2p/edonkey-tool-hash/Makefile
new file mode 100644
index 0000000..4ecca6a
--- /dev/null
+++ b/net-p2p/edonkey-tool-hash/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: edonkey hash tool
+# Date created: Wed Feb 20 18:03:49 BRT 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= edonkey
+PORTVERSION= 0.0.1
+CATEGORIES= misc
+MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/
+PKGNAMESUFFIX= -tool-hash
+DISTNAME= ed2k_hash
+
+MAINTAINER= lioux@FreeBSD.org
+
+# I could have written a Makefile but I would rather
+# not waste inodes
+do-build:
+ @cd ${WRKSRC} && ${CC} -D__linux ${CFLAGS} ${LDFLAGS} -lmd \
+ ed2k_hash.c -o ${PORTNAME}${PKGNAMESUFFIX}
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \
+ ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/net-p2p/edonkey-tool-hash/distinfo b/net-p2p/edonkey-tool-hash/distinfo
new file mode 100644
index 0000000..fcc84b1
--- /dev/null
+++ b/net-p2p/edonkey-tool-hash/distinfo
@@ -0,0 +1 @@
+MD5 (ed2k_hash.tar.gz) = f4645f0f44b9332a6e5672d8b8a0f0ab
diff --git a/net-p2p/edonkey-tool-hash/pkg-comment b/net-p2p/edonkey-tool-hash/pkg-comment
new file mode 100644
index 0000000..8ba672f
--- /dev/null
+++ b/net-p2p/edonkey-tool-hash/pkg-comment
@@ -0,0 +1 @@
+Both calculates 'eDonkey hashes' and produces ed2k:// links for files
diff --git a/net-p2p/edonkey-tool-hash/pkg-descr b/net-p2p/edonkey-tool-hash/pkg-descr
new file mode 100644
index 0000000..f6fbcc9
--- /dev/null
+++ b/net-p2p/edonkey-tool-hash/pkg-descr
@@ -0,0 +1,6 @@
+This tool takes a file and calculates the final 'eDonkey hash' for
+it that you need if you want to create ed2k:// links to that file.
+It also spits out the complete ed2k:// link in the end and appends
+it to the file 'ed2k_links.txt' for easier copy-and-paste later on.
+
+WWW: http://users.aber.ac.uk/tpm01/ed2k_tools/ed2k_hash.html
diff --git a/net-p2p/edonkey-tool-hash/pkg-plist b/net-p2p/edonkey-tool-hash/pkg-plist
new file mode 100644
index 0000000..5a5e8ae
--- /dev/null
+++ b/net-p2p/edonkey-tool-hash/pkg-plist
@@ -0,0 +1 @@
+bin/edonkey-tool-hash
OpenPOWER on IntegriCloud