Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#29162 closed submission (fixed)

yamcha @ 0.33 - new port

Reported by: humem (humem) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: science Cc:
Port: yamcha

Description

This is a Portfile for YamCha, Yet Another Multipurpose CHunk Annotator.

Attachments (2)

Portfile (1.3 KB) - added by humem (humem) 13 years ago.
Portfile.2 (1.7 KB) - added by humem (humem) 13 years ago.

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by humem (humem)

Attachment: Portfile added

Changed 13 years ago by humem (humem)

Attachment: Portfile.2 added

comment:1 Changed 13 years ago by humem (humem)

Portfile.2 enables a universal build and make check as well as the tinysvm port I submitted.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Added yamcha in r78011 with these changes:

  • fixed double slash in master_sites
  • removed universal variant stuff; not necessary in a project like yamcha with a standard autoconf-based configure script; it only failed to build universal because the configure script erroneously overrides our CFLAGS and CXXFLAGS; I added a patch to fix that
  • changed configure.args-append back to just configure.args; configure.args is empty by default; it's there for the portfile to set as desired (not necessarily the case when using a portgroup, but this portfile isn't using a portgroup)
  • indicated version of LGPL in the license field
  • corrected case of TinySVM dependency
  • enabled building of shared library (why had you disabled it?)
  • in order to get the shared library to build for the right architectures, since the configure script was made with a too-old version of autoconf, brought back "use_autoreconf yes"; this also makes the --mandir argument unnecessary
  • fixed tests to run correctly by specifying correct location for svm_learn in --with-svm-learn argument
  • used lindex in livecheck.url definition

comment:4 in reply to:  3 ; Changed 13 years ago by humem (humem)

Replying to ryandesign@…:

  • enabled building of shared library (why had you disabled it?)

I totally thought I should disable building of shared library just as the TinySVM port, but I realize I was wrong.

  • used lindex in livecheck.url definition

I wonder whether livecheck.url definition is not necessary in this port.

comment:5 in reply to:  4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to hiroshi.umemoto@…:

I wonder whether livecheck.url definition is not necessary in this port.

It depends on your intention. Currently, the livecheck is looking for new distfiles in the download directory. If you did not specify livecheck.url, it would look for them in the homepage. Currently, for yamcha, either one works. I tend to like to use directory listings; they seem less likely to fail in the future. Also, in this case, the directory listing is only about 2K of data while the homepage is about 32K of data, so the directory listing should be faster to fetch.

Note: See TracTickets for help on using tickets.