summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2004-07-24 00:36:51 +0000
committerhubertf <hubertf@pkgsrc.org>2004-07-24 00:36:51 +0000
commit8aa03f221db2e6e48da7468cd6e62c55bf17cb12 (patch)
tree829b71d439baa9b5fb682397d9cce6ce173fc760 /misc
parentd5068e90400c21d4f4155da767d3a8cfed7c330d (diff)
downloadpkgsrc-8aa03f221db2e6e48da7468cd6e62c55bf17cb12.tar.gz
Updated dnetc (for netbsd/i386) to 2.9007.486, pr PR 22390.
Diffstat (limited to 'misc')
-rw-r--r--misc/dnetc/Makefile35
-rw-r--r--misc/dnetc/distinfo6
2 files changed, 31 insertions, 10 deletions
diff --git a/misc/dnetc/Makefile b/misc/dnetc/Makefile
index c97875bf4f5..ccea656f0c4 100644
--- a/misc/dnetc/Makefile
+++ b/misc/dnetc/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2003/10/03 15:57:08 kristerw Exp $
+# $NetBSD: Makefile,v 1.10 2004/07/24 00:36:51 hubertf Exp $
DISTNAME= ${DISTNAME_${OPSYS}_${MACHINE_ARCH}}
-PKGNAME= dnetc-2.8018.472
+PKGNAME= dnetc-2.${DISTVER_${OPSYS}_${MACHINE_ARCH}}
CATEGORIES= misc
MASTER_SITES= http://http.distributed.net/pub/dcti/current-client/
@@ -11,7 +11,8 @@ COMMENT= Official distributed.net client
ONLY_FOR_PLATFORM= Darwin-*-powerpc NetBSD-*-alpha NetBSD-*-arm \
NetBSD-*-arm32 NetBSD-*-i386 NetBSD-*-m68k \
- NetBSD-*-sparc SunOS-*-sparc
+ NetBSD-*-mipsel NetBSD-*-powerpc NetBSD-*-sparc \
+ NetBSD-*-sparc64 NetBSD-*-vax SunOS-*-sparc
NO_BUILD= YES
USE_PKGINSTALL= YES
@@ -20,21 +21,41 @@ DISTNAME_NetBSD_m68k= dnetc-netbsd-68k
DISTNAME_NetBSD_alpha= dnetc-netbsd-alpha-elf
DISTNAME_NetBSD_arm= dnetc-netbsd-arm32
DISTNAME_NetBSD_arm32= dnetc-netbsd-arm32
-DISTNAME_NetBSD_i386= dnetc-netbsd-i386-elf
+DISTNAME_NetBSD_i386= dnetc-netbsd-x86-elf
+DISTNAME_NetBSD_mipsel= dnetc-netbsd-mipsel
+DISTNAME_NetBSD_powerpc= dnetc-netbsd-ppc
DISTNAME_NetBSD_sparc= dnetc-netbsd-sparc-elf
+DISTNAME_NetBSD_sparc64= dnetc-netbsd-sparc64-elf
+DISTNAME_NetBSD_vax= dnetc-netbsd-vax
DISTNAME_SunOS_sparc= dnetc-solaris-sparc
+DISTVER_Darwin_powerpc= 9005.484
+DISTVER_NetBSD_m68k= 9005.483
+DISTVER_NetBSD_alpha= 9003.481
+DISTVER_NetBSD_arm= 9001.478
+DISTVER_NetBSD_arm32= ${DISTVER_NetBSD_arm}
+DISTVER_NetBSD_i386= 9007.486
+DISTVER_NetBSD_mipsel= 9001.478
+DISTVER_NetBSD_powerpc= 9005.484
+DISTVER_NetBSD_sparc= 9001.478
+DISTVER_NetBSD_sparc64= 9004.482
+DISTVER_NetBSD_vax= 9003.480
+DISTVER_SunOS_sparc= 9005.484
+
+# wonkolicious macro expansion:
+WRKSRC=${WRKDIR}/${DISTNAME:S/dnetc/dnetc${DISTVER_${OPSYS}_${MACHINE_ARCH}:E}/1}
+
RCD_SCRIPTS= dnetc
.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "arm32"
do-extract:
- @${MKDIR} ${WRKSRC}
- @cd ${WRKSRC}; ${GTAR} -zxf ${DISTDIR}/${DISTFILES}
+ @cd ${WRKDIR} && ${GTAR} -zxf ${DISTDIR}/${DISTFILES}
.endif
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dnetc/
-.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
+.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" \
+ || ${MACHINE_ARCH} == "sparc"
${INSTALL_DATA} ${WRKSRC}/readme.* ${PREFIX}/share/doc/dnetc/
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/dnetc/
.else
diff --git a/misc/dnetc/distinfo b/misc/dnetc/distinfo
index d872b4310df..2dca0fd94d4 100644
--- a/misc/dnetc/distinfo
+++ b/misc/dnetc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2003/10/01 18:45:35 kristerw Exp $
+$NetBSD: distinfo,v 1.5 2004/07/24 00:36:51 hubertf Exp $
SHA1 (dnetc-darwin-ppc.tar.gz) = 4af6fac50c0ca5256cf5f6622f9aba39348cfcfc
Size (dnetc-darwin-ppc.tar.gz) = 193437 bytes
@@ -8,9 +8,9 @@ SHA1 (dnetc-netbsd-alpha-elf.tar.gz) = ebddc524ccbbd9d72031a036ceb320a60c4a9059
Size (dnetc-netbsd-alpha-elf.tar.gz) = 446179 bytes
SHA1 (dnetc-netbsd-arm32.tar.gz) = da5f79ea1bc84a1e3a7a5a36c9e77e38ae6f477e
Size (dnetc-netbsd-arm32.tar.gz) = 190196 bytes
-SHA1 (dnetc-netbsd-i386-elf.tar.gz) = 689b2d51134725fb3865ca5c2c47e1d73b62dc32
-Size (dnetc-netbsd-i386-elf.tar.gz) = 319938 bytes
SHA1 (dnetc-netbsd-sparc-elf.tar.gz) = b67f38b83dfef47d86a8e9d3f14da3a8cf55f3e5
Size (dnetc-netbsd-sparc-elf.tar.gz) = 351309 bytes
SHA1 (dnetc-solaris-sparc.tar.gz) = 38a1ab8ce7e79bbe2f252ef0883c50ac77690bb2
Size (dnetc-solaris-sparc.tar.gz) = 229217 bytes
+SHA1 (dnetc-netbsd-x86-elf.tar.gz) = 865904205f1edc90b18fc5c61e0ef0747172e2e9
+Size (dnetc-netbsd-x86-elf.tar.gz) = 345470 bytes