source: trunk/dports/ruby/rb-pdumpfs/Portfile

Last change on this file was 103921, checked in by kimuraw@…, 5 years ago

ruby/: fix missing revision bump at r103920

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 103921 2013-03-10 02:26:30Z ryandesign@macports.org $
2PortSystem              1.0
3PortGroup               ruby 1.0
4
5ruby.setup              pdumpfs 1.3 gnu {README doc}
6revision                1
7maintainers             nomaintainer
8description             simply daily backup system similar to Plan9's dumpfs
9long_description        pdumpfs is a simple daily backup system similar to \
10                                        Plan9's dumpfs which preserves every daily snapshot. \
11                                        pdumpfs is written in Ruby. You can access the past \
12                                        snapshots at any time for retrieving a certain day's \
13                                        file. Let's backup your home directory with pdumpfs!
14categories-append       sysutils
15homepage                http://0xcc.net/pdumpfs/
16license                 GPL-2
17master_sites    ${homepage}
18checksums               md5 c1bb6514b3136854ca265913fd3765c9 \
19                                rmd160 a9730349347d50d06dd101b0c1d9a7b3e25777c1 \
20                                sha1 1ce91f0429d730fbc6e6f253d04e80226c145cdf
21platforms               darwin
22supported_archs noarch
23
24patchfiles              patch-pdumpfs-test
25
26use_configure   no
27
28build.target    ${ruby.module}
29post-build {
30        reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/pdumpfs
31}
32
33test.run                yes
34test.target             check
35
36destroot {
37        xinstall -d -m 0755 ${destroot}${ruby.bindir}
38        xinstall -m 0755 ${worksrcpath}/pdumpfs ${destroot}${ruby.bindir}
39        xinstall -d -m 0755 ${destroot}${prefix}/share/man/man8
40        xinstall -m 0644 ${worksrcpath}/man/man8/pdumpfs.8 \
41                                         ${destroot}${prefix}/share/man/man8
42        xinstall -d -m 0755 ${destroot}${prefix}/share/man/ja/man8
43        xinstall -m 0644 ${worksrcpath}/man/ja/man8/pdumpfs.8 \
44                                         ${destroot}${prefix}/share/man/ja/man8
45}
46
Note: See TracBrowser for help on using the repository browser.