aboutsummaryrefslogtreecommitdiff
path: root/ftp/ncftpd
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-10-14 12:23:36 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-10-14 12:23:36 +0000
commitb2dbb109426a52984e3099b67de8bcfcf048265b (patch)
treefc9e8b5bf2f3725afa3dd897b512e7ad85cbe025 /ftp/ncftpd
parent50e96887d25c3a6f63dcc8eed90a4618442f277e (diff)
downloadports-b2dbb109426a52984e3099b67de8bcfcf048265b.tar.gz
ports-b2dbb109426a52984e3099b67de8bcfcf048265b.zip
Notes
Diffstat (limited to 'ftp/ncftpd')
-rw-r--r--ftp/ncftpd/Makefile20
-rw-r--r--ftp/ncftpd/distinfo4
2 files changed, 18 insertions, 6 deletions
diff --git a/ftp/ncftpd/Makefile b/ftp/ncftpd/Makefile
index 496d41d51687..f5692ba8d938 100644
--- a/ftp/ncftpd/Makefile
+++ b/ftp/ncftpd/Makefile
@@ -6,23 +6,33 @@
#
PORTNAME= ncftpd
-PORTVERSION= 2.7.1
+PORTVERSION= 2.7.3
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.ncftp.com/ncftpd/${PORTVERSION}/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd4.4-${ARCH}-export
+DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd${BINVER}-${ARCH}-export
MAINTAINER= jus@security.za.net
COMMENT= A well known commercial FTP daemon with a 30-day evaluation license
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-BROKEN= "Does not fetch"
-
ONLY_FOR_ARCHS= i386
NO_BUILD= YES
LICENSE= shareware
RESTRICTED= "30 day evaluation license"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+BINVER= 5.0
+.elif ${OSVERSION} >= 480000
+BINVER= 4.8
+.elif ${OSVERSION} >= 350000
+BINVER= 3.5.1
+.else
+BROKEN= "FreeBSD version too old"
+.endif
+
do-install:
${MKDIR} ${PREFIX}/etc/ncftpd
${INSTALL_PROGRAM} ${WRKSRC}/ncftpd ${PREFIX}/sbin
@@ -44,4 +54,4 @@ post-install:
.endif
${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/ftp/ncftpd/distinfo b/ftp/ncftpd/distinfo
index ef0ef017853b..91a5e55cd268 100644
--- a/ftp/ncftpd/distinfo
+++ b/ftp/ncftpd/distinfo
@@ -1 +1,3 @@
-MD5 (ncftpd-2.7.1-freebsd4.4-i386-export.tar.gz) = ba0da5637163b54f37168bd8d637569a
+MD5 (ncftpd-2.7.3-freebsd3.5.1-i386-export.tar.gz) = a7cde2d5e40966cccc4539a6ee9572c3
+MD5 (ncftpd-2.7.3-freebsd4.8-i386-export.tar.gz) = b71d0f803072a4d42e2f0b413a3dca2f
+MD5 (ncftpd-2.7.3-freebsd5.0-i386-export.tar.gz) = db025b0afb4f3072b6f542b1f41ea055