mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix to properly install info files.
PR: 5740 Submitted by: Igor Vinokurov <igor@zynaps.ru>
This commit is contained in:
parent
14737a7a86
commit
fcc102b669
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9733
@ -3,7 +3,7 @@
|
||||
# Date created: 8 Apr 1996
|
||||
# Whom: Brent J. Nordquist <bjn@visi.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.3 1996/11/18 10:19:15 asami Exp $
|
||||
# $Id: Makefile,v 1.4 1997/01/28 08:11:23 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= gdbm-1.7.3
|
||||
@ -16,4 +16,10 @@ GNU_CONFIGURE= yes
|
||||
MAKE_FLAGS= CFLAGS="${CFLAGS}" LDFLAGS=-s -f
|
||||
MAN3= gdbm.3
|
||||
|
||||
post-install:
|
||||
@if [ ! -f ${PREFIX}/info/dir ]; then \
|
||||
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
||||
fi
|
||||
@install-info ${PREFIX}/info/gdbm.info ${PREFIX}/info/dir
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
13
databases/gdbm/files/patch-aa
Normal file
13
databases/gdbm/files/patch-aa
Normal file
@ -0,0 +1,13 @@
|
||||
--- gdbm.texinfo.orig Sat Feb 14 16:25:48 1998
|
||||
+++ gdbm.texinfo Sat Feb 14 16:28:33 1998
|
||||
@@ -2,6 +2,10 @@
|
||||
@comment %**start of header (This is for running Texinfo on a region.)
|
||||
@setfilename gdbm.info
|
||||
@settitle gdbm
|
||||
+@dircategory Programming & development tools
|
||||
+@direntry
|
||||
+* GDBM: (gdbm). The GNU database manager.
|
||||
+@end direntry
|
||||
@c @setchapternewpage odd
|
||||
@comment %**end of header (This is for running Texinfo on a region.)
|
||||
|
20
databases/gdbm/files/patch-ab
Normal file
20
databases/gdbm/files/patch-ab
Normal file
@ -0,0 +1,20 @@
|
||||
--- Makefile.in.orig Sun May 15 13:28:49 1994
|
||||
+++ Makefile.in Sat Feb 14 16:37:46 1998
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
DISTFILES = $(SRCS) $(HDRS) $(MSCFILES)
|
||||
|
||||
-all: libgdbm.a
|
||||
+all: libgdbm.a info
|
||||
|
||||
progs: $(PROGS)
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
|
||||
info: gdbm.info
|
||||
|
||||
-gdbm.info:
|
||||
+gdbm.info: gdbm.texinfo
|
||||
$(MAKEINFO) $(srcdir)/gdbm.texinfo
|
||||
|
||||
dvi: gdbm.dvi
|
@ -1,4 +1,7 @@
|
||||
include/gdbm.h
|
||||
@unexec install-info --delete %D/info/gdbm.info %D/info/dir
|
||||
info/gdbm.info
|
||||
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
|
||||
@exec install-info %D/info/gdbm.info %D/info/dir
|
||||
lib/libgdbm.a
|
||||
man/man3/gdbm.3.gz
|
||||
|
Loading…
Reference in New Issue
Block a user