---
name: cftp
version: 0.12_3
origin: ftp/cftp
comment: Comfortable FTP, a full screen ftp client
arch: freebsd:10:x86:64
www: http://nih.at/cftp/
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 122004
desc: "   CFTP is used to transfer files from a remote computer to \nyour local computer
  via the FTP protocol.\n   Its advantages over most standard ftp-clients is its\nfullscreen
  representation of the remote directory so you \ncan easily choose what to get or
  where to go.\n\nWWW: http://nih.at/cftp/\n"
categories:
- ftp
- ipv6
files:
  /usr/local/bin/cftp: 7e02cb14b140143069337af13a0d985aa97f15bf7ae5fe02a65578012e136f4f
  /usr/local/info/cftp.info: 1c2a04d1a240e60359943fd33ec5147da0149a7e027e94b46d5d4faea573bbd1
scripts:
  post-install: |
    file=/usr/local/info/cftp.info
    install-info --quiet /usr/local/info/cftp.info ${file%25/*}/dir
  post-deinstall: |
    file=/usr/local/info/cftp.info
    install-info --quiet --delete /usr/local/info/cftp.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
    if [ ${file%25/*} != "/usr/local/info" ]; then
       rmdir ${file%25/*} 2> /dev/null || true
    fi
