2002-02-20 23:36:43 +01:00
|
|
|
# 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
|
2002-12-23 12:11:23 +01:00
|
|
|
PORTVERSION= 0.3.2
|
2002-02-20 23:36:43 +01:00
|
|
|
CATEGORIES= misc
|
2002-12-23 12:11:23 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ed2k-tools
|
2002-02-20 23:36:43 +01:00
|
|
|
PKGNAMESUFFIX= -tool-hash
|
2002-12-23 12:11:23 +01:00
|
|
|
DISTNAME= ed2k_hash-${PORTVERSION}
|
2002-02-20 23:36:43 +01:00
|
|
|
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= Both calculates 'eDonkey/Overnet hashes' producing ed2k:// file links
|
2002-02-20 23:36:43 +01:00
|
|
|
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= bin/edonkey-tool-hash
|
2002-12-23 12:11:23 +01:00
|
|
|
USE_REINPLACE= yes
|
2004-03-14 07:17:56 +01:00
|
|
|
USE_LIBTOOL_VER=13
|
2004-02-08 02:14:05 +01:00
|
|
|
USE_SIZE= yes
|
2002-12-23 12:11:23 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-10-05 19:29:38 +02:00
|
|
|
|
2002-12-23 12:11:23 +01:00
|
|
|
post-patch:
|
|
|
|
# respect CFLAGS
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|-O2||' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
2002-02-20 23:36:43 +01:00
|
|
|
|
|
|
|
do-install:
|
2002-12-23 12:11:23 +01:00
|
|
|
# uphold POLA, do not change binary name
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/ed2k_hash/ed2k_hash \
|
|
|
|
${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
|
2002-02-20 23:36:43 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|