1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

o Update to 0.3.2: older distfile no longer fetchable

o Update informational files pkg-{comment,descr} with new data added
  after this project moved to MASTER_SITE_SOURCEFORGE

Approved by:	portmgr (self & no objections)
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-12-23 11:11:23 +00:00
parent 25f20d36e4
commit 2a863ebab0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71815
8 changed files with 44 additions and 38 deletions

View File

@ -6,27 +6,28 @@
#
PORTNAME= edonkey
PORTVERSION= 0.0.2
PORTVERSION= 0.3.2
CATEGORIES= misc
MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ed2k-tools
PKGNAMESUFFIX= -tool-hash
DISTNAME= ed2k_hash-${PORTVERSION:S/^0.//}
DISTNAME= ed2k_hash-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_REINPLACE= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
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 \
-I${LOCALBASE}/include -L${LOCALBASE}/lib -lgnugetopt \
ed2k_hash.c -o ${PORTNAME}${PKGNAMESUFFIX}
post-patch:
# respect CFLAGS
@${REINPLACE_CMD} -E -e \
's|-O2||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \
${PREFIX}/bin
# uphold POLA, do not change binary name
@${INSTALL_PROGRAM} ${WRKSRC}/ed2k_hash/ed2k_hash \
${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (ed2k_hash-0.2.tar.gz) = fda4cf150c6a40dfdb98776abb08bc8b
MD5 (ed2k_hash-0.3.2.tar.gz) = d350608ce000d0f0e34fd91c572ee9bf

View File

@ -1 +1 @@
Both calculates 'eDonkey hashes' and produces ed2k:// links for files
Both calculates 'eDonkey/Overnet hashes' producing ed2k:// file links

View File

@ -1,6 +1,8 @@
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.
This tool takes a file and calculates the final 'eDonkey/Overnet
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/
WWW: http://ed2k-tools.sourceforge.net/

View File

@ -6,27 +6,28 @@
#
PORTNAME= edonkey
PORTVERSION= 0.0.2
PORTVERSION= 0.3.2
CATEGORIES= misc
MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ed2k-tools
PKGNAMESUFFIX= -tool-hash
DISTNAME= ed2k_hash-${PORTVERSION:S/^0.//}
DISTNAME= ed2k_hash-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_REINPLACE= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
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 \
-I${LOCALBASE}/include -L${LOCALBASE}/lib -lgnugetopt \
ed2k_hash.c -o ${PORTNAME}${PKGNAMESUFFIX}
post-patch:
# respect CFLAGS
@${REINPLACE_CMD} -E -e \
's|-O2||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \
${PREFIX}/bin
# uphold POLA, do not change binary name
@${INSTALL_PROGRAM} ${WRKSRC}/ed2k_hash/ed2k_hash \
${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (ed2k_hash-0.2.tar.gz) = fda4cf150c6a40dfdb98776abb08bc8b
MD5 (ed2k_hash-0.3.2.tar.gz) = d350608ce000d0f0e34fd91c572ee9bf

View File

@ -1 +1 @@
Both calculates 'eDonkey hashes' and produces ed2k:// links for files
Both calculates 'eDonkey/Overnet hashes' producing ed2k:// file links

View File

@ -1,6 +1,8 @@
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.
This tool takes a file and calculates the final 'eDonkey/Overnet
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/
WWW: http://ed2k-tools.sourceforge.net/