aboutsummaryrefslogtreecommitdiff
path: root/sysutils/endian
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-15 14:34:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-15 14:34:45 +0000
commit86455d5a2fbb324d9c8a576de3f7edf0b3237d14 (patch)
treee52e384175666cef184afad1ada7551d318c50b8 /sysutils/endian
parentf5c3524f04f7140ed403ba04086709ae6f7e7fc8 (diff)
downloadports-86455d5a2fbb324d9c8a576de3f7edf0b3237d14.tar.gz
ports-86455d5a2fbb324d9c8a576de3f7edf0b3237d14.zip
Endian reports the endianness to the standard output as "little",
"big", or "mixed". As there is no standard terminology for the various possible mixed modes, and very few such machines even exist, endian does not distinguish between various mixed modes. Report endianness of a system. PR: ports/107939 Submitted by: bacon at smithers.neuro.mcw.edu
Notes
Notes: svn path=/head/; revision=182419
Diffstat (limited to 'sysutils/endian')
-rw-r--r--sysutils/endian/Makefile27
-rw-r--r--sysutils/endian/distinfo3
-rw-r--r--sysutils/endian/pkg-descr5
3 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/endian/Makefile b/sysutils/endian/Makefile
new file mode 100644
index 000000000000..0100e548f0b1
--- /dev/null
+++ b/sysutils/endian/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: endian
+# Date created: 3 Jan 2006
+# Whom: bacon@smithers.neuro.mcw.edu
+#
+# $FreeBSD$
+#
+
+PORTNAME= endian
+PORTVERSION= 1.0
+CATEGORIES= sysutils
+MASTER_SITES= http://www.neuro.mcw.edu/~bacon/Ports/distfiles/ \
+ http://bacon.is-a-geek.org/~bacon/Ports/distfiles/
+
+MAINTAINER= bacon@smithers.neuro.mcw.edu
+COMMENT= Report endianness of a system
+
+MAN1= endian.1
+
+PLIST_FILES= bin/endian
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Does not compile on 4.x
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/endian/distinfo b/sysutils/endian/distinfo
new file mode 100644
index 000000000000..83008a477942
--- /dev/null
+++ b/sysutils/endian/distinfo
@@ -0,0 +1,3 @@
+MD5 (endian-1.0.tar.gz) = 83407de0ce534c2be774caca4ae9230c
+SHA256 (endian-1.0.tar.gz) = ec0e3b8f7bb1920a0d4f24223d613acecdc4c1cb9d69e930b794d19b54135e41
+SIZE (endian-1.0.tar.gz) = 2942
diff --git a/sysutils/endian/pkg-descr b/sysutils/endian/pkg-descr
new file mode 100644
index 000000000000..181d9d8bc621
--- /dev/null
+++ b/sysutils/endian/pkg-descr
@@ -0,0 +1,5 @@
+Endian reports the endianness to the standard output as "little",
+"big", or "mixed". As there is no standard terminology for the various
+possible mixed modes, and very few such machines even exist, endian
+does not distinguish between various mixed modes. Report endianness
+of a system.