Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2012 02:35:12 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308877 - head/ftp/quftp
Message-ID:  <201212140235.qBE2ZCvP065506@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: araujo
Date: Fri Dec 14 02:35:12 2012
New Revision: 308877
URL: http://svnweb.freebsd.org/changeset/ports/308877

Log:
  - Support USE_READLINE.
  - Add MAKE_JOBS_SAFE.
  - Set CPPFLAGS and LDFLAGS in a proper way.
  - Bump PORTREVISION.
  
  PR:		ports/172000
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/ftp/quftp/Makefile   (contents, props changed)

Modified: head/ftp/quftp/Makefile
==============================================================================
--- head/ftp/quftp/Makefile	Fri Dec 14 02:32:57 2012	(r308876)
+++ head/ftp/quftp/Makefile	Fri Dec 14 02:35:12 2012	(r308877)
@@ -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$
-#
 
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212140235.qBE2ZCvP065506>