summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/osname/Makefile14
-rw-r--r--sysutils/osname/files/md53
-rw-r--r--sysutils/osname/pkg/COMMENT1
-rw-r--r--sysutils/osname/pkg/DESCR3
-rw-r--r--sysutils/osname/pkg/PLIST3
5 files changed, 24 insertions, 0 deletions
diff --git a/sysutils/osname/Makefile b/sysutils/osname/Makefile
new file mode 100644
index 00000000000..88631badc78
--- /dev/null
+++ b/sysutils/osname/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/07/05 05:01:23 kim Exp $
+#
+
+DISTNAME= osname-1.1
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
+
+MAINTAINER= kim@tac.nyc.ny.us
+
+NO_CONFIGURE= yes
+ALL_TARGET= all PREFIX=${PREFIX}
+INSTALL_TARGET= install PREFIX=${PREFIX}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/osname/files/md5 b/sysutils/osname/files/md5
new file mode 100644
index 00000000000..42fe58e5097
--- /dev/null
+++ b/sysutils/osname/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/07/05 05:01:23 kim Exp $
+
+MD5 (osname-1.1.tar.gz) = d3f47173ed173230200838577e65f6d3
diff --git a/sysutils/osname/pkg/COMMENT b/sysutils/osname/pkg/COMMENT
new file mode 100644
index 00000000000..8700f6d6d74
--- /dev/null
+++ b/sysutils/osname/pkg/COMMENT
@@ -0,0 +1 @@
+print canonical name of operating system
diff --git a/sysutils/osname/pkg/DESCR b/sysutils/osname/pkg/DESCR
new file mode 100644
index 00000000000..7565a3d5d94
--- /dev/null
+++ b/sysutils/osname/pkg/DESCR
@@ -0,0 +1,3 @@
+Osname prints the canonical name of the current operating system:
+lowercase, no special characters (e.g. hyphens). This is useful
+for scripts. Solaris is differentiated from SunOS.
diff --git a/sysutils/osname/pkg/PLIST b/sysutils/osname/pkg/PLIST
new file mode 100644
index 00000000000..f853bcce8b6
--- /dev/null
+++ b/sysutils/osname/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/07/05 05:01:23 kim Exp $
+bin/osname
+man/man1/osname.1