[Midnightbsd-cvs] mports: misc/dnetc: Make a few subtle adjustments to this port.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Apr 20 15:53:27 EDT 2008
Log Message:
-----------
Make a few subtle adjustments to this port.
1. We don't need to cat the pkg message, this is auto in mnbsd
2. We don't support the Alpha
3. We know what version of FreeBSD code we can support, no need for version checks.
4. Whitespace nits.
Modified Files:
--------------
mports/misc/dnetc:
Makefile (r1.1 -> r1.2)
Removed Files:
-------------
mports/misc/dnetc:
distinfo.alpha
-------------- next part --------------
--- misc/dnetc/distinfo.alpha
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (dnetc481-freebsd-alpha-elf.tar.gz) = 707beb78af2064cc55ed46444719cd2f
-SHA256 (dnetc481-freebsd-alpha-elf.tar.gz) = 9d9ee8111f054cf8cedcfcfc937207c09f9742236f3b1872f5d582d19148da63
-SIZE (dnetc481-freebsd-alpha-elf.tar.gz) = 374272
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/misc/dnetc/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L misc/dnetc/Makefile -L misc/dnetc/Makefile -u -r1.1 -r1.2
--- misc/dnetc/Makefile
+++ misc/dnetc/Makefile
@@ -1,6 +1,7 @@
# New ports collection makefile for: dnetc
# Date created: 26 Dec 1999
# Whom: dbaker
+#
# $MidnightBSD$
# $FreeBSD: ports/misc/dnetc/Makefile,v 1.58 2007/10/27 17:49:48 tdb Exp $
#
@@ -19,11 +20,12 @@
MAINTAINER= ports at MidnightBSD.org
COMMENT= Distributed.net distributed computing project client
LICENSE= unknown
+
# These are architecture dependent
WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd-${ARCH:S/i386/x86/}-elf
MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
-ONLY_FOR_ARCHS= i386 alpha sparc64 amd64
+ONLY_FOR_ARCHS= i386 sparc64 amd64
USE_RC_SUBR= dnetc.sh
NO_BUILD= yes
@@ -50,30 +52,19 @@
.if ${ARCH} == i386
REVISION= 0
-.if ${OSVERSION} >= 600034
VERSION= 2.9015.503
DISTNAME= dnetc${PORTVERSION:E}-freebsd6-${ARCH:S/i386/x86/}-elf
WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd6-${ARCH:S/i386/x86/}-elf
-.elif ${OSVERSION} >= 503001
-VERSION= 2.9013.498
-DISTNAME= dnetc${PORTVERSION:E}-freebsd5-${ARCH:S/i386/x86/}-elf
-WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd5-${ARCH:S/i386/x86/}-elf
-.endif
.endif
.if ${ARCH} == amd64
REVISION= 3
-.if ${OSVERSION} >= 600034
VERSION= 2.9012.497
DISTNAME= dnetc${PORTVERSION:E}-freebsd6-${ARCH:S/i386/x86/}-elf
WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd6-${ARCH:S/i386/x86/}-elf
-.elif ${OSVERSION} >= 503001
-VERSION= 2.9011.496
-#DISTNAME= dnetc${PORTVERSION:E}-freebsd5-${ARCH:S/i386/x86/}-elf
-.endif
.endif
-.if ${ARCH} == sparc64 || ${ARCH} == alpha
+.if ${ARCH} == sparc64
REVISION= 3
VERSION= 2.9003.481
.endif
@@ -101,7 +92,6 @@
${INSTALL} -c -m 644 -o ${CLIENTUSER} -g ${CLIENTGROUP} ${WRKSRC}/dnetc.ini ${BINDIR}/dnetc.ini.sample
.if !exists(${BINDIR}/dnetc.ini)
${INSTALL} -c -m 644 -o ${CLIENTUSER} -g ${CLIENTGROUP} ${WRKSRC}/dnetc.ini ${BINDIR}/dnetc.ini
- @${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.post.mk>
More information about the Midnightbsd-cvs
mailing list