aboutsummaryrefslogtreecommitdiff
path: root/misc/dnetc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-06-03 11:25:16 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-06-03 11:25:16 +0000
commit315c6e3758a396bfcd3e4a84b1a95b52ffe4bf18 (patch)
treed22dfd8ef05f08bdf6a813dac4cec2005dc80aed /misc/dnetc
parent02209a0d41e8d6c09401de56d868e3ca77120621 (diff)
downloadports-315c6e3758a396bfcd3e4a84b1a95b52ffe4bf18.tar.gz
ports-315c6e3758a396bfcd3e4a84b1a95b52ffe4bf18.zip
- Try different approach in supporting of multiple architectures with different
version numbering. Inspired by perforce port. PR: ports/67520 Submitted by: Tim Bishop <tim@bishnet.net> (maintainer)
Notes
Notes: svn path=/head/; revision=110752
Diffstat (limited to 'misc/dnetc')
-rw-r--r--misc/dnetc/Makefile15
-rw-r--r--misc/dnetc/distinfo.alpha2
-rw-r--r--misc/dnetc/distinfo.i386 (renamed from misc/dnetc/distinfo)0
-rw-r--r--misc/dnetc/distinfo.sparc642
4 files changed, 14 insertions, 5 deletions
diff --git a/misc/dnetc/Makefile b/misc/dnetc/Makefile
index 94411c49cc86..e8be1ccd1a11 100644
--- a/misc/dnetc/Makefile
+++ b/misc/dnetc/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= dnetc
-# Slave ports may try to override this
-PORTVERSION?= 2.9007.489
+PORTVERSION= ${VERSION}
PORTEPOCH= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/%SUBDIR%/ \
@@ -19,11 +18,11 @@ DISTNAME= dnetc${PORTVERSION:E}-freebsd-${ARCH:S/i386/x86/}-elf
MAINTAINER= tim@bishnet.net
COMMENT= Distributed.net distributed computing project client
-# This is architecture dependent
+# These are architecture dependent
WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd-${ARCH:S/i386/x86/}-elf
+MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
-# Slave ports may have set this
-ONLY_FOR_ARCHS?= i386
+ONLY_FOR_ARCHS= i386 alpha sparc64
NO_BUILD= yes
@@ -43,6 +42,12 @@ MAN1= dnetc.1
.include <bsd.port.pre.mk>
+.if ${ARCH} == sparc64 || ${ARCH} == alpha
+VERSION= 2.9003.481
+.else
+VERSION= 2.9007.489
+.endif
+
.if ${OSVERSION} < 300000
IGNORE= "This port requires FreeBSD 3.X or greater."
.endif
diff --git a/misc/dnetc/distinfo.alpha b/misc/dnetc/distinfo.alpha
new file mode 100644
index 000000000000..0d6f39a6b8ba
--- /dev/null
+++ b/misc/dnetc/distinfo.alpha
@@ -0,0 +1,2 @@
+MD5 (dnetc481-freebsd-alpha-elf.tar.gz) = 707beb78af2064cc55ed46444719cd2f
+SIZE (dnetc481-freebsd-alpha-elf.tar.gz) = 374272
diff --git a/misc/dnetc/distinfo b/misc/dnetc/distinfo.i386
index e88662a0fc41..e88662a0fc41 100644
--- a/misc/dnetc/distinfo
+++ b/misc/dnetc/distinfo.i386
diff --git a/misc/dnetc/distinfo.sparc64 b/misc/dnetc/distinfo.sparc64
new file mode 100644
index 000000000000..47b96c48ff2c
--- /dev/null
+++ b/misc/dnetc/distinfo.sparc64
@@ -0,0 +1,2 @@
+MD5 (dnetc481-freebsd-sparc64-elf.tar.gz) = af5d9f65679ff401e2d3337b87246e3b
+SIZE (dnetc481-freebsd-sparc64-elf.tar.gz) = 403488