aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/edonkey-tool-hash/Makefile
blob: 4ecca6ab2dc03fae7b142b1790c94e4b47904c8e (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
# 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
PORTVERSION=    0.0.1
CATEGORIES= misc
MASTER_SITES=   http://users.aber.ac.uk/tpm01/ed2k_tools/
PKGNAMESUFFIX=  -tool-hash
DISTNAME=   ed2k_hash

MAINTAINER= lioux@FreeBSD.org

# I could have written a Makefile but I would rather
# not waste inodes
do-build:
    @cd ${WRKSRC} && ${CC} -D__linux ${CFLAGS} ${LDFLAGS} -lmd \
        ed2k_hash.c -o ${PORTNAME}${PKGNAMESUFFIX}

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

.include <bsd.port.mk>