freebsd-ports/ftp/smbftpd/Makefile
Beech Rintoul 7662b2f8ca - Update to 2.2
- Fixed FreeBSD security advisory FreeBSD-SA-08:12.ftpd
- Fixed a typo on smbftpd-user help
- Fixed the bug of wrong file time when file time is 2008/12/30

PR:		ports/131201
Submitted by:	Hung-Yi Chen <gaod@hychen.org>
Approved by:	Jui-Nan Lin <jnlin@csie.nctu.edu.tw> (maintainer)
2009-02-01 07:01:32 +00:00

51 lines
1.1 KiB
Makefile

# New ports collection makefile for: smbftpd
# Date created: 2006-01-22
# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= smbftpd
PORTVERSION= 2.2
CATEGORIES= ftp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.twbsd.org/download/download.php?file=smbftpd/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= jnlin@csie.nctu.edu.tw
COMMENT= FTP daemon using Samba-like share management mechanism
OPTIONS= MYSQL "Users database is a MySQL database" off \
PGSQL "Users database is a PostgreSQL database" off \
SSL "Enable SSL/TLS support" off \
ICONV "Enable codepage to unicode conversion for UTF-8 FTP" off
HAS_CONFIGURE= yes
MAKE_ENV= OSTYPE=FreeBSD
CONFIGURE_ARGS= "--prefix=${PREFIX}"
.include <bsd.port.pre.mk>
USE_PERL5= yes
USE_RC_SUBR= smbftpd.sh
.if defined(WITH_MYSQL)
USE_MYSQL= yes
CONFIGURE_ARGS+= "--with-mysql"
.endif
.if defined(WITH_PGSQL)
USE_PGSQL= yes
CONFIGURE_ARGS+= "--with-pgsql"
.endif
.if defined(WITH_ICONV)
USE_ICONV= yes
CONFIGURE_ARGS+= "--with-iconv"
.endif
.if defined(WITH_SSL)
CONFIGURE_ARGS+= "--with-ssl"
.endif
.include <bsd.port.post.mk>