diff options
-rw-r--r-- | graphics/gimp/Makefile | 10 | ||||
-rw-r--r-- | graphics/gimp/pkg/PLIST | 7 |
2 files changed, 13 insertions, 4 deletions
diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile index 4f8937dee69..47c2ab08fc1 100644 --- a/graphics/gimp/Makefile +++ b/graphics/gimp/Makefile @@ -3,7 +3,7 @@ # Date created: 29 January 1998 # Whom: Bernd Sieker <bsieker@techfak.uni-bielefeld.de> # -# $NetBSD: Makefile,v 1.3 1998/02/05 14:20:53 tron Exp $ +# $NetBSD: Makefile,v 1.4 1998/02/13 12:19:43 agc Exp $ DISTNAME= gimp-0.99.18 CATEGORIES= graphics @@ -63,6 +63,14 @@ post-configure: ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} ) .endif +PLIST_SRC= ${WRKDIR:T}/.PLIST-src + +pre-install: + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' ${LOCALBASE}/info/dir > ${PREFIX}/info/dir; \ + fi + @${SED} -e 's|\$${LOCALBASE}|'${LOCALBASE}'|g' < pkg/PLIST > ${PLIST_SRC} + post-install: install-info ${PREFIX}/info/pdb.info ${PREFIX}/info/dir @${ECHO_MSG} "--> now installing in ${GIMP_DATA_MIN}" 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 |