Date: Wed, 26 Sep 2012 02:22:51 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/171999: ftp/ncftp2: Support USE_READLINE Message-ID: <20120926022251.2f85c343ab1b243b9fc73501@yahoo.com> Resent-Message-ID: <201209251810.q8PIANjF019985@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171999 >Category: ports >Synopsis: ftp/ncftp2: Support USE_READLINE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 25 18:10:22 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Support USE_READLINE >How-To-Repeat: >Fix: diff -urN /usr/ports/ftp/ncftp2/Makefile ftp/ncftp2/Makefile --- /usr/ports/ftp/ncftp2/Makefile 2012-02-13 14:44:23.000000000 +0900 +++ ftp/ncftp2/Makefile 2012-09-25 03:31:57.000000000 +0900 @@ -1,9 +1,5 @@ -# New ports collection makefile for: ncftp2 -# Date created: 4 Nov 1994 -# Whom: ache -# +# Created by: ache # $FreeBSD: ports/ftp/ncftp2/Makefile,v 1.56 2012/02/13 05:44:23 jpaetzel Exp $ -# PORTNAME= ncftp PORTVERSION= 2.4.3 @@ -14,23 +10,45 @@ MAINTAINER= ports@FreeBSD.org COMMENT= FTP replacement with advanced user interface +LICENSE= GPLv2 + +OPTIONS_DEFINE= READLINE +OPTIONS_DEFAULT=READLINE +READLINE_DESC= Enable readline support + +USE_NCURSES= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= ac_cv_func_getmaxyx=yes +MAKE_JOBS_SAFE= yes + +MAN1= ncftp2.1 +PLIST_FILES= bin/${LATEST_LINK} + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MREADLINE} +USE_READLINE= yes +.else +CONFIGURE_ARGS+=--disable-readline +.endif + .if defined(INSTALL_AS_NCFTP) LATEST_LINK= ncftp .else LATEST_LINK= ncftp2 .endif -PLIST_FILES= bin/${LATEST_LINK} -GNU_CONFIGURE= yes -CONFIGURE_ENV= ac_cv_func_getmaxyx=yes ac_cv_lib_readline=yes -MAN1= ncftp2.1 -pre-fetch: - @${ECHO} "" - @${ECHO} "Use INSTALL_AS_NCFTP=yes to install ncftp1 as ${PREFIX}/bin/ncftp" - @${ECHO} "" +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "Use INSTALL_AS_NCFTP=yes to install ncftp2 as ${PREFIX}/bin/ncftp" + @${ECHO_MSG} "" + +post-patch: + @${REINPLACE_CMD} -e \ + 's|^exdirs=.*|exdirs=""|' ${WRKSRC}/configure do-install: - $(INSTALL_PROGRAM) $(WRKSRC)/ncftp $(PREFIX)/bin/${LATEST_LINK} - $(INSTALL_MAN) $(WRKSRC)/ncftp.1 $(PREFIX)/man/man1/ncftp2.1 + ${INSTALL_PROGRAM} ${WRKSRC}/ncftp ${PREFIX}/bin/${LATEST_LINK} + ${INSTALL_MAN} ${WRKSRC}/ncftp.1 ${MANPREFIX}/man/man1/ncftp2.1 .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926022251.2f85c343ab1b243b9fc73501>