aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/linux-edonkey-tool-recovermet/Makefile
blob: 0e89235baf59925b6b7129a95838994dfbd88e33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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
PORTREVISION=   1
CATEGORIES= net-p2p linux
MASTER_SITES=   ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
PKGNAMEPREFIX=  linux-
PKGNAMESUFFIX=  -tool-recovermet
DISTNAME=   ed2k_recovermet-0.2_alpha

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tool that tries to re-create x.part.met files compromised due to crash

ONLY_FOR_ARCHS= i386
USE_BZIP2=  yes
USE_LINUX=  yes
NO_WRKSUBDIR=   yes
NO_BUILD=   yes
PLIST_FILES=    bin/edonkey-tool-recovermet

BINARY_NAME=    ed2k_recovermet

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} \
        ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}

.include <bsd.port.pre.mk>

pre-install:
.if exists(${STRIP_CMD})
    @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
.endif
    @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>