Changes between Version 33 and Version 34 of PortfileRecipes


Ignore:
Timestamp:
Jan 14, 2012, 12:41:54 AM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

set docdir based on ${subport} not ${name}

Legend:

Unmodified
Added
Removed
Modified
  • PortfileRecipes

    v33 v34  
    199199{{{
    200200post-destroot {
    201     set docdir ${destroot}${prefix}/share/doc/${name}
     201    set docdir ${destroot}${prefix}/share/doc/${subport}
    202202    xinstall -d ${docdir}
    203203    xinstall -m 644 -W ${worksrcpath} \
     
    210210}}}
    211211
    212 This example is taken from [browser:trunk/dports/www/spawn-fcgi/Portfile spawn-fcgi].
    213 
    214212Note: Ensure you use the correct capitalization for each filename. For example, many projects typically use all-caps for most of the documentation files, except for ChangeLog, which is often written in camel-case. If you fail to use the correct capitalization, the port may still install on your system, but will fail for users with case-sensitive filesystems.
     213
     214Note: This recipe used to recommend using ${destroot}${prefix}/share/doc/${name}, which is fine if used in a standalone port, but this will cause conflicts if used in a port with subports, such as one using the unified python portgroup.
    215215
    216216== Removing -arch flags from *-config scripts, *.pc files, etc. == #archflags