# $Id: Portfile 112032 2013-10-10 02:16:46Z jmr@macports.org $ PortSystem 1.0 name jlj version 2.12 categories net license public-domain platforms darwin maintainers nomaintainer supported_archs noarch description A livejournal client long_description JLJ is a command-line interface for posting to \ livejournal. Posts are edited in your default editor. homepage http://umlautllama.com/projects/perl/ master_sites ${homepage} distname ${name}_${version} checksums md5 55724c4d6d26211f34803ef856075234 depends_run path:bin/perl:perl5 worksrcdir jlj post-patch { reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" ${worksrcpath}/jlj.pl } use_configure no build {} destroot { xinstall ${worksrcpath}/jlj.pl ${destroot}${prefix}/bin/jlj xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 0644 ${worksrcpath}/README.JLJ ${destroot}${prefix}/share/doc/${name} xinstall -d ${destroot}${prefix}/share/examples/${name} xinstall -m 0644 ${worksrcpath}/.livejournal.rc ${destroot}${prefix}/share/examples/${name}/livejournal.rc } livecheck.type regex livecheck.regex ${name}_(\[0-9.\]+)\\.tar