aboutsummaryrefslogtreecommitdiff
path: root/misc/dnetc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-11-02 21:45:08 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-11-02 21:45:08 +0000
commitb04569e3fbaa7e78920d915b42cfaaa83984dc57 (patch)
tree998deb31340926d1024052c304187903d4e74a94 /misc/dnetc
parentcebfb9c66bc16e20d11d2acbdf3ed00484378e6b (diff)
downloadports-b04569e3fbaa7e78920d915b42cfaaa83984dc57.tar.gz
ports-b04569e3fbaa7e78920d915b42cfaaa83984dc57.zip
- Use freebsd5 vendor binary for FreeBSD 5+/i386
- Remove INFO file PR: ports/88250 Submitted by: Andrew Pantyukhin <infofarmer@gmail.com> Approved by: Tim Bishop <tim@bishnet.net> (maintainer)
Notes
Notes: svn path=/head/; revision=147053
Diffstat (limited to 'misc/dnetc')
-rw-r--r--misc/dnetc/Makefile8
-rw-r--r--misc/dnetc/distinfo.i3862
-rw-r--r--misc/dnetc/files/INFO17
-rw-r--r--misc/dnetc/pkg-plist1
4 files changed, 8 insertions, 20 deletions
diff --git a/misc/dnetc/Makefile b/misc/dnetc/Makefile
index c807e36b052f..97ff89a51829 100644
--- a/misc/dnetc/Makefile
+++ b/misc/dnetc/Makefile
@@ -53,7 +53,12 @@ VERSION= 2.9011.496
.endif
.if ${OSVERSION} < 300000
-IGNORE= "This port requires FreeBSD 3.X or greater."
+IGNORE= requires FreeBSD 3.X or greater
+.endif
+
+.if ${ARCH} == "i386" && ${OSVERSION} > 503000
+MASTER_SITE_SUBDIR= prerelease/rc
+DISTNAME= dnetc${PORTVERSION:E}-freebsd5-${ARCH:S/i386/x86/}-elf
.endif
post-extract:
@@ -85,7 +90,6 @@ do-install:
${INSTALL} -c -m ${BINMODE} -o ${CLIENTUSER} -g ${CLIENTGROUP} ${WRKSRC}/dnetc ${BINDIR}
- ${INSTALL_DATA} ${FILESDIR}/INFO ${BINDIR}
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKDIR}/dnetc.sh ${PREFIX}/etc/rc.d/dnetc.sh
diff --git a/misc/dnetc/distinfo.i386 b/misc/dnetc/distinfo.i386
index 558601b519fe..328c5bb758e8 100644
--- a/misc/dnetc/distinfo.i386
+++ b/misc/dnetc/distinfo.i386
@@ -1,2 +1,4 @@
MD5 (dnetc496-freebsd-x86-elf.tar.gz) = 7e58f161ecb727014034529fce2a3b20
SIZE (dnetc496-freebsd-x86-elf.tar.gz) = 327578
+MD5 (dnetc496-freebsd5-x86-elf.tar.gz) = d8f83e67f43ff0946ea2449eaa22fa0b
+SIZE (dnetc496-freebsd5-x86-elf.tar.gz) = 425918
diff --git a/misc/dnetc/files/INFO b/misc/dnetc/files/INFO
deleted file mode 100644
index 705cea1f1467..000000000000
--- a/misc/dnetc/files/INFO
+++ /dev/null
@@ -1,17 +0,0 @@
-This is the distributed.net's rc5/des/csc/ogr distributed
-computing client.
-
-Please look at the dnetc man page for more information.
-
-As a "loosely knit" group of computer users from all
-over the world, we take up challenges which require
-a lot of computing power. We solve these by distributing
-the cpu power needed over the computers of our members. That's
-why we're called "distributed.net." Read more about
-it at www.distributed.net.
-
-For your statistics, check out:
- http://stats.distributed.net/
-
-For general help with the client or distributed.net, mail:
- help@distributed.net
diff --git a/misc/dnetc/pkg-plist b/misc/dnetc/pkg-plist
index 2c708af56079..10ce552f3518 100644
--- a/misc/dnetc/pkg-plist
+++ b/misc/dnetc/pkg-plist
@@ -1,5 +1,4 @@
distributed.net/dnetc
-distributed.net/INFO
@unexec if cmp -s %D/distributed.net/dnetc.ini %D/distributed.net/dnetc.ini.sample; then rm -f %D/distributed.net/dnetc.ini; fi
distributed.net/dnetc.ini.sample
@exec [ -f %B/dnetc.ini ] || cp %B/%f %B/dnetc.ini