# $OpenBSD: Makefile,v 1.13 2007/04/05 18:20:51 espie Exp $ ONLY_FOR_ARCHS= i386 m68k sparc COMMENT= "official distributed.net client" A-i386= x86-elf V-i386= 2.9008 SV-i386= 491 S-i386= 0 A-m68k= m68k V-m68k= 2.9005 SV-m68k= 483 S-m68k= 1 A-sparc= sparc-aout V-sparc= 2.9002 SV-sparc= 479 S-sparc= 2 V= ${V-${MACHINE_ARCH}} A= ${A-${MACHINE_ARCH}} SV= ${SV-${MACHINE_ARCH}} S= ${S-${MACHINE_ARCH}} DISTFILES= dnetc${SV}-openbsd-$A${EXTRACT_SUFX}:$S .for m in ${ONLY_FOR_ARCHS} SUPDISTFILES+= dnetc${SV-$m}-openbsd-${A-$m}${EXTRACT_SUFX}:${S-$m} MASTER_SITES${S-$m}= http://http.distributed.net/pub/dcti/v${V-$m}/ .endfor PKGNAME= dnetc-${V}.${SV} DISTNAME= dnetc${SV}-openbsd-${A} CATEGORIES= misc HOMEPAGE= http://www.distributed.net/ MAINTAINER= Sico Bruins PERMIT_PACKAGE_CDROM= "no redistribution" PERMIT_PACKAGE_FTP= "no redistribution" PERMIT_DISTFILES_CDROM= "no redistribution" PERMIT_DISTFILES_FTP= "no redistribution" NO_BUILD= Yes NO_REGRESS= Yes WRKSRC= ${WRKDIR}/dnetc${SV}-openbsd-${A} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dnetc ${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/dnetc.1 ${PREFIX}/man/man1/ .include