---
name: gcpio
version: 2.11_1
origin: archivers/gcpio
comment: GNU cpio copies files to and from archives
arch: freebsd:9:x86:64
www: http://www.gnu.org/software/cpio/
maintainer: naddy@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 572393
desc: |
  GNU cpio copies files into or out of a cpio or tar archive.  The
  archive can be another file on the disk, a magnetic tape, or a pipe.

  GNU cpio supports the following archive formats: binary, old ASCII,
  new ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1
  tar.  The tar format is provided for compatibility with the tar
  program.  By default, cpio creates binary format archives, for
  compatibility with older cpio programs.  When extracting from
  archives, cpio automatically recognizes which kind of archive it
  is reading and can read archives created on machines with a different
  byte-order.

  Note that this port will install these utilities with a 'g' prefix,
  e.g. gcpio, but the texinfo documentation will refer to them without
  the 'g' prefix.

  WWW: http://www.gnu.org/software/cpio/
deps:
  gettext: {origin: devel/gettext, version: 0.18.1.1_1}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories: [archivers]
files:
  /usr/local/bin/gcpio: 8dbdd976cee4004b102a206a730c6f9ddf196704907f06ca955533669380f0e6
  /usr/local/info/cpio.info: 09605a4d48e4b789d6a10ce6adefd67f209a3ad31ccf6153ffb969cdb60355de
  /usr/local/man/man1/gcpio.1.gz: 578fddb6c3cee2a363f79a8ecfc93d7556033a8aaef13b0079132f478b0b96d6
  /usr/local/share/locale/da/LC_MESSAGES/cpio.mo: 3c0637f6ac98bb84620a885fc9b2664d28b692bbe6ddd0574faf7e00052ea3d5
  /usr/local/share/locale/de/LC_MESSAGES/cpio.mo: 98e666b7061a72a68ec9cc0b43641364035c43b8111f39f14e6d1d8c9477e7fe
  /usr/local/share/locale/es/LC_MESSAGES/cpio.mo: 24d7b59c0808423e91da884d6aa07d48e7f042240136cb49c9efe905f18abb94
  /usr/local/share/locale/fi/LC_MESSAGES/cpio.mo: cf15f874f201429cb68bfe27303196106c558d5c4e88131db56a0baa383a6749
  /usr/local/share/locale/fr/LC_MESSAGES/cpio.mo: ee7460aaa3a7b1abc5c9a5f2c399d71c6407beadebd05efec662222a3b4ebac7
  /usr/local/share/locale/ga/LC_MESSAGES/cpio.mo: 8a00ec747119cc54665c3b7db38d7819e162047fcb1f9a7bc68db1385c679b08
  /usr/local/share/locale/gl/LC_MESSAGES/cpio.mo: 389078d5b1ca77f8188a001510c2c1e152a91a9dab1be56e2c303da6619db95a
  /usr/local/share/locale/hu/LC_MESSAGES/cpio.mo: 63dea6001e9712a6ab14de0db3a15e2836cad45f2481a5fa9d828cb15ce632ca
  /usr/local/share/locale/id/LC_MESSAGES/cpio.mo: b71cf4f3275113fbc4a3cd614687fe3faa70dc1d3513a7db07cc3319fe417dc7
  /usr/local/share/locale/ko/LC_MESSAGES/cpio.mo: 781d0cb1c5efee9303ac7c5e24f85ab98185cbcbb07408e80d7e5667010d73b1
  /usr/local/share/locale/nl/LC_MESSAGES/cpio.mo: fc4e012dc2dfd5ab9c6bb1e9d4c73f08b19e24df9af56f7d79395eed56020568
  /usr/local/share/locale/pl/LC_MESSAGES/cpio.mo: 045f298d52ba4c4e620ba7a98ab9fbf7bbf09b6e2e3464a2331d5739da55d21d
  /usr/local/share/locale/pt_BR/LC_MESSAGES/cpio.mo: 33473e810eb01a386c623a3c0f94d806eb059612d4702cb588018f97035ecf2d
  /usr/local/share/locale/ro/LC_MESSAGES/cpio.mo: b848f2ec80c643d086261ef002ae1d4b49bb4233aa38866af9975968e0083361
  /usr/local/share/locale/ru/LC_MESSAGES/cpio.mo: a61fa52fd498f559c82a185dd5c967eb66cd9a00a2cfc036ec7cee16ba29e4a5
  /usr/local/share/locale/sv/LC_MESSAGES/cpio.mo: 7efee00d536e2399715511b06e684af0bf66c67f95b1c2b4753b0f5ef6b94424
  /usr/local/share/locale/tr/LC_MESSAGES/cpio.mo: df12b900c37e43b3ea15ee8e46cd1b9ee000d6dad516632fe1214933f2a5f1ad
  /usr/local/share/locale/uk/LC_MESSAGES/cpio.mo: 634ceb20d657c695387387d75c7928d4baccda0332dcaee3e39ee61ed61cad52
  /usr/local/share/locale/vi/LC_MESSAGES/cpio.mo: 8f331a5176baa5c52423cc1043796ff845e6d258358228fb1a9dc42a12676b14
  /usr/local/share/locale/zh_CN/LC_MESSAGES/cpio.mo: 6d5d6f64981af3e409d58b5b94d7527645b2808e42ea49391bd4ce5173f2cb52
  /usr/local/share/locale/zh_TW/LC_MESSAGES/cpio.mo: 3c44b28513117153fd2f16ef4078a6ab31d64f8f7f5743d94153b9821d307bdb
scripts:
  post-install: |
    file=/usr/local/info/cpio.info
    install-info --quiet /usr/local/info/cpio.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/cpio.info
    install-info --quiet --delete /usr/local/info/cpio.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
