aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-10-06 01:29:38 +0800
committerlioux <lioux@FreeBSD.org>2002-10-06 01:29:38 +0800
commit647cca5775b30eaf1dd5d97e35b2c8b08f78ae8d (patch)
treee6bfdd49df51f0e96fe966ddef7bd72741cc4b49 /net-p2p
parentf16eed8667cb92491e426d10a76ce2ef770186a2 (diff)
downloadfreebsd-ports-gnome-647cca5775b30eaf1dd5d97e35b2c8b08f78ae8d.tar.gz
freebsd-ports-gnome-647cca5775b30eaf1dd5d97e35b2c8b08f78ae8d.tar.zst
freebsd-ports-gnome-647cca5775b30eaf1dd5d97e35b2c8b08f78ae8d.zip
Update to 0.0.2
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/edonkey-tool-hash/Makefile11
-rw-r--r--net-p2p/edonkey-tool-hash/distinfo2
2 files changed, 9 insertions, 4 deletions
diff --git a/net-p2p/edonkey-tool-hash/Makefile b/net-p2p/edonkey-tool-hash/Makefile
index 4ecca6ab2dc0..50271e166808 100644
--- a/net-p2p/edonkey-tool-hash/Makefile
+++ b/net-p2p/edonkey-tool-hash/Makefile
@@ -6,18 +6,23 @@
#
PORTNAME= edonkey
-PORTVERSION= 0.0.1
+PORTVERSION= 0.0.2
CATEGORIES= misc
MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/
PKGNAMESUFFIX= -tool-hash
-DISTNAME= ed2k_hash
+DISTNAME= ed2k_hash-${PORTVERSION:S/^0.//}
MAINTAINER= lioux@FreeBSD.org
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
+WRKSRC= ${WRKDIR}/ed2k_hash
+
# I could have written a Makefile but I would rather
# not waste inodes
do-build:
- @cd ${WRKSRC} && ${CC} -D__linux ${CFLAGS} ${LDFLAGS} -lmd \
+ cd ${WRKSRC} && ${CC} -D__linux ${CFLAGS} ${LDFLAGS} -lmd \
+ -I${LOCALBASE}/include -L${LOCALBASE}/lib -lgnugetopt \
ed2k_hash.c -o ${PORTNAME}${PKGNAMESUFFIX}
do-install:
diff --git a/net-p2p/edonkey-tool-hash/distinfo b/net-p2p/edonkey-tool-hash/distinfo
index fcc84b1a7415..734dcd1acf24 100644
--- a/net-p2p/edonkey-tool-hash/distinfo
+++ b/net-p2p/edonkey-tool-hash/distinfo
@@ -1 +1 @@
-MD5 (ed2k_hash.tar.gz) = f4645f0f44b9332a6e5672d8b8a0f0ab
+MD5 (ed2k_hash-0.2.tar.gz) = fda4cf150c6a40dfdb98776abb08bc8b