source: trunk/dports/net/jlj/Portfile

Last change on this file was 112032, checked in by jmr@…, 4 years ago

jlj: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 112032 2013-10-10 02:16:46Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    jlj
6version                 2.12
7categories              net
8license                 public-domain
9platforms               darwin
10maintainers             nomaintainer
11supported_archs noarch
12
13description             A livejournal client
14long_description  JLJ is a command-line interface for posting to \
15                                  livejournal. Posts are edited in your default editor.
16homepage                  http://umlautllama.com/projects/perl/
17master_sites      ${homepage}
18distname          ${name}_${version}
19checksums                 md5 55724c4d6d26211f34803ef856075234
20depends_run       path:bin/perl:perl5
21
22worksrcdir        jlj
23post-patch {
24        reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" ${worksrcpath}/jlj.pl
25}
26use_configure     no
27build                     {}
28destroot     {
29        xinstall ${worksrcpath}/jlj.pl ${destroot}${prefix}/bin/jlj
30        xinstall -d ${destroot}${prefix}/share/doc/${name}
31        xinstall -m 0644 ${worksrcpath}/README.JLJ ${destroot}${prefix}/share/doc/${name}
32        xinstall -d ${destroot}${prefix}/share/examples/${name}
33        xinstall -m 0644 ${worksrcpath}/.livejournal.rc ${destroot}${prefix}/share/examples/${name}/livejournal.rc
34}
35
36livecheck.type  regex
37livecheck.regex ${name}_(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.