summaryrefslogtreecommitdiff
path: root/net-p2p/linux-edonkey-tool-recovermet/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-02-21 01:41:17 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-02-21 01:41:17 +0000
commit22df464dd3d375e8ab3698e1317e88e2c12c1884 (patch)
tree0dfb048d49bba4c7f11d2dcf2e81c1149bf5c28e /net-p2p/linux-edonkey-tool-recovermet/Makefile
parentNew port edonkey-tool-slist version 0.2: Checks which servers are (diff)
New port edonkey-tool-recovermet version 0.0.2: Tool that tries to
re-create x.part.met files compromised due to crash
Notes
Notes: svn path=/head/; revision=55015
Diffstat (limited to 'net-p2p/linux-edonkey-tool-recovermet/Makefile')
-rw-r--r--net-p2p/linux-edonkey-tool-recovermet/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/net-p2p/linux-edonkey-tool-recovermet/Makefile b/net-p2p/linux-edonkey-tool-recovermet/Makefile
new file mode 100644
index 000000000000..843a4049df82
--- /dev/null
+++ b/net-p2p/linux-edonkey-tool-recovermet/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: edonkey recovermet 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.2
+CATEGORIES= misc
+MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/
+PKGNAMESUFFIX= -tool-recovermet
+DISTNAME= ed2k_recovermet
+EXTRACT_SUFX= .gz
+EXTRACT_ONLY=
+
+MAINTAINER= lioux@FreeBSD.org
+
+ONLY_FOR_ARCHS= i386
+USE_LINUX= yes
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+STRIP=
+
+STRIP_CMD= ${LINUXBASE}/usr/bin/strip
+
+.if exists(/usr/bin/brandelf)
+BRANDELF?= /usr/bin/brandelf
+.else
+BRANDELF?= brandelf
+.endif
+
+BINARY_NAME= ${PORTNAME}${PKGNAMESUFFIX}
+
+post-extract:
+ @${GZCAT} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKSRC}/${BINARY_NAME}
+
+pre-install:
+.if exists(${STRIP_CMD})
+ @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
+.endif
+ @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>