[115017] trunk/dports/textproc/knp/Portfile
hum at macports.org
hum at macports.org
Sun Dec 22 00:28:00 PST 2013
Revision: 115017
https://trac.macports.org/changeset/115017
Author: hum at macports.org
Date: 2013-12-22 00:28:00 -0800 (Sun, 22 Dec 2013)
Log Message:
-----------
knp: update to 4.1.
Modified Paths:
--------------
trunk/dports/textproc/knp/Portfile
Modified: trunk/dports/textproc/knp/Portfile
===================================================================
--- trunk/dports/textproc/knp/Portfile 2013-12-22 07:39:53 UTC (rev 115016)
+++ trunk/dports/textproc/knp/Portfile 2013-12-22 08:28:00 UTC (rev 115017)
@@ -4,7 +4,7 @@
PortSystem 1.0
name knp
-version 4.01
+version 4.1
categories textproc japanese
maintainers hum openmaintainer
@@ -17,31 +17,23 @@
master_sites http://nlp.ist.i.kyoto-u.ac.jp/nl-resource/knp/
use_bzip2 yes
-checksums rmd160 1c41327b35cfcaae2ea80b859d05db8d0659465a \
- sha256 038c1c6bd81b0fac8c5e03d3630426413c9a84e60701e9ea7f37fb2e3bc93391
+checksums rmd160 893e5711e4cece672ec01c07297ae7ff7ee69372 \
+ sha256 b3b29888ae095e2dcab4d3b589e158b114ea61eebb7158fd832e3cc1225715b6
depends_lib port:juman \
- port:tinycdb \
+ port:zlib \
port:crfpp
-configure.args --with-cdb \
- --with-crf \
+configure.args --with-crf \
--with-juman-prefix=${prefix}
-# Note: compiling with Boehm GC library (--with-boehm-gc) makes the executable cause a segmentation fault.
-
-set bgh_file /tmp/bunruidb.txt
-variant bunruidb description {Use Bunrui Goi Hyou} {
- if {[file readable ${bgh_file}]} {
- configure.args-append --with-bgh-file=${bgh_file}
- } else {
- pre-configure {
- ui_error "To enable the use of Bunrui DB, purchase a license of Bunrui Goi Hyou"
- ui_error "and put the DB file in ${bgh_file}."
- return -code error "Bunrui Goi Hyou is not available at ${bgh_file}"
- }
- }
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ AUTHORS COPYING ChangeLog README \
+ ${destroot}${docdir}
}
livecheck.type regex
-livecheck.regex ${name}-(\[0-9.\]+)\\.tar
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131222/f7e8dedf/attachment.html>
More information about the macports-changes
mailing list