aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ncftpd
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-12-05 00:12:40 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-12-05 00:12:40 +0800
commit15fb704a29355a2b5003b0a460ebe60e5c8264c8 (patch)
treeba50b8fb040f80f5c211a7b6744808ad1a27a46a /ftp/ncftpd
parent9725391dedefeece29a028d8ad143d8bf655323e (diff)
downloadfreebsd-ports-gnome-15fb704a29355a2b5003b0a460ebe60e5c8264c8.tar.gz
freebsd-ports-gnome-15fb704a29355a2b5003b0a460ebe60e5c8264c8.tar.zst
freebsd-ports-gnome-15fb704a29355a2b5003b0a460ebe60e5c8264c8.zip
- Allow on > 9.x
- Fix ONLY_FOR_ARCHS - Check OPSYS along with OSVERSION
Diffstat (limited to 'ftp/ncftpd')
-rw-r--r--ftp/ncftpd/Makefile14
-rw-r--r--ftp/ncftpd/distinfo2
2 files changed, 9 insertions, 7 deletions
diff --git a/ftp/ncftpd/Makefile b/ftp/ncftpd/Makefile
index 2de4806bc6a9..5b30d0d4b0a5 100644
--- a/ftp/ncftpd/Makefile
+++ b/ftp/ncftpd/Makefile
@@ -14,9 +14,10 @@ COMMENT= Commercial FTP daemon with a 30-day evaluation license
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-ONLY_FOR_ARCHS= i386 amd64
-BROKEN_i386= Unfetchable
-NO_BUILD= YES
+ONLY_FOR_ARCHS= amd64
+ONLY_FOR_ARCHS_REASON= only available for amd64
+
+NO_BUILD= yes
RESTRICTED= 30 day evaluation license
USE_RC_SUBR= ncftpd
@@ -28,13 +29,12 @@ PORTDOCS= install.html README README.freebsd LICENSE
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 900000
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 900000
BINVER= 9.0
-IGNORE= not yet available for 9.x
-.elif ${OSVERSION} >= 800000
+.elif ${OPSYS} == FreeBSD
BINVER= 8.0
.else
-BINVER= 7.0
+IGNORE= requires FreeBSD
.endif
.if ${ARCH} == amd64
diff --git a/ftp/ncftpd/distinfo b/ftp/ncftpd/distinfo
index 8e99be24aec8..a059d1884897 100644
--- a/ftp/ncftpd/distinfo
+++ b/ftp/ncftpd/distinfo
@@ -10,3 +10,5 @@ SHA256 (ncftpd-2.8.7-freebsd8.0-i386-export.tar.gz) = 165b26cb7a3a77ec9a837cb486
SIZE (ncftpd-2.8.7-freebsd8.0-i386-export.tar.gz) = 423345
SHA256 (ncftpd-2.8.7-freebsd8.0-x86_64-export.tar.gz) = e31c65ef6ee49d8bfea329bce2e854cbff276d93fcd52efce44c950c2c813a85
SIZE (ncftpd-2.8.7-freebsd8.0-x86_64-export.tar.gz) = 460355
+SHA256 (ncftpd-2.8.7-freebsd9.0-x86_64-export.tar.gz) = 3506dca3bc97315ad251afe5490b3afa381816dbbb423f358bb284f79c2fae3e
+SIZE (ncftpd-2.8.7-freebsd9.0-x86_64-export.tar.gz) = 499272