diff options
author | wiz <wiz> | 2015-02-15 18:50:48 +0000 |
---|---|---|
committer | wiz <wiz> | 2015-02-15 18:50:48 +0000 |
commit | 67e6ceed80c70a46ec59ebce5632856c2e42025a (patch) | |
tree | 5d3198c7343ac91ba2b93fef109ae446a2ac49f7 /doc/pkgsrc.txt | |
parent | a61c5ac3c2c169fb7bb419398052c1ba4f55ecb5 (diff) | |
download | pkgsrc-67e6ceed80c70a46ec59ebce5632856c2e42025a.tar.gz |
regen
Diffstat (limited to 'doc/pkgsrc.txt')
-rw-r--r-- | doc/pkgsrc.txt | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/doc/pkgsrc.txt b/doc/pkgsrc.txt index e49dd169682..6c34af749b7 100644 --- a/doc/pkgsrc.txt +++ b/doc/pkgsrc.txt @@ -210,7 +210,8 @@ II. The pkgsrc developer's guide 13.5. Man page compression 13.6. Changing PLIST source with PLIST_SRC 13.7. Platform-specific and differing PLISTs - 13.8. Sharing directories between packages + 13.8. Build-specific PLISTs + 13.9. Sharing directories between packages 14. Buildlink methodology @@ -2911,7 +2912,8 @@ Table of Contents 13.5. Man page compression 13.6. Changing PLIST source with PLIST_SRC 13.7. Platform-specific and differing PLISTs - 13.8. Sharing directories between packages + 13.8. Build-specific PLISTs + 13.9. Sharing directories between packages 14. Buildlink methodology @@ -4156,7 +4158,8 @@ Table of Contents 13.5. Man page compression 13.6. Changing PLIST source with PLIST_SRC 13.7. Platform-specific and differing PLISTs -13.8. Sharing directories between packages +13.8. Build-specific PLISTs +13.9. Sharing directories between packages The PLIST file contains a package's "packing list", i.e. a list of files that belong to the package (relative to the ${PREFIX} directory it's been installed @@ -4179,7 +4182,7 @@ targets" for more information on this target. 13.3. Tweaking output of make print-PLIST -If you have used any of the *-dirs packages, as explained in Section 13.8, +If you have used any of the *-dirs packages, as explained in Section 13.9, "Sharing directories between packages", you may have noticed that make print-PLIST outputs a set of @comments instead of real @dirrm lines. You can also do this for specific directories and files, so that the results of that @@ -4299,7 +4302,23 @@ following files: * PLIST.common_end -13.8. Sharing directories between packages +13.8. Build-specific PLISTs + +Some packages decide to generate hard-to-guess file names during installation +that are hard to wire down. + +In such cases, you can set the GENERATE_PLIST variable to shell code terminated +(with a semicolon) that will output PLIST entries which will be appended to the +PLIST + +You can find one example in editors/xemacs: + + GENERATE_PLIST+= ${ECHO} bin/${DISTNAME}-`${WRKSRC}/src/xemacs -sd`.dmp ; + + +which will append something like bin/xemacs-21.4.23-54e8ea71.dmp to the PLIST. + +13.9. Sharing directories between packages A "shared directory" is a directory where multiple (and unrelated) packages install files. These directories were problematic because you had to add @@ -4316,6 +4335,8 @@ installation as usual, and also add an entry to the PLIST: @pkgdir path/to/empty/directory +or take a look at MAKE_DIRS and OWN_DIRS. + Chapter 14. Buildlink methodology Table of Contents |