aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2011-05-04 01:25:34 +0800
committerkmoore <kmoore@FreeBSD.org>2011-05-04 01:25:34 +0800
commit2c97c4a177451af40cdd0c2b5317bdbd209f4cdb (patch)
treec34a61e4d6bcc6e19c0b3265464d91cd37fd5b35
parentacc33ecf9c5a8b5dcdf751d4d1985f51862840f3 (diff)
downloadfreebsd-ports-gnome-2c97c4a177451af40cdd0c2b5317bdbd209f4cdb.tar.gz
freebsd-ports-gnome-2c97c4a177451af40cdd0c2b5317bdbd209f4cdb.tar.zst
freebsd-ports-gnome-2c97c4a177451af40cdd0c2b5317bdbd209f4cdb.zip
Add pbi-manager 0.9.1, toolset for building / running PBI files on FreeBSD.
-rw-r--r--ports-mgmt/Makefile1
-rw-r--r--ports-mgmt/pbi-manager/Makefile41
-rw-r--r--ports-mgmt/pbi-manager/distinfo2
-rw-r--r--ports-mgmt/pbi-manager/files/pkg-message.in11
-rw-r--r--ports-mgmt/pbi-manager/pkg-descr4
-rw-r--r--ports-mgmt/pbi-manager/pkg-plist69
6 files changed, 128 insertions, 0 deletions
diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile
index 0b77050514a5..b751b39258e6 100644
--- a/ports-mgmt/Makefile
+++ b/ports-mgmt/Makefile
@@ -25,6 +25,7 @@
SUBDIR += p5-FreeBSD-Ports-INDEXhash
SUBDIR += packagekit
SUBDIR += packagekit-qt4
+ SUBDIR += pbi-manager
SUBDIR += pib
SUBDIR += pkg-orphan
SUBDIR += pkg_add_it
diff --git a/ports-mgmt/pbi-manager/Makefile b/ports-mgmt/pbi-manager/Makefile
new file mode 100644
index 000000000000..b9ad5c39808d
--- /dev/null
+++ b/ports-mgmt/pbi-manager/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: pbi-manager
+# Date created: 27 May 2010
+# Whom: Kris Moore <kmoore@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= pbi-manager
+PORTVERSION= 0.9.1
+CATEGORIES= ports-mgmt
+MASTER_SITES= http://www.pcbsd.org/~kris/software/ \
+ ftp://ftp.pcbsd.org/pub/software/
+
+MAINTAINER= kmoore@FreeBSD.org
+COMMENT= Push Button Installer Manager
+
+RUN_DEPENDS= xdg-desktop-icon:${PORTSDIR}/devel/xdg-utils
+
+USE_BZIP2= yes
+NO_BUILD= yes
+SUB_FILES+= pkg-message
+
+MAN1= pbi_add.1 pbi_browser.1 pbi_create.1 \
+ pbi_delete.1 \
+ pbi_icon.1 pbi_indextool.1 pbi_info.1 \
+ pbi_listrepo.1 pbi_update.1 \
+ pbi_metatool.1 \
+ pbi_patch.1 \
+ pbi_update_hashdir.1
+MAN5= pbi.conf.5
+MAN8= pbi_addrepo.8 pbi_autobuild.8 pbi_deleterepo.8 \
+ pbi_makepatch.8 pbi_makeport.8 pbi_makerepo.8 pbid.8
+
+do-install:
+ cd ${WRKSRC} && ./install.sh ${LOCALBASE}
+
+post-install:
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.include <bsd.port.mk>
diff --git a/ports-mgmt/pbi-manager/distinfo b/ports-mgmt/pbi-manager/distinfo
new file mode 100644
index 000000000000..ce89439493c3
--- /dev/null
+++ b/ports-mgmt/pbi-manager/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pbi-manager-0.9.1.tar.bz2) = 36d2218cee1ba1b8361423ea0fe2ffac63b1bb3e67f3613753b97d02c31dce53
+SIZE (pbi-manager-0.9.1.tar.bz2) = 222509
diff --git a/ports-mgmt/pbi-manager/files/pkg-message.in b/ports-mgmt/pbi-manager/files/pkg-message.in
new file mode 100644
index 000000000000..ec4baca8cbd3
--- /dev/null
+++ b/ports-mgmt/pbi-manager/files/pkg-message.in
@@ -0,0 +1,11 @@
+************************************************************
+PBI-Manager has been successfully installed on your system.
+
+You will need to add pbid_enable="YES" to /etc/rc.conf to
+enable the "pbid" daemon, which handles downloading
+repository indexes, merging files into the hashdir and more.
+
+You may start the daemon with %%LOCALBASE%%/etc/rc.d/pbid
+or by rebooting.
+
+************************************************************
diff --git a/ports-mgmt/pbi-manager/pkg-descr b/ports-mgmt/pbi-manager/pkg-descr
new file mode 100644
index 000000000000..0b7422707c6d
--- /dev/null
+++ b/ports-mgmt/pbi-manager/pkg-descr
@@ -0,0 +1,4 @@
+The pbi-manager is a collection of command-line utilities, which allow
+the administration of PBIs, aka Push Button Installers, on Free/PC-BSD.
+
+WWW: http://wiki.pcbsd.org/index.php/PBI_Manager
diff --git a/ports-mgmt/pbi-manager/pkg-plist b/ports-mgmt/pbi-manager/pkg-plist
new file mode 100644
index 000000000000..0cdf8d0fc849
--- /dev/null
+++ b/ports-mgmt/pbi-manager/pkg-plist
@@ -0,0 +1,69 @@
+sbin/pbi-crashhandler
+sbin/pbi_add
+sbin/pbi_addrepo
+sbin/pbi_autobuild
+sbin/pbi_browser
+sbin/pbi_create
+sbin/pbi_delete
+sbin/pbi_deleterepo
+sbin/pbi_icon
+sbin/pbi_indextool
+sbin/pbi_info
+sbin/pbi_listrepo
+sbin/pbi_makepatch
+sbin/pbi_makeport
+sbin/pbi_makerepo
+sbin/pbi_metatool
+sbin/pbi_update
+sbin/pbi_update_hashdir
+sbin/pbi_patch
+sbin/pbid
+etc/pbi.conf
+etc/rc.d/pbid
+%%DATADIR%%/module-examples/gimp/xdg-menu/gimp.desktop
+%%DATADIR%%/module-examples/gimp/xdg-mime/gimp-xdg.png
+%%DATADIR%%/module-examples/gimp/xdg-mime/gimp-xdg.xml
+%%DATADIR%%/module-examples/gimp/LICENSE
+%%DATADIR%%/module-examples/gimp/external-links
+%%DATADIR%%/module-examples/gimp/pbi.conf
+%%DATADIR%%/module-examples/gimp/scripts/pre-remove.sh
+%%DATADIR%%/module-examples/gimp/scripts/post-install.sh
+%%DATADIR%%/module-examples/gimp/scripts/pre-portmake.sh
+%%DATADIR%%/module-examples/gimp/scripts/post-portmake.sh
+%%DATADIR%%/module-examples/gimp/scripts/pre-install.sh
+%%DATADIR%%/module-examples/gimp/resources/gui_sidebanner.png
+%%DATADIR%%/module-examples/gimp/resources/gimp.png
+%%DATADIR%%/module-examples/gimp/resources/gui_banner.png
+%%DATADIR%%/module-examples/gimp/xdg-desktop/gimp.desktop
+%%DATADIR%%/module-examples/convertoldmod.sh
+%%DATADIR%%/module-examples/firefox/LICENSE
+%%DATADIR%%/module-examples/firefox/resources/gui_banner.png
+%%DATADIR%%/module-examples/firefox/resources/firefox.png
+%%DATADIR%%/module-examples/firefox/resources/gui_sidebanner.png
+%%DATADIR%%/module-examples/firefox/xdg-menu/firefox3.desktop
+%%DATADIR%%/module-examples/firefox/scripts/pre-remove.sh
+%%DATADIR%%/module-examples/firefox/scripts/post-install.sh
+%%DATADIR%%/module-examples/firefox/scripts/pre-install.sh
+%%DATADIR%%/module-examples/firefox/scripts/post-portmake.sh
+%%DATADIR%%/module-examples/firefox/xdg-desktop/firefox.desktop
+%%DATADIR%%/module-examples/firefox/external-links
+%%DATADIR%%/module-examples/firefox/pbi.conf
+%%DATADIR%%/icons/default.png
+%%DATADIR%%/icons/patch.png
+@dirrm %%DATADIR%%/module-examples/firefox/resources
+@dirrm %%DATADIR%%/module-examples/firefox/scripts
+@dirrm %%DATADIR%%/module-examples/firefox/xdg-desktop
+@dirrm %%DATADIR%%/module-examples/firefox/xdg-menu
+@dirrm %%DATADIR%%/module-examples/firefox/xdg-mime
+@dirrm %%DATADIR%%/module-examples/firefox
+@dirrm %%DATADIR%%/module-examples/gimp/resources
+@dirrm %%DATADIR%%/module-examples/gimp/scripts
+@dirrm %%DATADIR%%/module-examples/gimp/xdg-desktop
+@dirrm %%DATADIR%%/module-examples/gimp/xdg-menu
+@dirrm %%DATADIR%%/module-examples/gimp/xdg-mime
+@dirrm %%DATADIR%%/module-examples/gimp
+@dirrm %%DATADIR%%/module-examples
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%
+@unexec rm -r /usr/pbi/.hashdir >/dev/null 2>/dev/null
+@unexec rm -r /usr/pbi >/dev/null 2>/dev/null