aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ftp-tls/Makefile
blob: b6e5ef643a0e18e13283aafe3c18395bb1f7f810 (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
41
42
# Ports collection makefile for:    ftp-tls
# Date created:             24 October 2002
# Whom:                 marius@alchemy.franken.de
#
# $FreeBSD$
#

PORTNAME=   ftp-tls
PORTVERSION=    20030805
PORTREVISION=   1
CATEGORIES= ftp security
MASTER_SITES=   ftp://ftp.zeist.de/pub/distfiles/ \
        ftp://ftp.runestig.com/pub/ftp-tls/

MAINTAINER= marius@alchemy.franken.de
COMMENT=    Ftp client supporting FTP AUTH TLS

GNU_CONFIGURE=  yes
USE_OPENSSL=    yes

MAN1=       ftp-tls.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 400000
BROKEN=     "Not supported on systems prior to FreeBSD 4.0 (missing getaddrinfo())"
.endif

CONFIGURE_ARGS=     --with-openssl-dir=${OPENSSLBASE}
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/ftp ${PREFIX}/bin/ftp-tls
    @${INSTALL_MAN} ${WRKSRC}/ftp.1.TLS ${PREFIX}/man/man1/ftp-tls.1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for i in README.TLS draft-murray-auth-ftp-ssl-09.txt
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>