mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
- 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)
This commit is contained in:
parent
02209a0d41
commit
315c6e3758
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110752
@ -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
|
||||
|
2
misc/dnetc/distinfo.alpha
Normal file
2
misc/dnetc/distinfo.alpha
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (dnetc481-freebsd-alpha-elf.tar.gz) = 707beb78af2064cc55ed46444719cd2f
|
||||
SIZE (dnetc481-freebsd-alpha-elf.tar.gz) = 374272
|
2
misc/dnetc/distinfo.sparc64
Normal file
2
misc/dnetc/distinfo.sparc64
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (dnetc481-freebsd-sparc64-elf.tar.gz) = af5d9f65679ff401e2d3337b87246e3b
|
||||
SIZE (dnetc481-freebsd-sparc64-elf.tar.gz) = 403488
|
Loading…
Reference in New Issue
Block a user