Changes between Version 33 and Version 34 of PortfileRecipes
- Timestamp:
- Jan 14, 2012, 12:41:54 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortfileRecipes
v33 v34 199 199 {{{ 200 200 post-destroot { 201 set docdir ${destroot}${prefix}/share/doc/${ name}201 set docdir ${destroot}${prefix}/share/doc/${subport} 202 202 xinstall -d ${docdir} 203 203 xinstall -m 644 -W ${worksrcpath} \ … … 210 210 }}} 211 211 212 This example is taken from [browser:trunk/dports/www/spawn-fcgi/Portfile spawn-fcgi].213 214 212 Note: 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 214 Note: 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. 215 215 216 216 == Removing -arch flags from *-config scripts, *.pc files, etc. == #archflags