Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 1997 04:50:55 +0900
From:      Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= <max@wide.ad.jp>
To:        fenner@parc.xerox.com
Cc:        max@wide.ad.jp, ports@freebsd.org
Subject:   Re: cvs commit: ports/devel/gmake/patches patch-aa
Message-ID:  <199706131950.EAA23433@bourbon.sfc.wide.ad.jp>
In-Reply-To: Your message of "Fri, 13 Jun 1997 12:22:49 PDT"
References:  <97Jun13.122251pdt.177512@crevenia.parc.xerox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
     > Packages will have to have not-compressed info files (or the
     > files will have to be compressed and uncompressed by the
     > PLIST), then.  Maybe it's ok to just set NOINFOCOMPRESS if
     > PACKAGE_BUILDING.

Oh yeah, you are right.  Another thing is that the info files have to
be uncompressed when doing pkg_delete, too.  So, I guess compressing
the info files isn't too good idea as it first seemed. ;)

I've made following changes to bsd.port.mk and tested it (and it
worked).  Satoshi, please look at it whenever you have time.

     Cheers,
Max

Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/src/share/mk/bsd.port.mk,v
retrieving revision 1.258
diff -u -r1.258 bsd.port.mk
--- bsd.port.mk	1997/06/04 00:12:19	1.258
+++ bsd.port.mk	1997/06/13 19:45:59
@@ -1090,6 +1090,15 @@
 .endfor
 .endif
 .endif
+.if make(real-install) && defined(INFO)
+	@${ECHO_MSG} "===>   Adding info entries."
+	@if [ ! -f ${PREFIX}/info/dir ]; then \
+	  ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+	 fi
+.for file in ${INFO}
+	@install-info ${PREFIX}/info/${file} ${PREFIX}/info/dir
+.endfor
+.endif
 .if make(real-install) && !defined(NO_PKG_REGISTER)
 	@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} fake-pkg
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706131950.EAA23433>