New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #5525 (new enhancement)

Opened 8 years ago

Last modified 4 years ago

RFE: add "package.resources" Portfile key

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

Description (last modified by jmpp@…) (diff)

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

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

Change History

Changed 8 years ago by drernie@…

Portfile and package.resource files

Changed 8 years ago by drernie@…

Revised Portfile, just uses post-pkg.

Changed 8 years ago by drernie@…

License file (goes in 'files')

comment:1 Changed 8 years ago by drernie@…

  • attachments.isobsolete changed from 0 to 1

Changed 8 years ago by drernie@…

ReadMe (goes in files)

Changed 8 years ago by drernie@…

Postflight script (goes in 'files')

comment:2 Changed 8 years ago by mww@…

  • Summary changed from darwinports: add package resources: postflight, ReadMe, License to RFE: add package resources: postflight, ReadMe, License

Changed 8 years ago by drernie@…

Rev 3 Portfile, w/patch and keepdirs

comment:3 Changed 8 years ago by drernie@…

  • attachments.isobsolete changed from 0 to 1

Changed 8 years ago by drernie@…

patchfile from DP 1.2, now required/included with Port

Changed 8 years ago by drernie@…

V2: Postflight script (goes in 'files')

comment:4 Changed 8 years ago by drernie@…

  • attachments.isobsolete changed from 0 to 1

comment:5 Changed 8 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 7 years ago by rhwood@…

  • severity changed from normal to enhancement

Make the list of bugs easier to scan.

comment:7 Changed 6 years ago by pipping@…

  • Milestone set to MacPorts 1.5

comment:8 Changed 6 years ago by jmpp@…

  • Milestone changed from MacPorts 1.5 to Needs developer review
  • Version changed from 1.0 to 1.3.2
  • Component changed from ports to base
  • Description modified (diff)
  • Summary changed from RFE: add package resources: postflight, ReadMe, License to RFE: add "package.resources" Portfile key

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 6 years ago by jmpp@…

comment:9 Changed 6 years ago by jmpp@…

  • Milestone changed from Needs developer review to MacPorts base bugs

Milestone Needs developer review deleted

comment:10 Changed 6 years ago by nox@…

  • Priority changed from Expected to Normal
  • Version 1.3.2 deleted
  • Milestone changed from MacPorts base bugs to MacPorts base enhancements

comment:11 Changed 6 years ago by afb@…

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

comment:12 Changed 4 years ago by jmr@…

  • Reporter changed from drernie@… to drernie@…
Note: See TracTickets for help on using tickets.