summaryrefslogtreecommitdiff
path: root/net/freenet-tools/Makefile
blob: 47ac0284f53ba9f2f7171375ce3234dc310d2c9b (plain)
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
# $NetBSD: Makefile,v 1.4 2005/04/11 21:46:46 tv Exp $
#

DISTNAME=		ft-0.2.23
PKGNAME=		${DISTNAME:S/ft-/freenet-tools-/}
WRKSRC=			${WRKDIR}/ft
CATEGORIES=		net www
MASTER_SITES=		http://entropy.stop1984.com/files/
EXTRACT_SUFX=		.tgz

MAINTAINER=		tv@duh.org
HOMEPAGE=		http://entropy.stop1984.com/
COMMENT=		Freenet Tools, freesite manipulation tools for Freenet and Entropy

USE_GNU_TOOLS+=		make

MAKE_FLAGS+=		CC=${CC:Q} LD=${CC:Q} CFLAGS=${CFLAGS:Q} LDFLAGS=${LDFLAGS:Q}
CFLAGS+=		-DFT_BIN=\"${PREFIX}/bin\"

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ft ${PREFIX}/bin/ft
.for f in fcpchk fcpget fcpgetsite fcphello fcpinv fcpkey fcpput fcpputsite
	${LN} -s -f ft ${PREFIX}/bin/$f
.endfor

.include "../../mk/bsd.pkg.mk"