Opened 10 years ago

Last modified 9 years ago

#41653 closed submission

new port of gr1c — at Version 1

Reported by: SCL@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: gr1c

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I created a new port for gr1c (http://scottman.net/2012/gr1c ; http://slivingston.github.io/gr1c/). It depends on libcudd, the Portfile of which I updated for version 2.5.0 of CUDD and posted it at what seems to be the most relevant ticket, #27726

Change History (5)

Changed 10 years ago by SCL@…

Attachment: Portfile added

Changed 10 years ago by SCL@…

Attachment: patch-Makefile-i386.diff added

Makefile patch in case target arch is i386

Changed 10 years ago by SCL@…

Attachment: patch-Makefile.diff added

Changed 10 years ago by SCL@…

Attachment: patch-tests-Makefile.diff added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: gr1c added

Thanks. Some observations:

  • the i386 patch seems not to be i386-specific but rather 32-bit-specific; it would be needed on ppc as well. And it would be nice to not have to maintain the same patch twice, once for 64-bit and once for 32-bit; you may want to have just a single patch, and then use reinplace to fix the incorrect values on 32-bit systems
  • the patchfiles hardcode the location /opt/local; MacPorts might be in a different prefix so you need to arrange to use the value of the ${prefix} variable instead
  • "build.target all" is the default so it can be removed
  • the destroot block can be simplified by using xinstall's -W flag
Note: See TracTickets for help on using tickets.