|
Lines 1-9
Link Here
|
| 1 |
# New ports collection makefile for: hsftp |
1 |
# Created by: will |
| 2 |
# Date created: Mon 03 Jul 2000 |
|
|
| 3 |
# Whom: will |
| 4 |
# |
| 5 |
# $FreeBSD: ports/ftp/hsftp/Makefile,v 1.18 2012/06/12 10:34:43 bapt Exp $ |
2 |
# $FreeBSD: ports/ftp/hsftp/Makefile,v 1.18 2012/06/12 10:34:43 bapt Exp $ |
| 6 |
# |
|
|
| 7 |
|
3 |
|
| 8 |
PORTNAME= hsftp |
4 |
PORTNAME= hsftp |
| 9 |
PORTVERSION= 1.15 |
5 |
PORTVERSION= 1.15 |
|
Lines 15-36
Link Here
|
| 15 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= ports@FreeBSD.org |
| 16 |
COMMENT= FTP emulator that uses ssh to transport commands/data |
12 |
COMMENT= FTP emulator that uses ssh to transport commands/data |
| 17 |
|
13 |
|
|
|
14 |
LICENSE= GPLv2 |
| 15 |
|
| 16 |
OPTIONS_DEFINE= OPENSSH READLINE |
| 17 |
OPTIONS_DEFAULT=READLINE |
| 18 |
OPENSSH_DESC= Build with OpenSSH support |
| 19 |
READLINE_DESC= Enable readline support |
| 20 |
|
| 18 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
| 19 |
CONFIGURE_ARGS= --with-readline |
|
|
| 20 |
MAKEFILE= makefile |
22 |
MAKEFILE= makefile |
|
|
23 |
MAKE_JOBS_SAFE= yes |
| 24 |
|
| 21 |
MAN1= hsftp.1 |
25 |
MAN1= hsftp.1 |
| 22 |
PLIST_FILES= bin/hsftp |
26 |
PLIST_FILES= bin/hsftp |
| 23 |
|
27 |
|
| 24 |
OPTIONS_DEFINE= OPENSSH |
|
|
| 25 |
OPENSSH_DESC= Build with OpenSSH support |
| 26 |
|
| 27 |
.include <bsd.port.options.mk> |
28 |
.include <bsd.port.options.mk> |
| 28 |
|
29 |
|
| 29 |
.if ${PORT_OPTIONS:MOPENSSH} |
30 |
.if ${PORT_OPTIONS:MOPENSSH} |
| 30 |
RUN_DEPENDS+= ssh:${PORTSDIR}/security/openssh |
31 |
RUN_DEPENDS+= ssh:${PORTSDIR}/security/openssh-portable |
| 31 |
CONFIGURE_ARGS+= --with-openssh |
32 |
CONFIGURE_ARGS+= --with-openssh |
| 32 |
.endif |
33 |
.endif |
| 33 |
|
34 |
|
|
|
35 |
.if ${PORT_OPTIONS:MREADLINE} |
| 36 |
USE_READLINE= yes |
| 37 |
CONFIGURE_ARGS+= --with-readline |
| 38 |
.endif |
| 39 |
|
| 34 |
pre-patch: |
40 |
pre-patch: |
| 35 |
${REINPLACE_CMD} -e '2343d' ${WRKSRC}/configure |
41 |
${REINPLACE_CMD} -e '2343d' ${WRKSRC}/configure |