---
name: cftp
version: 0.12_3
origin: ftp/cftp
comment: Comfortable FTP, a full screen ftp client
arch: freebsd:9:x86:64
www: http://nih.at/cftp/
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 123356
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: [ipv6, ftp]
files:
  /usr/local/bin/cftp: 58c36f4ad774200296d73ac7f2716c7143b32c9204afbbdbffb7c34e166706b3
  /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
  pre-deinstall: |
    if [ -f /usr/local/info/dir ]; then if sed -e '1,/Menu:/d' /usr/local/info/dir | grep -q '^[*] '; then true; else rm /usr/local/info/dir; fi; fi
  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
