aboutsummaryrefslogtreecommitdiff
path: root/misc/dnetc/Makefile
diff options
context:
space:
mode:
authorTim Bishop <tdb@FreeBSD.org>2006-06-25 11:20:51 +0000
committerTim Bishop <tdb@FreeBSD.org>2006-06-25 11:20:51 +0000
commitc2f7e7678be0cd5dc3e05efa505663e63dc63a8b (patch)
treed217c79a6b75842438efaff9504f853dce4462d3 /misc/dnetc/Makefile
parentc66319bbc7cfedd1dfd3ebf3c19ec797f46b1985 (diff)
Notes
Diffstat (limited to 'misc/dnetc/Makefile')
-rw-r--r--misc/dnetc/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/misc/dnetc/Makefile b/misc/dnetc/Makefile
index 3c5792a355ca..5f46aecfb879 100644
--- a/misc/dnetc/Makefile
+++ b/misc/dnetc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dnetc
PORTVERSION= ${VERSION}
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/%SUBDIR%/ \
@@ -56,6 +56,16 @@ VERSION= 2.9011.496
VERSION= 2.9012.497
.endif
+.if ${ARCH} == i386 && ${OSVERSION} >= 503000
+MASTER_SITE_SUBDIR= prerelease/rc
+.if ${OSVERSION} >= 600034
+DISTNAME= dnetc${PORTVERSION:E}-freebsd6-${ARCH:S/i386/x86/}-elf
+WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd6-${ARCH:S/i386/x86/}-elf
+.else
+DISTNAME= dnetc${PORTVERSION:E}-freebsd5-${ARCH:S/i386/x86/}-elf
+.endif
+.endif
+
do-configure:
@if [ ! -f ${PREFIX}/dnetc.ini ]; then \
${INSTALL} -c -m 644 ${FILESDIR}/dnetc.ini ${WRKSRC}; \