aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wzdftpd/Makefile
blob: 0ce5ba6a12a4d20d4ce1477dd1bf550f5f9bfffe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    wzdftpd
# Date created:     2003-10-22
# Whom:         Roman Bogorodskiy
#
# $FreeBSD$
#

PORTNAME=   wzdftpd
PORTVERSION=    0.1
PORTREVISION=   1
CATEGORIES= ftp ipv6
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= bogorodskiy@inbox.ru
COMMENT=    Modular FTP server configurable online using SITE commands

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

.if defined(WITH_SSL)
USE_OPENSSL=    yes
CONFIGURE_ARGS+=    --enable-ssl
.endif

.if defined(WITH_IPV6)
CONFIGURE_ARGS+=    --enable-ipv6
.endif

DOCS=       AUTHORS Permissions.ReadMeFirst README TLS.ReadMeFirst \
        src/CHANGELOG src/DOCS_XFERLOG_FORMAT src/KNOWN_BUGS src/TODO

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>