Opened 6 years ago

Last modified 6 years ago

#58139 new submission

Portfile for perl Archive::Rar

Reported by: hyperbole (hyperbole) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: p5-archive-rar

Description


Attachments (1)

Portfile (991 bytes) - added by hyperbole (hyperbole) 6 years ago.
perl p5-archive-rar Portfile

Download all attachments as: .zip

Change History (8)

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

The license field should be changed to the name(s) of licenses we recognize. Consult other ports of this type for ideas of appropriate license names.

Changed 6 years ago by hyperbole (hyperbole)

Attachment: Portfile added

perl p5-archive-rar Portfile

comment:2 Changed 6 years ago by hyperbole (hyperbole)

After looking at several modules by he same author, I realized they all said they could be distributed under the same license as Perl, itself, so I copied the license field from port perl5.

Carl.

comment:3 Changed 6 years ago by jmroot (Joshua Root)

% port lint subport=p5.28-archive-rar
--->  Verifying Portfile for p5.28-archive-rar
Error: Unknown dependency: rar

comment:4 Changed 6 years ago by hyperbole (hyperbole)

Archive::Rar is a Perl module that creates an interface to an external rar executable. The executable needs to be installed in /opt/local/bin. I created a symbolic link from /opt/local/bin to a copy of rar that I had installed on my computer.

Since all the version of rar I can find on the InterNET require a fee to use, I don't know if you want to continue with creation of this port now.

Carl.

comment:5 Changed 6 years ago by mf2k (Frank Schima)

The issue is that in the dependency, you specified an invalid port, which is the last term. You instead need to write it like so:

bin:rar:unrar

comment:6 Changed 6 years ago by jmroot (Joshua Root)

But the unrar port doesn't provide a rar executable.

comment:7 Changed 6 years ago by mf2k (Frank Schima)

I see, I didn't realize that.

Note: See TracTickets for help on using tickets.