Ticket #5525: Portfile

File Portfile, 1.4 KB (added by drernie@…, 19 years ago)

Revised Portfile, just uses post-pkg.

Line 
1# $Id: Portfile,v 1.9 2003/09/18 20:32:16 wbb4 Exp $
2
3PortSystem              1.0
4
5name                    DarwinPorts
6version                 1.1
7categories              sysutils
8platforms               darwin freebsd
9# depends_run   port:PortAuthority
10# The following are only suggested maintainers, pick as you see fit
11maintainers             michaelm@opendarwin.org matt@opendarwin.org \
12 jmpp@opendarwin.org drernie@opendarwin.org jkh@opendarwin.org olegb@opendarwin.org
13
14description             The DarwinPorts Infrastructure
15long_description        DarwinPorts provides the infrastructure that allows easy installation \
16                        of freely available software on a Mac OS X 10.2 (or any Darwin 6.0.1 or \
17                        newer) system.
18
19homepage                http://www.darwinports.org
20master_sites            ${homepage}/downloads
21use_bzip2               yes
22checksums               rmd160 7261cd81db9fa1060bf768dafdf8e147e393476a
23
24#patchfiles             patch-Makefiles_all
25
26configure.args          --mandir=${prefix}/share/man
27
28# http://developer.apple.com/documentation/DeveloperTools/Conceptual/SoftwareDistribution/Concepts/sd_install_process.html
29# http://developer.apple.com/documentation/DeveloperTools/Conceptual/SoftwareDistribution/Concepts/sd_pre_post_processing.html
30
31#package.resources ${filespath}/ReadMe.rtf ${filespath}/License.html ${filespath}/postflight
32
33post-pkg {
34        set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
35        file copy -force -- ${filespath}/ReadMe.rtf ${resources}
36        file copy -force -- ${filespath}/License.html ${resources}
37        file copy -force -- ${filespath}/postflight ${resources}
38}