-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
38 lines (31 loc) · 1.26 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup ruby 1.0
ruby.branches 3.3 3.2 3.1
ruby.setup bones 3.9.0 gem {} rubygems
revision 0
maintainers nomaintainer
categories-append devel
license MIT
description Mr Bones is a handy tool that builds a skeleton \
for your new Ruby projects
long_description {*}${description}
homepage https://rubygems.org/gems/bones
platforms any
supported_archs noarch
checksums rmd160 e156a3afd27c09c5506236ab69f9688a9d87efb2 \
sha256 2b7f3165323a698c9c8dfac8330113b3b7763289a79a253f813b7fe9bcc78e5a \
size 40960
if {${name} ne ${subport}} {
depends_lib-append \
port:rb${ruby.suffix}-little-plugger \
port:rb${ruby.suffix}-loquacious
if {${ruby.branch} < 3.3} {
depends_run-append \
port:rb${ruby.suffix}-rdoc
}
post-destroot {
system -W ${destroot}${ruby.gemdir}/specifications \
"/usr/bin/patch -p0 < ${filespath}/patch-gemspec-${ruby.branch}.diff"
}
}