aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gindent
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-08-29 17:20:02 +0800
committerobrien <obrien@FreeBSD.org>1997-08-29 17:20:02 +0800
commitc7e4488deb2bd4c12cf9b46772513fe574957710 (patch)
treeb5cc189eb6ce96bb58073d07d4b0a26f728b9cb3 /devel/gindent
parent704da8bf46fd2fca9d057fbc83361e1c1411eaae (diff)
downloadfreebsd-ports-gnome-c7e4488deb2bd4c12cf9b46772513fe574957710.tar.gz
freebsd-ports-gnome-c7e4488deb2bd4c12cf9b46772513fe574957710.tar.zst
freebsd-ports-gnome-c7e4488deb2bd4c12cf9b46772513fe574957710.zip
GNU's indent.
PR: ports/4406 Submitted by: Kapil Chowksey <kchowksey@hss.hns.com>
Diffstat (limited to 'devel/gindent')
-rw-r--r--devel/gindent/Makefile31
-rw-r--r--devel/gindent/distinfo1
-rw-r--r--devel/gindent/pkg-comment1
-rw-r--r--devel/gindent/pkg-descr2
-rw-r--r--devel/gindent/pkg-plist3
5 files changed, 38 insertions, 0 deletions
diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile
new file mode 100644
index 000000000000..71152e2e0b21
--- /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>
diff --git a/devel/gindent/distinfo b/devel/gindent/distinfo
new file mode 100644
index 000000000000..bd4664cbf534
--- /dev/null
+++ b/devel/gindent/distinfo
@@ -0,0 +1 @@
+MD5 (indent-1.9.1.tar.gz) = 21b5f78c7ade93fa7d33f79ff48d3982
diff --git a/devel/gindent/pkg-comment b/devel/gindent/pkg-comment
new file mode 100644
index 000000000000..c44be7800b0d
--- /dev/null
+++ b/devel/gindent/pkg-comment
@@ -0,0 +1 @@
+GNU indent.
diff --git a/devel/gindent/pkg-descr b/devel/gindent/pkg-descr
new file mode 100644
index 000000000000..2626b5bbadf3
--- /dev/null
+++ b/devel/gindent/pkg-descr
@@ -0,0 +1,2 @@
+The `indent' program changes the appearance of a C program by
+inserting or deleting whitespace.
diff --git a/devel/gindent/pkg-plist b/devel/gindent/pkg-plist
new file mode 100644
index 000000000000..6bdb5c84c9b3
--- /dev/null
+++ b/devel/gindent/pkg-plist
@@ -0,0 +1,3 @@
+bin/indent
+man/man1/indent.1.gz
+info/indent.info