freebsd-ports/ftp/moftpd/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: moftpd
# Date created: Mar 19, 2004
# Whom: Clement Laforet <clement@FreeBSD>org>
#
# $FreeBSD$
#
PORTNAME= moftpd
2005-04-09 17:42:27 +02:00
PORTVERSION= 1.2.3
PORTREVISION= 7
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.morth.org/moftpd/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= clement
MAINTAINER= clement@FreeBSD.org
COMMENT= A powerful FTP server supporting IPv6, TLS, and much more
USE_AUTOTOOLS= autoconf:262
USE_GMAKE= yes
USE_RC_SUBR= moftpd
USE_PERL5_BUILD=yes
2004-12-11 22:52:27 +01:00
CONFIGURE_ENV+= LIBS="${LIBS}" CFLAGS="${CFLAGS}"
2004-06-11 23:42:16 +02:00
CONFIGURE_ARGS= --localstatedir=/var
2004-04-16 23:08:30 +02:00
MAN8= moftpd.8 moftpadmin.8
2004-04-16 23:46:01 +02:00
LIBS+= -lcrypt
2004-12-11 22:52:27 +01:00
.if defined(WITHOUT_TLS)
CONFIGURE_ARGS+= --without-tls
.elif defined(WITH_GNUTLS)
CONFIGURE_ARGS+= --without-openssl
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
2004-12-11 22:52:27 +01:00
LIBS= -L${LOCALBASE}/lib -lgnutls
CFLAGS+= -I${LOCALBASE}/include
.else
USE_OPENSSL= yes
CONFIGURE_ARGS+= --without-gnutls
.endif
2004-04-16 23:46:01 +02:00
.if defined(WITH_MYSQL)
CFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib/mysql
.else
CONFIGURE_ARGS+= --without-sql
.endif
.include <bsd.port.mk>