diff options
author | agc <agc> | 1998-02-13 12:19:43 +0000 |
---|---|---|
committer | agc <agc> | 1998-02-13 12:19:43 +0000 |
commit | 42321a4c2a5466f214d0711af347df27b4884932 (patch) | |
tree | 9d938c67521f1f84f1213e23999d0af5d4c2e090 /graphics/gimp/pkg | |
parent | da3c127e3409da34f14662a9f6128b6856f7a4dc (diff) | |
download | pkgsrc-42321a4c2a5466f214d0711af347df27b4884932.tar.gz |
Add a pre-install stage which ensures that there's a valid info dir file
in ${X11BASE}/info at installation time.
Modify PLIST to do the same if installing a binary package.
Pre-process the PLIST to expand LOCALBASE, so that the info dir file
source can be found in the correct directory.
Diffstat (limited to 'graphics/gimp/pkg')
-rw-r--r-- | graphics/gimp/pkg/PLIST | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/gimp/pkg/PLIST b/graphics/gimp/pkg/PLIST index c666cbd616e..c7993fcacfc 100644 --- a/graphics/gimp/pkg/PLIST +++ b/graphics/gimp/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 1998/02/03 10:17:12 tron Exp $ +@comment $NetBSD: PLIST,v 1.2 1998/02/13 12:19:45 agc Exp $ bin/gimp include/libgimp/gimp.h include/libgimp/gimpenums.h @@ -14,11 +14,12 @@ include/gck/gcktypes.h include/gck/gckui.h include/gck/gcknotebook.h include/gck/gckvector.h -@unexec %D/bin/install-info --delete %D/info/pdb.info %D/info/dir +@unexec install-info --delete %D/info/pdb.info %D/info/dir info/pdb.info info/pdb.info-1 info/pdb.info-2 -@exec %D/bin/install-info %D/info/pdb.info %D/info/dir +@exec [ ! -f %D/info/dir ] && /usr/bin/sed -ne '1,/Menu:/p' ${LOCALBASE}/info/dir > %D/info/dir +@exec install-info %D/info/pdb.info %D/info/dir lib/libgimp.so.1.0 lib/libgimp.la lib/libgimp.a |