aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gindent
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>1999-06-06 06:32:11 +0800
committermharo <mharo@FreeBSD.org>1999-06-06 06:32:11 +0800
commitd27edf52986a3f634e493451ba0a43f64be2cfc2 (patch)
treec93047466dbf9daea5ade970b9464515c4feac22 /devel/gindent
parent588c5c62f48a4a87b881b1f43a8b28dfc3d70586 (diff)
downloadfreebsd-ports-gnome-d27edf52986a3f634e493451ba0a43f64be2cfc2.tar.gz
freebsd-ports-gnome-d27edf52986a3f634e493451ba0a43f64be2cfc2.tar.zst
freebsd-ports-gnome-d27edf52986a3f634e493451ba0a43f64be2cfc2.zip
Remove the test to create ${PREFIX}/share/info/dir as it is now
in bsd.port.mk and this helps to unify the check and install.
Diffstat (limited to 'devel/gindent')
-rw-r--r--devel/gindent/Makefile9
-rw-r--r--devel/gindent/pkg-plist1
2 files changed, 1 insertions, 9 deletions
diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile
index 440e49130aa7..e5812ddd142d 100644
--- a/devel/gindent/Makefile
+++ b/devel/gindent/Makefile
@@ -3,7 +3,7 @@
# Date created: 28 August 1997
# Whom: Kapil Chowksey <kchowksey@hss.hns.com>
#
-# $Id: Makefile,v 1.1.1.1 1997/08/29 09:20:00 obrien Exp $
+# $Id: Makefile,v 1.2 1999/01/27 07:41:06 fenner Exp $
#
DISTNAME= indent-1.9.1
@@ -20,13 +20,6 @@ post-install:
@strip ${PREFIX}/bin/indent
@test -d ${PREFIX}/info || ${MKDIR} ${PREFIX}/info \
&& chmod a+rx ${PREFIX}/info
- @if [ ! -f ${PREFIX}/info/dir ]; then \
- if [ -f /usr/share/info/dir ]; then \
- ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
- else \
- touch ${PREFIX}/info/dir ; \
- fi ; \
- fi
@install-info ${PREFIX}/info/indent.info ${PREFIX}/info/dir
.include <bsd.port.mk>
diff --git a/devel/gindent/pkg-plist b/devel/gindent/pkg-plist
index 34b7a1677540..3b7849a6fadb 100644
--- a/devel/gindent/pkg-plist
+++ b/devel/gindent/pkg-plist
@@ -1,5 +1,4 @@
bin/indent
@unexec install-info --delete %D/info/indent.info %D/info/dir
info/indent.info
-@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/indent.info %D/info/dir