aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2005-05-03 23:03:54 +0800
committerperky <perky@FreeBSD.org>2005-05-03 23:03:54 +0800
commitee996b2cf3c3a3a71a279c3f8d808f715533bc58 (patch)
treee7df3f5f73ac14e2bab22bb635a1601e9e726574 /ports-mgmt
parent710180bc84da84f89b8aeb11f8247ccb9c9b30a7 (diff)
downloadfreebsd-ports-gnome-ee996b2cf3c3a3a71a279c3f8d808f715533bc58.tar.gz
freebsd-ports-gnome-ee996b2cf3c3a3a71a279c3f8d808f715533bc58.tar.zst
freebsd-ports-gnome-ee996b2cf3c3a3a71a279c3f8d808f715533bc58.zip
Add a new port for pkg_trackinst 0.2,
a pkg-plist/pkgdb auto-generator for unpackaged softwares or unfinished ports. It provides two commands: * pkg_trackinst: Tracks installation of unpackaged software and writes pkgdb entry using the install log. Then, it also creates a binary package for the installed package. * pkg_genplist: Generates `pkg-plist' of a port in current directory automatically by a test installation.
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkg_trackinst/Makefile26
-rw-r--r--ports-mgmt/pkg_trackinst/distinfo2
-rw-r--r--ports-mgmt/pkg_trackinst/pkg-descr10
-rw-r--r--ports-mgmt/pkg_trackinst/pkg-plist33
4 files changed, 71 insertions, 0 deletions
diff --git a/ports-mgmt/pkg_trackinst/Makefile b/ports-mgmt/pkg_trackinst/Makefile
new file mode 100644
index 000000000000..ebb9a7f7e0df
--- /dev/null
+++ b/ports-mgmt/pkg_trackinst/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: pkg_trackinst
+# Date created: 3 May 2005
+# Whom: Hye-Shik Chang <perky@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= pkg_trackinst
+PORTVERSION= 0.2
+CATEGORIES= sysutils
+MASTER_SITES= http://people.freebsd.org/~perky/distfiles/
+
+MAINTAINER= perky@FreeBSD.org
+COMMENT= PkgDB/pkg-plist generator by tracking installation
+
+RUN_DEPENDS= ${LOCALBASE}/lib/installwatch.so:${PORTSDIR}/sysutils/installwatch
+
+USE_PYTHON= 2.4+
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 501105
+IGNORE= requires dynamically-linked base programs
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/ports-mgmt/pkg_trackinst/distinfo b/ports-mgmt/pkg_trackinst/distinfo
new file mode 100644
index 000000000000..d2cf180ca7fe
--- /dev/null
+++ b/ports-mgmt/pkg_trackinst/distinfo
@@ -0,0 +1,2 @@
+MD5 (pkg_trackinst-0.2.tar.gz) = 234f9dacd1e353a3a2d254c7f2383349
+SIZE (pkg_trackinst-0.2.tar.gz) = 9487
diff --git a/ports-mgmt/pkg_trackinst/pkg-descr b/ports-mgmt/pkg_trackinst/pkg-descr
new file mode 100644
index 000000000000..544f7253727d
--- /dev/null
+++ b/ports-mgmt/pkg_trackinst/pkg-descr
@@ -0,0 +1,10 @@
+This package provides two commands:
+
+ * pkg_trackinst:
+ Tracks installation of unpackaged software and writes pkgdb
+ entry using the install log. Then, it also creates a binary
+ package for the installed package.
+
+ * pkg_genplist:
+ Generates `pkg-plist' of a port in current directory automatically
+ by a test installation.
diff --git a/ports-mgmt/pkg_trackinst/pkg-plist b/ports-mgmt/pkg_trackinst/pkg-plist
new file mode 100644
index 000000000000..12cfde0cda92
--- /dev/null
+++ b/ports-mgmt/pkg_trackinst/pkg-plist
@@ -0,0 +1,33 @@
+bin/pkg_genplist
+bin/pkg_trackinst
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/PkgTrackInst