# $Id: Portfile 42777 2008-11-30 21:47:58Z mcalhoun@macports.org $ PortSystem 1.0 name jlj version 2.12 categories net maintainers nomaintainer 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 http://umlautllama.com/projects/perl/ distname ${name}_${version} checksums md5 55724c4d6d26211f34803ef856075234 depends_run path:bin/perl:perl5 worksrcdir jlj configure { reinplace "s|\/usr\/bin\/perl|${prefix}\/bin\/perl|" \ "${workpath}/jlj/jlj.pl" } build {} destroot { xinstall -d -m 0755 ${destroot}${prefix}/bin xinstall -m 0755 ${workpath}/jlj/jlj.pl ${destroot}${prefix}/bin/jlj xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} xinstall -m 0644 ${workpath}/jlj/README.JLJ ${destroot}${prefix}/share/doc/${name} xinstall -d -m 0755 ${destroot}/${prefix}/share/examples/${name} xinstall -m 0644 ${workpath}/jlj/.livejournal.rc ${destroot}${prefix}/share/examples/${name}/livejournal.rc }