summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1993-10-10 20:24:47 +0000
committerjkh <jkh@FreeBSD.org>1993-10-10 20:24:47 +0000
commit666e5b37520694fcaf492b68df7eb5e8b5af23d7 (patch)
tree809510dde668474a0d538c822064e32e4c21ed26 /usr.sbin/pkg_install
parent1fc79e6c67be314a9dbacc74b190269cbf905264 (diff)
downloadFreeBSD-src-666e5b37520694fcaf492b68df7eb5e8b5af23d7.zip
FreeBSD-src-666e5b37520694fcaf492b68df7eb5e8b5af23d7.tar.gz
Added files necessary for automating packing of distributions.
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/+COMMENT1
-rw-r--r--usr.sbin/pkg_install/+CONTENTS2
-rw-r--r--usr.sbin/pkg_install/+DESC5
-rw-r--r--usr.sbin/pkg_install/Makefile18
4 files changed, 26 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/+COMMENT b/usr.sbin/pkg_install/+COMMENT
new file mode 100644
index 0000000..d29a496
--- /dev/null
+++ b/usr.sbin/pkg_install/+COMMENT
@@ -0,0 +1 @@
+Package install (source), version 0.5 \ No newline at end of file
diff --git a/usr.sbin/pkg_install/+CONTENTS b/usr.sbin/pkg_install/+CONTENTS
new file mode 100644
index 0000000..ff4d7d9
--- /dev/null
+++ b/usr.sbin/pkg_install/+CONTENTS
@@ -0,0 +1,2 @@
+@cwd /usr/ports
+pkg_install
diff --git a/usr.sbin/pkg_install/+DESC b/usr.sbin/pkg_install/+DESC
new file mode 100644
index 0000000..dd42917
--- /dev/null
+++ b/usr.sbin/pkg_install/+DESC
@@ -0,0 +1,5 @@
+This is the pkg_install suite of tools for doing maintainance of
+software "packages". More documentation is available in the man pages
+for each individual command.
+
+This is pkg_install version 0.5.
diff --git a/usr.sbin/pkg_install/Makefile b/usr.sbin/pkg_install/Makefile
index 37a1f05..43d1e83 100644
--- a/usr.sbin/pkg_install/Makefile
+++ b/usr.sbin/pkg_install/Makefile
@@ -1,3 +1,21 @@
SUBDIR=lib add create delete info
.include <bsd.subdir.mk>
+
+dists: bin_dist src_dist
+
+src_dist: clean
+ @echo "CVS" > /tmp/excludeXXX
+ pkg_create -X /tmp/excludeXXX -d +DESC -c +COMMENT -f +CONTENTS pkg_install_src
+ @rm -f /tmp/excludeXXX
+
+bin_dist: all install
+ tar czf pkg_install.tar.gz -C / \
+ usr/local/bin/pkg_add \
+ usr/local/bin/pkg_create \
+ usr/local/bin/pkg_delete \
+ usr/local/bin/pkg_info \
+ usr/local/man/man1/pkg_add.1 \
+ usr/local/man/man1/pkg_create.1 \
+ usr/local/man/man1/pkg_delete.1 \
+ usr/local/man/man1/pkg_info.1
OpenPOWER on IntegriCloud