1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/misc/edonkey-tool-hash/Makefile
Mario Sergio Fujikawa Ferreira e0260a34d9 Update to 0.0.2
2002-10-05 17:29:38 +00:00

33 lines
838 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.2
CATEGORIES= misc
MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/
PKGNAMESUFFIX= -tool-hash
DISTNAME= ed2k_hash-${PORTVERSION:S/^0.//}
MAINTAINER= lioux@FreeBSD.org
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
WRKSRC= ${WRKDIR}/ed2k_hash
# I could have written a Makefile but I would rather
# not waste inodes
do-build:
cd ${WRKSRC} && ${CC} -D__linux ${CFLAGS} ${LDFLAGS} -lmd \
-I${LOCALBASE}/include -L${LOCALBASE}/lib -lgnugetopt \
ed2k_hash.c -o ${PORTNAME}${PKGNAMESUFFIX}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \
${PREFIX}/bin
.include <bsd.port.mk>