dsocks _unstable_ port information

Package: dsocks
Version: 1.5
Revision: 3
Source: http://monkey.org/~dugsong/dsocks/%n-%v.tar.gz
Source-MD5: b2e9f65b747fbf1f4ff05d5fd4a76de7
Depends: %n-shlibs (= %v-%r)
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1

CompileScript: bsdmake LIBDIR=%p/lib
InstallScript: <<
#!/bin/sh -ev
install -d -m 755 %i/lib
# "install -C" is not-portable _ and not needed here
install -m 644 -p libdsocks.a %i/lib
ranlib %i/lib/libdsocks.a
install -m 755 -p libdsocks.1.dylib %i/lib
true -x %i/lib/libdsocks.1.dylib
ln -fs libdsocks.1.dylib %i/lib/libdsocks.dylib

install -d -m 755 %i/bin
install -m 755 -p dsocks.sh %i/bin
install -m 755 -p dsocks-torify.sh %i/bin
<<
Description: SOCKS client wrapper for *BSD / MacOS X
DescDetail: <<
SOCKS client wrapper for *BSD / MacOS X. Only enough of SOCKS4, SOCKS5
supported to use the built-in OpenSSH or Tor local SOCKS proxy)
<<
SplitOff: <<
Package: %N-shlibs
Description: SOCKS client wrapper for *BSD / MacOS X (Shared libraries)
# The static lib shouldn't be in the shlibs splitoff (+ shlibs field...)
Files: lib/libdsocks.1.dylib
Shlibs: %p/lib/libdsocks.1.dylib 0.0.0 %n (>= 1.5-3)
DocFiles: LICENSE
<<
DocFiles: LICENSE README
DescPort: <<
bsdmake seems to call the first "sort" in $PATH, with a non-portable syntax..
Causes errors when eg coreutils-default is installed, but only the order
of the archive-members is affected. So, not worth a buildconflict.
<<
Maintainer: elcepi
HomePage: http://monkey.org/~dugsong/dsocks/
License: GPL