2001-06-27 13:34:06 +00:00
|
|
|
# New ports collection Makefile for: ncftpd
|
|
|
|
# Date created: 19 June 2001
|
|
|
|
# Whom: Justin Stanford <jus@security.za.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ncftpd
|
2002-04-02 22:21:46 +00:00
|
|
|
PORTVERSION= 2.7.1
|
2001-06-27 13:34:06 +00:00
|
|
|
CATEGORIES= ftp
|
|
|
|
MASTER_SITES= ftp://ftp.ncftp.com/ncftpd/${PORTVERSION}/
|
2002-04-02 22:21:46 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd4.4-${ARCH}-export
|
2001-06-27 13:34:06 +00:00
|
|
|
|
|
|
|
MAINTAINER= jus@security.za.net
|
2003-02-21 12:06:51 +00:00
|
|
|
COMMENT= A well known commercial FTP daemon with a 30-day evaluation license
|
2001-06-27 13:34:06 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2003-10-12 22:31:49 +00:00
|
|
|
BROKEN= "Does not fetch"
|
|
|
|
|
2001-06-27 13:34:06 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
NO_BUILD= YES
|
|
|
|
LICENSE= shareware
|
|
|
|
RESTRICTED= "30 day evaluation license"
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/etc/ncftpd
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ncftpd ${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ncftpd_edquota ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ncftpd_passwd ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ncftpd_repquota ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ncftpd_spy ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/conf/general.cf-dist ${PREFIX}/etc/ncftpd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/conf/domain.cf-dist ${PREFIX}/etc/ncftpd
|
|
|
|
${INSTALL_SCRIPT} ${SCRIPTDIR}/ncftpd.sh ${PREFIX}/etc/rc.d
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ncftpd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/install.html ${PREFIX}/share/doc/ncftpd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ncftpd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.freebsd ${PREFIX}/share/doc/ncftpd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/ncftpd
|
|
|
|
.endif
|
|
|
|
${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|