From d78986df41453671649154d7b5558114bc3a0adf Mon Sep 17 00:00:00 2001 From: vanilla Date: Mon, 2 Nov 1998 15:59:40 +0000 Subject: Install info page now. --- devel/glib20/Makefile | 5 ++++- devel/glib20/files/patch-ab | 27 ++++++++++++++++++--------- devel/glib20/pkg-plist | 4 ++++ 3 files changed, 26 insertions(+), 10 deletions(-) (limited to 'devel/glib20') diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index af8125c8582b..dcac5602a959 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -3,7 +3,7 @@ # Date Created: 28 July 1998 # Whom: Vanilla I. Shu # -# $Id: Makefile,v 1.3 1998/09/22 15:33:35 vanilla Exp $ +# $Id: Makefile,v 1.4 1998/10/28 15:46:56 vanilla Exp $ # DISTNAME= glib-1.1.4 @@ -20,6 +20,9 @@ CONFIGURE_ENV= INSTALL='$${INSTALL} -c' CONFIGURE_ARGS= --includedir=${PREFIX}/include/glib post-install: + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + fi @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include diff --git a/devel/glib20/files/patch-ab b/devel/glib20/files/patch-ab index 190a8c1e5f7d..b83367772933 100644 --- a/devel/glib20/files/patch-ab +++ b/devel/glib20/files/patch-ab @@ -1,16 +1,14 @@ --- Makefile.in.orig Sun Oct 25 15:59:19 1998 -+++ Makefile.in Wed Oct 28 23:22:13 1998 -@@ -82,9 +82,7 @@ - RANLIB = @RANLIB@ - VERSION = @VERSION@ ++++ Makefile.in Mon Nov 2 20:00:22 1998 +@@ -84,8 +84,6 @@ --SUBDIRS = gmodule docs -- --configincludedir = $(pkglibdir)/include -+SUBDIRS = gmodule + SUBDIRS = gmodule docs +-configincludedir = $(pkglibdir)/include +- bin_SCRIPTS=glib-config BUILT_SOURCES=glib-config + @@ -94,9 +92,9 @@ glib.spec \ sanity_check @@ -143,7 +141,7 @@ install-includeHEADERS install-data-recursive uninstall-data-recursive \ install-exec-recursive uninstall-exec-recursive installdirs-recursive \ --- gmodule/Makefile.in.orig Sun Oct 25 15:59:20 1998 -+++ gmodule/Makefile.in Wed Oct 28 23:12:09 1998 ++++ gmodule/Makefile.in Mon Nov 2 19:59:52 1998 @@ -94,30 +94,29 @@ include_HEADERS = \ gmodule.h @@ -259,3 +257,14 @@ if test -f $$p; then \ echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \ $(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \ +--- docs/Makefile.in.orig Mon Nov 2 20:01:03 1998 ++++ docs/Makefile.in Mon Nov 2 20:01:16 1998 +@@ -76,7 +76,7 @@ + LT_RELEASE = @LT_RELEASE@ + LT_REVISION = @LT_REVISION@ + MAINT = @MAINT@ +-MAKEINFO = @MAKEINFO@ ++MAKEINFO = @MAKEINFO@ --no-split + NM = @NM@ + PACKAGE = @PACKAGE@ + RANLIB = @RANLIB@ diff --git a/devel/glib20/pkg-plist b/devel/glib20/pkg-plist index b936042e23dc..b9ef2a278605 100644 --- a/devel/glib20/pkg-plist +++ b/devel/glib20/pkg-plist @@ -2,6 +2,10 @@ bin/glib-config include/glib/glib.h include/glib/glibconfig.h include/glib/gmodule.h +@unexec install-info --delete %D/info/glib.info %D/info/dir +info/glib.info +@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir +@exec install-info %D/info/glib.info %D/info/dir lib/libglib11.a lib/libglib11.la lib/libglib11.so -- cgit