summaryrefslogtreecommitdiffstats
path: root/devel/gindent/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-08-29 09:20:02 +0000
committerobrien <obrien@FreeBSD.org>1997-08-29 09:20:02 +0000
commitc7e4488deb2bd4c12cf9b46772513fe574957710 (patch)
treeb5cc189eb6ce96bb58073d07d4b0a26f728b9cb3 /devel/gindent/Makefile
parent704da8bf46fd2fca9d057fbc83361e1c1411eaae (diff)
downloadFreeBSD-ports-c7e4488deb2bd4c12cf9b46772513fe574957710.zip
FreeBSD-ports-c7e4488deb2bd4c12cf9b46772513fe574957710.tar.gz
GNU's indent.
PR: ports/4406 Submitted by: Kapil Chowksey <kchowksey@hss.hns.com>
Diffstat (limited to 'devel/gindent/Makefile')
-rw-r--r--devel/gindent/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile
new file mode 100644
index 0000000..71152e2
--- /dev/null
+++ b/devel/gindent/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: indent
+# Version required: 1.9.1
+# Date created: 28 August 1997
+# Whom: Kapil Chowksey <kchowksey@hss.hns.com>
+#
+# $Id$
+#
+
+DISTNAME= indent-1.9.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU}
+
+MAINTAINER= kchowksey@hss.hns.com
+
+MAN1= indent.1
+
+post-install:
+ @mv ${PREFIX}/bin/indent ${PREFIX}/bin/indent
+ @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>
OpenPOWER on IntegriCloud