Ticket #8654: Portfile

File Portfile, 1.1 KB (added by mstevens@…, 18 years ago)

the portfile

Line 
1# $Id$
2PortSystem              1.0
3name                    jlj
4version                 2.12
5categories              net
6maintainers             mstevens@etla.org
7description             A livejournal client
8long_description  JLJ is a command-line interface for posting to \
9                                  livejournal. Posts are edited in your default editor.
10homepage                  http://patsy.cis.rit.edu/Software/perl/
11master_sites      http://patsy.cis.rit.edu/Software/perl/
12distname          ${name}_${version}
13checksums                 md5 55724c4d6d26211f34803ef856075234
14depends_run       port:perl5.8
15build                     {}
16worksrcdir        jlj
17configure         {
18        reinplace "s|\/usr\/bin\/perl|${prefix}\/bin\/perl|" \
19                "${workpath}/jlj/jlj.pl"
20}
21destroot     {
22        xinstall -d -m 0755 ${destroot}${prefix}/bin
23        xinstall -m 0755 ${workpath}/jlj/jlj.pl ${destroot}${prefix}/bin/jlj
24        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}_${version}
25        xinstall -m 0644 ${workpath}/jlj/README.JLJ ${destroot}${prefix}/share/doc/${name}_${version}
26        xinstall -d -m 0755 ${destroot}/${prefix}/share/examples/${name}_${version}
27        xinstall -m 0644 ${workpath}/jlj/.livejournal.rc ${destroot}${prefix}/share/examples/${name}_${version}/livejournal.rc
28}