Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:22:55 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172000: ftp/quftp: Support USE_READLINE
Message-ID:  <20120926022255.6af213195ed6a00916848956@yahoo.com>
Resent-Message-ID: <201209251810.q8PIANGJ020069@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172000
>Category:       ports
>Synopsis:       ftp/quftp: 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:23 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/quftp/Makefile ftp/quftp/Makefile
--- /usr/ports/ftp/quftp/Makefile	2011-09-24 07:22:31.000000000 +0900
+++ ftp/quftp/Makefile	2012-09-25 03:32:05.000000000 +0900
@@ -1,29 +1,33 @@
-# New ports collection makefile for:	quftp
-# Date created:				10 December 2003
-# Whom:					Frank Laszlo <laszlof@vonostingroup.com>
-#
+# Created by: Frank Laszlo <laszlof@vonostingroup.com>
 # $FreeBSD: ports/ftp/quftp/Makefile,v 1.14 2011/09/23 22:22:31 amdmi3 Exp $
-#
 
 PORTNAME=	quftp
 PORTVERSION=	1.0.7
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	ftp
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A scriptable FTP client
 
-LIB_DEPENDS=	readline.6:${PORTSDIR}/devel/readline
+LICENSE=	GPLv2
 
+USE_NCURSES=	yes
+USE_READLINE=	yes
 GNU_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
 
-CFLAGS+=	${PTHREAD_CFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	${PTHREAD_CFLAGS}
+LDFLAGS+=	${PTHREAD_LIBS}
 
 MAN1=		quftp.1
 PLIST_FILES=	bin/quftp
 
-pre-configure:
-	@${REINPLACE_CMD} -e 's|-O6|-O2|g' ${WRKSRC}/Makefile.in
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|^CFLAGS|#CFLAGS|' ${WRKSRC}/Makefile.in
+
+post-install:
+	@${STRIP_CMD} ${PREFIX}/bin/quftp
 
 .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?20120926022255.6af213195ed6a00916848956>