summaryrefslogtreecommitdiff
path: root/misc/dnetc/Makefile
blob: 255c534d38bf0aa73811d7a9ac0aecb50f3dc1e1 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.5 2003/06/11 20:50:57 abs Exp $

DISTNAME=	${DISTNAME_${OPSYS}_${MACHINE_ARCH}}
PKGNAME=	dnetc-2.8015.469
PKGREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	http://http.distributed.net/pub/dcti/current-client/

MAINTAINER=	tech-pkg@netbsd.org
HOMEPAGE=	http://www.distributed.net/
COMMENT=	official distributed.net client

ONLY_FOR_PLATFORM=	Darwin-*-powerpc NetBSD-*-alpha NetBSD-*-arm	\
			NetBSD-*-arm32 NetBSD-*-i386 NetBSD-*-m68k	\
			NetBSD-*-sparc SunOS-*-sparc
NO_BUILD=	YES
USE_PKGINSTALL=	YES

DISTNAME_Darwin_powerpc=	dnetc-darwin-ppc
DISTNAME_NetBSD_m68k=		dnetc-netbsd-68k
DISTNAME_NetBSD_alpha=		dnetc-netbsd-alpha
DISTNAME_NetBSD_arm=		dnetc-netbsd-arm32
DISTNAME_NetBSD_arm32=		dnetc-netbsd-arm32
DISTNAME_NetBSD_i386=		dnetc-netbsd-i386-elf
DISTNAME_NetBSD_sparc=		dnetc-netbsd-sparc-elf
DISTNAME_SunOS_sparc=		dnetc-solaris-sparc

RCD_SCRIPTS=	dnetc

do-extract:
	@${MKDIR} ${WRKSRC}
	@cd ${WRKSRC}; ${GTAR} -zxf ${DISTDIR}/${DISTFILES}

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dnetc/
	${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/dnetc/
	${INSTALL_MAN} ${WRKSRC}/dnetc.1 ${PREFIX}/man/man1/
	${INSTALL_PROGRAM} ${WRKSRC}/dnetc ${PREFIX}/bin/

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