MPReceipt


Object representation of an port's receipt

Superclass: MPMutableDictionary
Declared In: MPReceipt.h

Discussion

A receipt consists mainly of the port's name, version, revision number, variants, whether or not it is an active port, and some other information on the port. All receipts on the user's MacPorts system are kept in the port registry located in ${prefix}/var/macports/receipts/.



Methods

-initWithContentsOfArray:
This method initializes the MPReceipt object with a name, version, revision, variants, active state and long description.

initWithContentsOfArray:


This method initializes the MPReceipt object with a name, version, revision, variants, active state and long description.

- (id)initWithContentsOfArray:(NSArray *)array;
Parameters
array
An NSArray object containing the values for initializing this MPReceipt.
Discussion

The MPReceipt object contains an internal dictionary whose keys are the following strings: name, version, revision, variants, active, whatIsThis. The values for these keys are provided by the initializing array parameter.

Last Updated: Sunday, July 13, 2008