aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/cmdftp/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-07 01:16:54 +0800
committerkrion <krion@FreeBSD.org>2004-01-07 01:16:54 +0800
commitaa372002dd9f0cb9dd4ff8d47bf81d8b7583cf50 (patch)
tree01cc5ca7f6e490770514be53ba7096e6279b97c6 /ftp/cmdftp/Makefile
parent86105c15ca985c041b223dc6568e59427ee70bb8 (diff)
downloadfreebsd-ports-gnome-aa372002dd9f0cb9dd4ff8d47bf81d8b7583cf50.tar.gz
freebsd-ports-gnome-aa372002dd9f0cb9dd4ff8d47bf81d8b7583cf50.tar.zst
freebsd-ports-gnome-aa372002dd9f0cb9dd4ff8d47bf81d8b7583cf50.zip
Add cmdftp 0.7.2,
cmdftp is a command line FTP client for Unix systems that features shell-like functions, passive mode, local and remote transparent modes, broken connection resumption, multiple and recursive file transfers, auto-login, and more. PR: 60759 Submitted by: Andreas Fehlner <fehlner@gmx.de>
Diffstat (limited to 'ftp/cmdftp/Makefile')
-rw-r--r--ftp/cmdftp/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/ftp/cmdftp/Makefile b/ftp/cmdftp/Makefile
new file mode 100644
index 000000000000..1ea35d7e6b37
--- /dev/null
+++ b/ftp/cmdftp/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: cmdftp
+# Date created: 2003-12-28
+# Whom: Andreas Fehlner <fehlner@gmx.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cmdftp
+PORTVERSION= 0.7.2
+CATEGORIES= ftp
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= cmdftp
+
+MAINTAINER= fehlner@gmx.de
+COMMENT= Command line shell-like ftp client
+
+USE_REINPLACE= yes
+
+DOCS= CHANGELOG README RELEASE
+
+post-patch:
+ @${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
+ s|^CFLAGS|#CFLAGS|g ; \
+ s|^PREFIX|#PREFIX|g' ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cmdftp ${PREFIX}/bin
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>