diff options
author | araujo <araujo@FreeBSD.org> | 2012-12-14 10:35:12 +0800 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2012-12-14 10:35:12 +0800 |
commit | e9a2c45c14029cbae3f3f7c74c32d5175140d5dc (patch) | |
tree | 006a06209fa58687acac4c0360f159414d1351ec /ftp/quftp | |
parent | c5225006477432f4a7f135a34875181c0a291bb8 (diff) | |
download | freebsd-ports-gnome-e9a2c45c14029cbae3f3f7c74c32d5175140d5dc.tar.gz freebsd-ports-gnome-e9a2c45c14029cbae3f3f7c74c32d5175140d5dc.tar.zst freebsd-ports-gnome-e9a2c45c14029cbae3f3f7c74c32d5175140d5dc.zip |
- 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>
Diffstat (limited to 'ftp/quftp')
-rw-r--r-- | ftp/quftp/Makefile | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/ftp/quftp/Makefile b/ftp/quftp/Makefile index e212ac85fa34..c7044bf0b796 100644 --- a/ftp/quftp/Makefile +++ b/ftp/quftp/Makefile @@ -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> |