Create ${PREFIX}/info/dir if it does not exist.

This commit is contained in:
Jean-Marc Zucconi 1997-10-08 21:12:22 +00:00
parent d1453d6313
commit 83454132f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8184

View File

@ -3,7 +3,7 @@
# Date created: 5 October 1994
# Whom: jmz
#
# $Id: Makefile,v 1.15 1997/04/20 01:28:39 jmz Exp $
# $Id: Makefile,v 1.16 1997/08/13 15:28:12 jmz Exp $
#
DISTNAME= mtools-3.8
@ -31,6 +31,9 @@ post-patch:
post-install:
@install -c ${WRKSRC}/mtools.conf ${PREFIX}/etc
@if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@install-info ${PREFIX}/info/mtools.info ${PREFIX}/info/dir
.include <bsd.port.mk>