---
name: libsocket++
version: 1.12.13
origin: net/libsocket++
comment: A C++ wrapper library to the sockets
arch: freebsd:9:x86:64
www: http://www.linuxhacker.at/socketxx/
maintainer: arved@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [BSD]
flatsize: 755957
desc: "Socket++ is a iostream like C++ class library for the UNIX and INET\ndomains
  of sockets and protocols.\n\nWrappers are also provided for pipe(), socketpair(),
  popen() and \nfork().\n\nIncluded are also \"protocol\" classes with two examples
  - echo and \nsmtp (client only).\n\nSocket++ is covered by the GPL.\n\nWWW:\thttp://www.linuxhacker.at/socketxx/\n"
categories: [net]
files:
  /usr/local/include/socket++/echo.h: 5311fed66caed7af2cc732bc9d7e929fbd7b49b33ae8f5a78d154deb8a035771
  /usr/local/include/socket++/fork.h: 08b73652b18985bd4d7cba40eca51b8619c92695fed8b87977827debf97653d6
  /usr/local/include/socket++/ftp.h: cd0a5ef34c92f224c145c648cbc638dbd472fe7325f46bb9d94a1e5a7476e540
  /usr/local/include/socket++/pipestream.h: 4d7f898fcb262d4b5599dc2eec4dd6d60285f67f1b6481cb5306b280407fa4d8
  /usr/local/include/socket++/protocol.h: 4d12ddab6f278100d695f9171f7b9ccc3a8c89dc3d10cdcc3fe82aa79ad09849
  /usr/local/include/socket++/sig.h: 5c72cd1706b11a7419fb52f936aaabb29e22ad42d61b2f794b1e0c1f90730bda
  /usr/local/include/socket++/smtp.h: 7741a90fd4b97a8a681852cb403f36c1cbbeceb4fff5e090d76f69efd4eb5ca5
  /usr/local/include/socket++/sockinet.h: 1d1ee44a5c0cbdad90ed9489a06006c259e880c43b3c9f909c4f7520b3faa136
  /usr/local/include/socket++/sockstream.h: 66217592ac53c555cdaca2a07049fee76c2cae49108bd5d4ec2a82fd962ed831
  /usr/local/include/socket++/sockunix.h: 1cb7d8d2f0b816b0437b0733cb5ca225cae6f9f07d1f054f6f72107357d0e2e4
  /usr/local/info/socket++.info: ba73a723535471ec6aa4558d3bb50e83ccf6f3c3dd0eb0af1e09e0143ee62b4b
  /usr/local/lib/libsocket++.a: 7c64f2f0874bd6256b489c77f4e88d883225d3f56b3fd90630763e45ffc310dd
  /usr/local/lib/libsocket++.la: d01b5be1e27d12d15f1ec09fec6fbe4d69b1d7e6ac1bb68f256c7861b088fd07
  /usr/local/lib/libsocket++.so: '-'
  /usr/local/lib/libsocket++.so.1: ac2ce2495e9fb1cde76776a08a525126b973206ca2da90b51b8090ec5d2b37e1
  /usr/local/share/doc/libsocket++/README: d6dbe81ab7ac18c029149970b9772db91ecee5c07d89e01dc49931db45c8f394
  /usr/local/share/licenses/libsocket++-1.12.13/BSD: e810cbb40bc76d6ad90322e6a0ea89b18cddd6561e73073eab5eaadbe3f83efd
  /usr/local/share/licenses/libsocket++-1.12.13/LICENSE: d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f7379923b336209fd77b
  /usr/local/share/licenses/libsocket++-1.12.13/catalog.mk: 3baad9c5a6fb8946013e71c7b8284687e06d3cdf0f534260fb93a4609ac2d9ae
directories:
  /usr/local/share/licenses/libsocket++-1.12.13/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/libsocket++/: n
  /usr/local/include/socket++/: n
scripts:
  post-install: |
    /sbin/ldconfig -m /usr/local/lib
    cd /usr/local
    file=/usr/local/info/socket++.info
    install-info --quiet /usr/local/info/socket++.info ${file%25/*}/dir
  pre-deinstall: |
    /sbin/ldconfig -R
    cd /usr/local
    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: |
    cd /usr/local
    file=/usr/local/info/socket++.info
    install-info --quiet --delete /usr/local/info/socket++.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
