Opened 9 years ago

#49992 new enhancement

sendpage: improve packaging

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: sendpage

Description

The sendpage Portfile seems a bit weird, as if it could use some functions from the perl5 PortGroup rather than hardcoding this in the destroot phase for example:

destroot {
    system "cd ${worksrcpath} && ${perl5.bin} Makefile.PL INSTALLDIRS=vendor CC='${configure.cc}' LD='${configure.cc}'"
    system "cd ${worksrcpath} && make"
    system "cd ${worksrcpath} && make install DESTDIR='${destroot}'"
}

Change History (0)

Note: See TracTickets for help on using tickets.