Opened 19 years ago

Closed 20 months ago

#5525 closed enhancement (fixed)

RFE: add "package.resources" Portfile key

Reported by: drernie@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.1.0
Component: base Version:
Keywords: Cc:
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

At long last, I've modified the self-building DarwinPorts port to include a path-patching postflight script, as well as a ReadMe and License. Note that this requires the packages.resources patch in "Depends On", which may mean it needs to wait for 1.2. But, hopefully this will help the DP maintainers build that!

Attachments (9)

darwinports.zip (53.6 KB) - added by drernie@… 19 years ago.
Portfile and package.resource files
Portfile (1.4 KB) - added by drernie@… 19 years ago.
Revised Portfile, just uses post-pkg.
License.html (2.4 KB) - added by drernie@… 19 years ago.
License file (goes in 'files')
ReadMe.rtf (2.7 KB) - added by drernie@… 19 years ago.
ReadMe (goes in files)
postflight (3.3 KB) - added by drernie@… 19 years ago.
Postflight script (goes in 'files')
Portfile.2 (6.1 KB) - added by drernie@… 19 years ago.
Rev 3 Portfile, w/patch and keepdirs
patch-Makefiles_all (4.2 KB) - added by drernie@… 19 years ago.
patchfile from DP 1.2, now required/included with Port
postflight.2 (3.4 KB) - added by drernie@… 19 years ago.
V2: Postflight script (goes in 'files')
portpkg.tcl.diff (2.1 KB) - added by jmpalacios (Juan Manuel Palacios) 18 years ago.

Download all attachments as: .zip

Change History (22)

Changed 19 years ago by drernie@…

Attachment: darwinports.zip added

Portfile and package.resource files

Changed 19 years ago by drernie@…

Attachment: Portfile added

Revised Portfile, just uses post-pkg.

Changed 19 years ago by drernie@…

Attachment: License.html added

License file (goes in 'files')

comment:1 Changed 19 years ago by drernie@…

attachments.isobsolete: 01

Changed 19 years ago by drernie@…

Attachment: ReadMe.rtf added

ReadMe (goes in files)

Changed 19 years ago by drernie@…

Attachment: postflight added

Postflight script (goes in 'files')

comment:2 Changed 19 years ago by mww@…

Summary: darwinports: add package resources: postflight, ReadMe, LicenseRFE: add package resources: postflight, ReadMe, License

Changed 19 years ago by drernie@…

Attachment: Portfile.2 added

Rev 3 Portfile, w/patch and keepdirs

comment:3 Changed 19 years ago by drernie@…

attachments.isobsolete: 01

Changed 19 years ago by drernie@…

Attachment: patch-Makefiles_all added

patchfile from DP 1.2, now required/included with Port

Changed 19 years ago by drernie@…

Attachment: postflight.2 added

V2: Postflight script (goes in 'files')

comment:4 Changed 19 years ago by drernie@…

attachments.isobsolete: 01

comment:5 Changed 19 years ago by jmpp@…

The latest revision of all the files (ReadMe.rtf, postflight script and License.html) have been committed into CVS to both base/src/portmgr/dmg/ and dports/sysutils/darwinports/files/. Please read "http:// opendarwin.org/pipermail/darwinports/2005-November/029268.html" for a detailed explanation of the outstanding issues blocking the implementation of the "port dmg darwinports" solution to build the installer.

Thanks for this work, much appreciated!

-jmpp.

comment:6 Changed 18 years ago by rhwood@…

severity: normalenhancement

Make the list of bugs easier to scan.

comment:7 Changed 18 years ago by pipping@…

Milestone: MacPorts 1.5

comment:8 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)

Component: portsbase
Description: modified (diff)
Milestone: MacPorts 1.5Needs developer review
Summary: RFE: add package resources: postflight, ReadMe, LicenseRFE: add "package.resources" Portfile key
Version: 1.01.3.2

This ticket documents a base enchancement request originally made by Ernie to enahance the existing pkg target: the attached patch (portpkg.tcl.diff, Ernie's) adds a "package.resources" key that copies listed files (located in the files directory) into the ${pkgpath}/Contents/Resources/ path.

-jmpp

Changed 18 years ago by jmpalacios (Juan Manuel Palacios)

Attachment: portpkg.tcl.diff added

comment:9 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Needs developer reviewMacPorts base bugs

Milestone Needs developer review deleted

comment:10 Changed 17 years ago by nox@…

Milestone: MacPorts base bugsMacPorts base enhancements
Priority: ExpectedNormal
Version: 1.3.2

comment:11 Changed 17 years ago by afb@…

Still needed, especially after moving Resources over to English.lproj now

comment:12 Changed 15 years ago by jmroot (Joshua Root)

Reporter: changed from drernie@… to drernie@…

comment:13 Changed 20 months ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.1.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.