summaryrefslogtreecommitdiff
path: root/sysutils/osname
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-07-05 05:01:23 +0000
committerkim <kim@pkgsrc.org>1999-07-05 05:01:23 +0000
commit5d6ef535d971b8ac6e772fcfc09d45a906fa4026 (patch)
tree970964ee1ffb19da537110baf80526204dae329b /sysutils/osname
parentd2da58d73c7945b902c1764e420724dca424cfe7 (diff)
downloadpkgsrc-5d6ef535d971b8ac6e772fcfc09d45a906fa4026.tar.gz
Little script to print the name of the operating system.
Diffstat (limited to 'sysutils/osname')
-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