Changes between Version 104 and Version 105 of PortfileRecipes
- Timestamp:
- May 9, 2019, 4:42:09 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortfileRecipes
v104 v105 333 333 The current solution is to rename any config files to append a ''.dist'' or ''.sample'' extension to them so that the proper name of the config file is not part of the port. Then, in a post-activate phase, the port can test for the file's existence and, if it doesn't exist yet, copy it (copied in post-activate directly in ${prefix} keeps the file from being recorded as part of the port). 334 334 335 The [browser:trunk/dports/ net/squid/Portfile squidPortfile] and [browser:trunk/dports/security/stegdetect/Portfile stegdetect Portfile] are good examples.335 The [browser:trunk/dports/sysutils/bacula/Portfile bacula Portfile] and [browser:trunk/dports/security/stegdetect/Portfile stegdetect Portfile] are good examples. 336 336 337 337 == Installing additional documentation files == #doc