aboutsummaryrefslogtreecommitdiff
path: root/misc/dnetc/Makefile
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/Makefile
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/Makefile')
-rw-r--r--misc/dnetc/Makefile8
1 files changed, 6 insertions, 2 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