Use install-info.

This commit is contained in:
Thomas Gellekum 1997-05-22 07:53:32 +00:00
parent e223398695
commit b3a353b967
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6533
4 changed files with 20 additions and 2 deletions

View file

@ -3,7 +3,7 @@
# Date created: 31 December 1996
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id: Makefile,v 1.2 1997/02/24 12:31:58 tg Exp $
# $Id: Makefile,v 1.3 1997/05/15 07:20:04 tg Exp $
#
DISTNAME= wget-1.4.5
@ -15,4 +15,10 @@ MAINTAINER= tg@FreeBSD.ORG
GNU_CONFIGURE= yes
MAN1= wget.1
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/wget.info ${PREFIX}/info/dir
.include <bsd.port.mk>

View file

@ -4,4 +4,7 @@ info/wget.info
info/wget.info-1
info/wget.info-2
info/wget.info-3
@unexec install-info --delete %D/info/wget.info %D/info/dir
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/wget.info %D/info/dir
man/man1/wget.1.gz

View file

@ -3,7 +3,7 @@
# Date created: 31 December 1996
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id: Makefile,v 1.2 1997/02/24 12:31:58 tg Exp $
# $Id: Makefile,v 1.3 1997/05/15 07:20:04 tg Exp $
#
DISTNAME= wget-1.4.5
@ -15,4 +15,10 @@ MAINTAINER= tg@FreeBSD.ORG
GNU_CONFIGURE= yes
MAN1= wget.1
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/wget.info ${PREFIX}/info/dir
.include <bsd.port.mk>

View file

@ -4,4 +4,7 @@ info/wget.info
info/wget.info-1
info/wget.info-2
info/wget.info-3
@unexec install-info --delete %D/info/wget.info %D/info/dir
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/wget.info %D/info/dir
man/man1/wget.1.gz