Fix bison.info install
This commit is contained in:
parent
8ab55c64e5
commit
176b20f7e2
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.9 1999/04/20 01:16:43 d Exp $
|
# $OpenBSD: Makefile,v 1.10 1999/07/29 14:03:48 espie Exp $
|
||||||
|
|
||||||
DISTNAME= bison-1.27
|
DISTNAME= bison-1.27
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
@ -11,16 +11,11 @@ MASTER_SITE_SUBDIR= bison
|
|||||||
SEPARATE_BUILD=concurrent
|
SEPARATE_BUILD=concurrent
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
INFO_FILES=bison.info
|
||||||
|
|
||||||
# bison installs bison.info*... remove our patch original before installing
|
# bison installs bison.info*... remove our patch original before installing
|
||||||
#
|
#
|
||||||
pre-install:
|
pre-install:
|
||||||
@${RM} -f ${WRKSRC}/bison.info.orig
|
@${RM} -f ${WRKSRC}/bison.info.orig
|
||||||
|
|
||||||
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/bison.info ${PREFIX}/info/dir
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
|
@unexec install-info --delete --info-dir=%D/info %D/info/bison.info
|
||||||
bin/bison
|
bin/bison
|
||||||
share/bison.simple
|
|
||||||
share/bison.hairy
|
|
||||||
@unexec install-info --delete %D/info/bison.info %D/info/dir
|
|
||||||
info/bison.info
|
info/bison.info
|
||||||
info/bison.info-1
|
info/bison.info-1
|
||||||
info/bison.info-2
|
info/bison.info-2
|
||||||
info/bison.info-3
|
info/bison.info-3
|
||||||
info/bison.info-4
|
info/bison.info-4
|
||||||
info/bison.info-5
|
info/bison.info-5
|
||||||
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
|
|
||||||
@exec install-info %D/info/bison.info %D/info/dir
|
|
||||||
man/man1/bison.1
|
man/man1/bison.1
|
||||||
|
share/bison.hairy
|
||||||
|
share/bison.simple
|
||||||
|
@exec install-info --info-dir=%D/info %D/info/bison.info
|
||||||
|
Loading…
Reference in New Issue
Block a user