# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 github.setup eggheads eggdrop 1.8.3 v revision 2 checksums rmd160 3ebf6c6260dfb21f8684b7dfe26be03f167cab21 \ sha256 a4b8957e39fd342e862dae3c305523e4c8aab628d3dfafa148be40ab41259ef4 \ size 1756536 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] categories irc maintainers nomaintainer description Eggdrop is the world's most popular Internet Relay Chat (IRC) bot. long_description ${description} platforms darwin homepage https://www.eggheads.org github.tarball_from releases master_sites-append https://ftp.eggheads.org/pub/eggdrop/source/${branch}/ depends_lib path:lib/libssl.dylib:openssl \ port:tcl \ port:zlib patchfiles patch-Makefile.in-LDFLAGS.diff configure.args --enable-tls \ --with-sslinc=${prefix}/include \ --with-ssllib=${prefix}/lib \ --with-tcl=${prefix}/lib post-configure { system -W ${worksrcpath} "${build.cmd} config" } build.target eggdrop set eggdest libexec/eggdrop destroot.destdir DEST=${destroot}${prefix}/${eggdest} post-destroot { ln -s ../${eggdest}/eggdrop-${version} ${destroot}${prefix}/bin/eggdrop system "gzip -9 ${destroot}${prefix}/${eggdest}/doc/man1/eggdrop.1" ln -s ../../../${eggdest}/doc/man1/eggdrop.1.gz ${destroot}${prefix}/share/man/man1 move ${destroot}${prefix}/${eggdest}/eggdrop.conf ${destroot}${prefix}/${eggdest}/eggdrop.conf.sample } platform darwin 8 { configure.cflags-append "-DBIND_8_COMPAT" }