[MacPorts] #46743: vcs_blackbox @1.20150203 New contribution

MacPorts noreply at macports.org
Mon Feb 16 01:12:45 PST 2015


#46743: vcs_blackbox @1.20150203 New contribution
---------------------------+--------------------------------
  Reporter:  tal@…         |      Owner:  macports-tickets@…
      Type:  submission    |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  vcs_blackbox  |
---------------------------+--------------------------------

Comment (by mojca@…):

 These lines use a slightly "unnatural" approach:
 {{{
 use_configure       no
 build               {}

 destroot {
   system "cd ${worksrcpath} && make packages-macports
 DESTDIR=${destroot}/${prefix}"
 }}}

 It would make slightly more sense to adapt variables, for example change
 `destroot.target` to `packages-macports` and `destroot.destdir` to
 `DESTDIR=${destroot}/${prefix}"` and let MacPorts work out the rest of the
 "magic"

 Just curious: in what respect is MacPorts special, so that you need a
 special target in `Makefile` to handle MacPorts? Why doesn't `make install
 DESTDIR=${destroot}[/${prefix}]` work?

 Related to the comments in your Portfile. Try to delete (or comment out)
 the line with checksums and run
 {{{
 port -v extract vcs_blackbox
 }}}
 This will give you the checksums you need without additional effort. It's
 a good practice to include both `rmd160` and `sha256`.

-- 
Ticket URL: <https://trac.macports.org/ticket/46743#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list