SUMMARY="A modern full-featured gopher server" DESCRIPTION="Gophernicus is a modern full-featured (and hopefully) secure \ gopher daemon for inetd. It is licensed under the BSD license." HOMEPAGE="https://github.com/kimholviala/gophernicus" COPYRIGHT="2009-2019 Kim Holviala" LICENSE="BSD (2-clause)" REVISION="1" srcGitRev="fc293e8202c58089f61345edb75d33cd246ca5d3" SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz" CHECKSUM_SHA256="eb3bb0ee0b4296d278d25399e7e54e2d1566cd61e911fcbf2642811461e138d4" SOURCE_DIR="gophernicus-$srcGitRev" ARCHITECTURES="?all x86_gcc2 x86" PROVIDES=" gophernicus$secondaryArchSuffix = $portVersion cmd:in.gophernicus$secondaryArchSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:awk cmd:gcc$secondaryArchSuffix cmd:git cmd:grep cmd:ld$secondaryArchSuffix cmd:make cmd:sed cmd:which " BUILD() { make DESTDIR=$prefix SBINDIR=$binDir DOCDIR=$docDir/gophernicus \ NET_SRV=$settingsDir/network/services # we won't get proper history from git anyway. touch ChangeLog } INSTALL() { mkdir -p $binDir mkdir -p $docDir make DESTDIR=$prefix SBINDIR=$binDir DOCDIR=$docDir/gophernicus \ NET_SRV=$settingsDir/network/services \ install-files install-docs install-done #TODO: add as a post_install ? #install-root #TODO: add code to enable it with net_server #install-haiku }