Skip to content

Commit

Permalink
nano: update to 2.9.6
Browse files Browse the repository at this point in the history
clean up some cruft while here
  • Loading branch information
grimreaper committed Apr 29, 2018
1 parent 97981a8 commit 09385c6
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions editors/nano/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PortSystem 1.0

name nano
version 2.9.5
version 2.9.6
categories editors
platforms darwin freebsd
license GPL-3
Expand All @@ -19,8 +19,9 @@ long_description \
homepage https://www.nano-editor.org
master_sites ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu

checksums rmd160 e72b08cefcab075066ae720305dceb1152152c1d \
sha256 620290467d5340448b728fc7535418db18edac661cf8f95bccc74d768b2614d0
checksums rmd160 3456a9a22e461304255b7486cd8d8316d850e5ae \
sha256 4ec0a0196914a7665572bcd8a32d76535ea19a8213ea67cf8f63e8ce566b1e0a \
size 2892819

depends_lib port:gettext \
port:libiconv \
Expand All @@ -32,18 +33,6 @@ configure.args --disable-wrapping-as-root \
--enable-nanorc \
--enable-utf8

post-configure {
reinplace "s/REG_EXTENDED | REG_ENHANCED/REG_EXTENDED/" ${worksrcpath}/config.h
}

post-patch {
# see https://trac.macports.org/ticket/53938
foreach rcfile [glob -tails -directory ${worksrcpath}/syntax/ *] {
reinplace -q "s/\\</\\b/g" syntax/${rcfile}
reinplace -q "s/\\>/\\b/g" syntax/${rcfile}
}
}

use_parallel_build yes

set docdir ${prefix}/share/doc/${name}
Expand Down

0 comments on commit 09385c6

Please sign in to comment.