aboutsummaryrefslogtreecommitdiff
path: root/ftp/hsftp/Makefile
blob: cd3d70e452138ecf2fed8bbdea29e57a17893928 (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
# Created by: will

PORTNAME=	hsftp
PORTVERSION=	1.15
PORTREVISION=	3
CATEGORIES=	ftp
MASTER_SITES=	http://la-samhna.de/hsftp/ \
		http://www.alaskaparadise.com/freebsd/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	FTP emulator that uses ssh to transport commands/data

LICENSE=	GPLv2

OPTIONS_DEFINE=	OPENSSH READLINE
OPTIONS_DEFAULT=READLINE
OPENSSH_DESC=	Build with OpenSSH support
READLINE_DESC=	Enable readline support

GNU_CONFIGURE=	yes
MAKEFILE=	makefile

PLIST_FILES=	bin/hsftp man/man1/hsftp.1.gz

OPENSSH_RUN_DEPENDS=		ssh:security/openssh-portable
OPENSSH_CONFIGURE_WITH=		openssh

READLINE_USES=			readline
READLINE_CONFIGURE_WITH=	readline

pre-patch:
	${REINPLACE_CMD} -e '2343d' ${WRKSRC}/configure

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>