aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-07-17 05:35:38 +0800
committerpav <pav@FreeBSD.org>2005-07-17 05:35:38 +0800
commitb4a168d0d088cbb3552ef79bfaa55637c51bd67b (patch)
tree192f5e9c18dfd3b3357d181308296576c1d3d1ed
parent42d8470f32cf3a16539e2e0c2760620b685fe8a7 (diff)
downloadfreebsd-ports-gnome-b4a168d0d088cbb3552ef79bfaa55637c51bd67b.tar.gz
freebsd-ports-gnome-b4a168d0d088cbb3552ef79bfaa55637c51bd67b.tar.zst
freebsd-ports-gnome-b4a168d0d088cbb3552ef79bfaa55637c51bd67b.zip
With TinyBSD you can create embedded systems based on FreeBSD 5.X and 6-CURRENT
It's another alternative to PicoBSD and NanoBSD. PR: ports/83469 Submitted by: Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/tinybsd/Makefile30
-rw-r--r--sysutils/tinybsd/distinfo2
-rw-r--r--sysutils/tinybsd/files/pkg-message.in20
-rw-r--r--sysutils/tinybsd/pkg-descr4
-rw-r--r--sysutils/tinybsd/pkg-plist8
6 files changed, 65 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index d895f662d010..7ca2d54d7dec 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -493,6 +493,7 @@
SUBDIR += throttle
SUBDIR += ticker.app
SUBDIR += timelimit
+ SUBDIR += tinybsd
SUBDIR += tmpwatch
SUBDIR += topless
SUBDIR += torsmo
diff --git a/sysutils/tinybsd/Makefile b/sysutils/tinybsd/Makefile
new file mode 100644
index 000000000000..93bebeda1548
--- /dev/null
+++ b/sysutils/tinybsd/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: tinybsd
+# Date created: 11 July 2005
+# Whom: Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tinybsd
+PORTVERSION= 0.1
+CATEGORIES= sysutils
+MASTER_SITES= http://www.tinybsd.org/
+
+MAINTAINER= jmelo@freebsdbrasil.com.br
+COMMENT= Shell script to build embedded systems based on FreeBSD
+
+NO_BUILD= yes
+SUB_FILES= pkg-message
+
+post-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/README
+ ${INSTALL_DATA} ${WRKSRC}/tinybsd.basefiles ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/TINYBSD ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DATADIR}
+ ${SED} "s|/usr/local|${PREFIX}|g" ${WRKSRC}/tinybsd > ${PREFIX}/bin/tinybsd
+ ${CHMOD} 555 ${PREFIX}/bin/tinybsd
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/sysutils/tinybsd/distinfo b/sysutils/tinybsd/distinfo
new file mode 100644
index 000000000000..2f1945fb0790
--- /dev/null
+++ b/sysutils/tinybsd/distinfo
@@ -0,0 +1,2 @@
+MD5 (tinybsd-0.1.tar.gz) = 9fe49c0c4be10b7fb47b136d71a33f7b
+SIZE (tinybsd-0.1.tar.gz) = 11925
diff --git a/sysutils/tinybsd/files/pkg-message.in b/sysutils/tinybsd/files/pkg-message.in
new file mode 100644
index 000000000000..83eaf3112b52
--- /dev/null
+++ b/sysutils/tinybsd/files/pkg-message.in
@@ -0,0 +1,20 @@
+*****************************************************************************
+You have installed the tinybsd package.
+
+The configuration files is in %%PREFIX%%/share/tinybsd.
+
+You can customize your tinybsd image editing
+%%PREFIX%%/share/tinybsd/tinybsd.basefiles to add or to remove the system
+binaries.
+
+Edit %%PREFIX%%/share/tinybsd/TINYBSD to add or to remove kernel options and
+then run %%PREFIX%%/bin/tinybsd script to build your system according your
+device information.
+
+After the embedded system build is done, the resulting system will be avaliable
+in the %%PREFIX%%/share/tinybsd/tinybsd.bin file. To write this system image
+to your medium use dd(1) according to the following:
+
+# dd if=%%PREFIX%%/share/tinybsd/tinybsd.bin of=/dev/ad2
+
+For more information read the README file on %%PREFIX%%/share/tinybsd.
diff --git a/sysutils/tinybsd/pkg-descr b/sysutils/tinybsd/pkg-descr
new file mode 100644
index 000000000000..56e08a87ec7d
--- /dev/null
+++ b/sysutils/tinybsd/pkg-descr
@@ -0,0 +1,4 @@
+With TinyBSD you can create embedded systems based on FreeBSD 5.X and 6-CURRENT
+It's another alternative to PicoBSD and NanoBSD.
+
+WWW: http://www.tinybsd.org/
diff --git a/sysutils/tinybsd/pkg-plist b/sysutils/tinybsd/pkg-plist
new file mode 100644
index 000000000000..eae6ce9f75f3
--- /dev/null
+++ b/sysutils/tinybsd/pkg-plist
@@ -0,0 +1,8 @@
+share/tinybsd/COPYRIGHT
+share/tinybsd/README
+share/tinybsd/tinybsd.basefiles
+share/tinybsd/TINYBSD
+share/tinybsd/TODO
+bin/tinybsd
+@dirrm share/tinybsd
+