1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net-p2p/edonkey-tool-hash/Makefile
Mario Sergio Fujikawa Ferreira 0f311a05e5 - edonkey-tool-hash version 0.0.1: Both calculates 'eDonkey hashes'
and produces ed2k:// links for files
2002-02-20 22:36:43 +00:00

28 lines
672 B
Makefile

# 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>