Changeset 15110 for trunk/dports


Ignore:
Timestamp:
Nov 22, 2005, 2:08:21 AM (18 years ago)
Author:
jmpp
Message:

Submitted by: jmpp@ drernie@

Uprev the DarwinPorts portfile to:

-) make portmgr@ its maintainer, I belive this to be more appropriate;
-) include a destroot.keepdirs key to properly preserve the filesystem structure;
-) include the necessary files to build the dmg.

NOTE: Last time I checked, the postflight script needed a lot of improvements,
but Ernie assures me the version I'm committing here is working. Some wider testing
would be cool.

Location:
trunk/dports/sysutils/darwinports
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/darwinports/Portfile

    r14629 r15110  
    1 # $Id: Portfile,v 1.11 2005/10/14 16:48:23 jmpp Exp $
     1# $Id: Portfile,v 1.12 2005/11/22 02:08:20 jmpp Exp $
    22
    33PortSystem              1.0
     
    55name                    DarwinPorts
    66version                 1.1
     7revision                1
    78categories              sysutils
    89platforms               darwin freebsd
    9 maintainers             michaelm@opendarwin.org matt@opendarwin.org jmpp@opendarwin.org
     10maintainers             portmgr@opendarwin.org
    1011
    1112description             The DarwinPorts Infrastructure
     
    2122patchfiles              patch-Makefiles_all
    2223
     24#depends_run            port:PortAuthority
     25
    2326configure.args          --mandir=${prefix}/share/man
     27
     28destroot.keepdirs ${destroot}${prefix}/include\
     29        ${destroot}${prefix}/lib ${destroot}${prefix}/libexec\
     30        ${destroot}${prefix}/sbin\
     31        ${destroot}${prefix}/share/info\
     32        ${destroot}${prefix}/share/man/cat1 ${destroot}${prefix}/share/man/cat2 ${destroot}${prefix}/share/man/cat3\
     33        ${destroot}${prefix}/share/man/cat4 ${destroot}${prefix}/share/man/cat5 ${destroot}${prefix}/share/man/cat6\
     34        ${destroot}${prefix}/share/man/cat7 ${destroot}${prefix}/share/man/cat8 ${destroot}${prefix}/share/man/cat9\
     35        ${destroot}${prefix}/share/man/catl ${destroot}${prefix}/share/man/catn \
     36        ${destroot}${prefix}/share/man/man1 ${destroot}${prefix}/share/man/man2 ${destroot}${prefix}/share/man/man3\
     37        ${destroot}${prefix}/share/man/man4 ${destroot}${prefix}/share/man/man5 ${destroot}${prefix}/share/man/man6\
     38        ${destroot}${prefix}/share/man/man7 ${destroot}${prefix}/share/man/man8 ${destroot}${prefix}/share/man/man9\
     39        ${destroot}${prefix}/share/man/manl ${destroot}${prefix}/share/man/mann \
     40        ${destroot}${prefix}/share/nls/C ${destroot}${prefix}/share/nls/skel\
     41        ${destroot}${prefix}/share/nls/af_ZA.ISO8859-1\
     42        ${destroot}${prefix}/share/nls/af_ZA.ISO8859-15\
     43        ${destroot}${prefix}/share/nls/bg_BG.CP1251\
     44        ${destroot}${prefix}/share/nls/cs_CZ.ISO8859-2\
     45        ${destroot}${prefix}/share/nls/da_DK.ISO8859-1\
     46        ${destroot}${prefix}/share/nls/da_DK.ISO8859-15\
     47        ${destroot}${prefix}/share/nls/de_AT.ISO8859-1\
     48        ${destroot}${prefix}/share/nls/de_AT.ISO8859-15\
     49        ${destroot}${prefix}/share/nls/de_CH.ISO8859-1\
     50        ${destroot}${prefix}/share/nls/de_CH.ISO8859-15\
     51        ${destroot}${prefix}/share/nls/de_DE.ISO8859-1\
     52        ${destroot}${prefix}/share/nls/de_DE.ISO8859-15\
     53        ${destroot}${prefix}/share/nls/el_GR.ISO8859-7\
     54        ${destroot}${prefix}/share/nls/en_AU.ISO8859-1\
     55        ${destroot}${prefix}/share/nls/en_AU.ISO8859-15\
     56        ${destroot}${prefix}/share/nls/en_AU.US-ASCII\
     57        ${destroot}${prefix}/share/nls/en_CA.ISO8859-1\
     58        ${destroot}${prefix}/share/nls/en_CA.ISO8859-15\
     59        ${destroot}${prefix}/share/nls/en_CA.US-ASCII\
     60        ${destroot}${prefix}/share/nls/en_GB.ISO8859-1\
     61        ${destroot}${prefix}/share/nls/en_GB.ISO8859-15\
     62        ${destroot}${prefix}/share/nls/en_GB.US-ASCII\
     63        ${destroot}${prefix}/share/nls/en_NZ.ISO8859-1\
     64        ${destroot}${prefix}/share/nls/en_NZ.ISO8859-15\
     65        ${destroot}${prefix}/share/nls/en_NZ.US-ASCII\
     66        ${destroot}${prefix}/share/nls/en_US.ISO8859-1\
     67        ${destroot}${prefix}/share/nls/en_US.ISO8859-15\
     68        ${destroot}${prefix}/share/nls/es_ES.ISO8859-1\
     69        ${destroot}${prefix}/share/nls/es_ES.ISO8859-15\
     70        ${destroot}${prefix}/share/nls/et_EE.ISO8859-15\
     71        ${destroot}${prefix}/share/nls/fi_FI.ISO8859-1\
     72        ${destroot}${prefix}/share/nls/fi_FI.ISO8859-15\
     73        ${destroot}${prefix}/share/nls/fr_BE.ISO8859-1\
     74        ${destroot}${prefix}/share/nls/fr_BE.ISO8859-15\
     75        ${destroot}${prefix}/share/nls/fr_CA.ISO8859-1\
     76        ${destroot}${prefix}/share/nls/fr_CA.ISO8859-15\
     77        ${destroot}${prefix}/share/nls/fr_CH.ISO8859-1\
     78        ${destroot}${prefix}/share/nls/fr_CH.ISO8859-15\
     79        ${destroot}${prefix}/share/nls/fr_FR.ISO8859-1\
     80        ${destroot}${prefix}/share/nls/fr_FR.ISO8859-15\
     81        ${destroot}${prefix}/share/nls/hi_IN.ISCII-DEV\
     82        ${destroot}${prefix}/share/nls/hr_HR.ISO8859-2\
     83        ${destroot}${prefix}/share/nls/hu_HU.ISO8859-2\
     84        ${destroot}${prefix}/share/nls/is_IS.ISO8859-1\
     85        ${destroot}${prefix}/share/nls/is_IS.ISO8859-15\
     86        ${destroot}${prefix}/share/nls/it_CH.ISO8859-1\
     87        ${destroot}${prefix}/share/nls/it_CH.ISO8859-15\
     88        ${destroot}${prefix}/share/nls/it_IT.ISO8859-1\
     89        ${destroot}${prefix}/share/nls/it_IT.ISO8859-15\
     90        ${destroot}${prefix}/share/nls/ja_JP.SJIS\
     91        ${destroot}${prefix}/share/nls/ja_JP.eucJP\
     92        ${destroot}${prefix}/share/nls/ko_KR.eucKR\
     93        ${destroot}${prefix}/share/nls/la_LN.ISO8859-1\
     94        ${destroot}${prefix}/share/nls/la_LN.ISO8859-15\
     95        ${destroot}${prefix}/share/nls/la_LN.ISO8859-2\
     96        ${destroot}${prefix}/share/nls/la_LN.ISO8859-4\
     97        ${destroot}${prefix}/share/nls/la_LN.US-ASCII\
     98        ${destroot}${prefix}/share/nls/lt_LT.ISO8859-4\
     99        ${destroot}${prefix}/share/nls/nl_BE.ISO8859-1\
     100        ${destroot}${prefix}/share/nls/nl_BE.ISO8859-15\
     101        ${destroot}${prefix}/share/nls/nl_NL.ISO8859-1\
     102        ${destroot}${prefix}/share/nls/nl_NL.ISO8859-15\
     103        ${destroot}${prefix}/share/nls/no_NO.ISO8859-1\
     104        ${destroot}${prefix}/share/nls/no_NO.ISO8859-15\
     105        ${destroot}${prefix}/share/nls/pl_PL.ISO8859-2\
     106        ${destroot}${prefix}/share/nls/pt_BR.ISO8859-1\
     107        ${destroot}${prefix}/share/nls/pt_PT.ISO8859-1\
     108        ${destroot}${prefix}/share/nls/pt_PT.ISO8859-15\
     109        ${destroot}${prefix}/share/nls/ro_RO.ISO8859-2\
     110        ${destroot}${prefix}/share/nls/ru_RU.CP866\
     111        ${destroot}${prefix}/share/nls/ru_RU.ISO8859-5\
     112        ${destroot}${prefix}/share/nls/ru_RU.KOI8-R\
     113        ${destroot}${prefix}/share/nls/sk_SK.ISO8859-2\
     114        ${destroot}${prefix}/share/nls/sl_SI.ISO8859-2\
     115        ${destroot}${prefix}/share/nls/sv_SE.ISO8859-1\
     116        ${destroot}${prefix}/share/nls/sv_SE.ISO8859-15\
     117        ${destroot}${prefix}/share/nls/tr_TR.ISO8859-9\
     118        ${destroot}${prefix}/share/nls/uk_UA.ISO8859-5\
     119        ${destroot}${prefix}/share/nls/uk_UA.KOI8-U\
     120        ${destroot}${prefix}/share/nls/zh_CN.eucCN\
     121        ${destroot}${prefix}/share/nls/zh_TW.Big5\
     122        ${destroot}${prefix}/var/db/dports/distfiles ${destroot}${prefix}/var/db/dports/receipts
     123
     124
     125#package.resources ${filespath}/ReadMe.rtf ${filespath}/License.html ${filespath}/postflight
     126post-pkg {
     127        set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
     128        file copy -force -- ${filespath}/ReadMe.rtf ${resources}
     129        file copy -force -- ${filespath}/License.html ${resources}
     130        file copy -force -- ${filespath}/postflight ${resources}
     131}
Note: See TracChangeset for help on using the changeset viewer.