ports/172000: ftp/quftp: Support USE_READLINE
KATO Tsuguru
tkato432 at yahoo.com
Tue Sep 25 18:10:23 UTC 2012
>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 at vonostingroup.com>
-#
+# Created by: Frank Laszlo <laszlof at 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 at 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:
More information about the freebsd-ports-bugs
mailing list