diff options
author | pav <pav@FreeBSD.org> | 2004-06-03 19:25:16 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-06-03 19:25:16 +0800 |
commit | 5c8f8f3d2e304e476a8091a440b7329165fd8be2 (patch) | |
tree | 24ace96f34c3c3e4ec8b22b30ba3854909bf85fe /misc | |
parent | f42d45fba7ff7a507e7bb1d7bd472f53aa5ed1ad (diff) | |
download | freebsd-ports-gnome-5c8f8f3d2e304e476a8091a440b7329165fd8be2.tar.gz freebsd-ports-gnome-5c8f8f3d2e304e476a8091a440b7329165fd8be2.tar.zst freebsd-ports-gnome-5c8f8f3d2e304e476a8091a440b7329165fd8be2.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)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dnetc/Makefile | 15 | ||||
-rw-r--r-- | misc/dnetc/distinfo.alpha | 2 | ||||
-rw-r--r-- | misc/dnetc/distinfo.i386 (renamed from misc/dnetc/distinfo) | 0 | ||||
-rw-r--r-- | misc/dnetc/distinfo.sparc64 | 2 |
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 |