From b04569e3fbaa7e78920d915b42cfaaa83984dc57 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Wed, 2 Nov 2005 21:45:08 +0000 Subject: - Use freebsd5 vendor binary for FreeBSD 5+/i386 - Remove INFO file PR: ports/88250 Submitted by: Andrew Pantyukhin Approved by: Tim Bishop (maintainer) --- misc/dnetc/Makefile | 8 ++++++-- misc/dnetc/distinfo.i386 | 2 ++ misc/dnetc/files/INFO | 17 ----------------- misc/dnetc/pkg-plist | 1 - 4 files changed, 8 insertions(+), 20 deletions(-) delete mode 100644 misc/dnetc/files/INFO (limited to 'misc/dnetc') 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 -- cgit v1.2.3