summaryrefslogtreecommitdiff
path: root/sysutils/gtar/Makefile
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-12-24 19:19:29 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-12-24 19:19:29 +0000
commitda78791fe16d455bdd603f2d0ac70b4cbda7aa07 (patch)
tree7a72fdbae9bea65aa5c8d80518793e29835d54c4 /sysutils/gtar/Makefile
parentDon't install ${PREFIX}/bin/install-info (diff)
Create info/dir before trying to use it. Also, add install-info lines
to PLIST.
Notes
Notes: svn path=/head/; revision=15602
Diffstat (limited to 'sysutils/gtar/Makefile')
-rw-r--r--sysutils/gtar/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/gtar/Makefile b/sysutils/gtar/Makefile
index a409819ef9cf..ffa31db5c27b 100644
--- a/sysutils/gtar/Makefile
+++ b/sysutils/gtar/Makefile
@@ -3,7 +3,7 @@
# Date created: Sa 6 Jun 1998 10:24:51 CEST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.1.1.1 1998/06/06 10:34:24 andreas Exp $
+# $Id: Makefile,v 1.2 1998/06/08 05:48:58 asami Exp $
#
DISTNAME= tar-1.12
@@ -15,4 +15,9 @@ MAINTAINER= andreas@FreeBSD.ORG
GNU_CONFIGURE= yes
CONFIGURE_ARGS=--program-prefix=g
+pre-install:
+ if [ ! -f ${PREFIX}/info/dir ]; then \
+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+ fi
+
.include <bsd.port.mk>