aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1993-10-10 20:24:47 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1993-10-10 20:24:47 +0000
commit7f801ea51ee0d1b1f58ac2ce16d6300ff2d1127e (patch)
tree809510dde668474a0d538c822064e32e4c21ed26 /usr.sbin/pkg_install
parent0d0a2b199820f8731eacd6fcbdd7159c38e00e73 (diff)
downloadsrc-7f801ea51ee0d1b1f58ac2ce16d6300ff2d1127e.tar.gz
src-7f801ea51ee0d1b1f58ac2ce16d6300ff2d1127e.zip
Added files necessary for automating packing of distributions.
Notes
Notes: svn path=/head/; revision=572
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 000000000000..d29a496f4087
--- /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 000000000000..ff4d7d9ae915
--- /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 000000000000..dd42917cec0a
--- /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 37a1f05783a6..43d1e83101d1 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