aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pbi-manager
diff options
context:
space:
mode:
authorKris Moore <kmoore@FreeBSD.org>2015-02-03 15:05:14 +0000
committerKris Moore <kmoore@FreeBSD.org>2015-02-03 15:05:14 +0000
commitb03b6f55283557bc3dbd0fd6faca7c2139a00d34 (patch)
tree5b77698088158f3f43227a60c03a746bbb44c034 /sysutils/pbi-manager
parentbecaeffa9ba5e2d50a50804026eb6671b3e9352a (diff)
downloadports-b03b6f55283557bc3dbd0fd6faca7c2139a00d34.tar.gz
ports-b03b6f55283557bc3dbd0fd6faca7c2139a00d34.zip
Notes
Diffstat (limited to 'sysutils/pbi-manager')
-rw-r--r--sysutils/pbi-manager/Makefile33
-rw-r--r--sysutils/pbi-manager/distinfo2
-rw-r--r--sysutils/pbi-manager/pkg-descr3
-rw-r--r--sysutils/pbi-manager/pkg-install16
-rw-r--r--sysutils/pbi-manager/pkg-plist20
5 files changed, 74 insertions, 0 deletions
diff --git a/sysutils/pbi-manager/Makefile b/sysutils/pbi-manager/Makefile
new file mode 100644
index 000000000000..51fc9c91470f
--- /dev/null
+++ b/sysutils/pbi-manager/Makefile
@@ -0,0 +1,33 @@
+# Created by: Kris Moore <kmoore@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pbi-manager
+PORTVERSION= 1422042374
+CATEGORIES= sysutils
+MASTER_SITES= http://www.pcbsd.org/~kris/software/ \
+ ftp://ftp.pcbsd.org/pub/software/
+
+MAINTAINER= kmoore@FreeBSD.org
+COMMENT= PBI management utilities
+
+LICENSE= BSD
+
+RUN_DEPENDS= ${LOCALBASE}/share/pcbsd/scripts/functions.sh:${PORTSDIR}/sysutils/pcbsd-libsh
+
+WRKSRC= ${WRKDIR}/pbi-manager
+USES= pkgconfig tar:xz
+NO_BUILD= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000000
+IGNORE= requires FreeBSD 10 or later
+.endif
+
+do-install:
+ cd ${WRKSRC} && make install PREFIX=${STAGEDIR}${PREFIX}
+
+post-install:
+ PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/pbi-manager/distinfo b/sysutils/pbi-manager/distinfo
new file mode 100644
index 000000000000..0a7e80619094
--- /dev/null
+++ b/sysutils/pbi-manager/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pbi-manager-1422042374.tar.xz) = 951baba36d68706ee21198e205ce87b473ed87e69ced8156d48f4833598df1d1
+SIZE (pbi-manager-1422042374.tar.xz) = 24260
diff --git a/sysutils/pbi-manager/pkg-descr b/sysutils/pbi-manager/pkg-descr
new file mode 100644
index 000000000000..1f2cac9bce0b
--- /dev/null
+++ b/sysutils/pbi-manager/pkg-descr
@@ -0,0 +1,3 @@
+The PBI meta framework on top of PKGNG
+
+WWW: https://github.com/pcbsd/pcbsd
diff --git a/sysutils/pbi-manager/pkg-install b/sysutils/pbi-manager/pkg-install
new file mode 100644
index 000000000000..769ac9fe31d0
--- /dev/null
+++ b/sysutils/pbi-manager/pkg-install
@@ -0,0 +1,16 @@
+#!/bin/sh
+# Script for any install setup
+
+PREFIX=${PKG_PREFIX-/usr/local}
+
+if [ "$2" != "POST-INSTALL" ] ; then
+ exit 0
+fi
+
+# If this is during staging, we can skip for now
+echo $PREFIX | grep -q '/stage/'
+if [ $? -eq 0 ] ; then
+ exit 0
+fi
+
+exit 0
diff --git a/sysutils/pbi-manager/pkg-plist b/sysutils/pbi-manager/pkg-plist
new file mode 100644
index 000000000000..fd071514ebb2
--- /dev/null
+++ b/sysutils/pbi-manager/pkg-plist
@@ -0,0 +1,20 @@
+sbin/app
+sbin/pbi
+sbin/pbi_add
+sbin/pbi_delete
+sbin/pbi_icon
+sbin/pbi_info
+sbin/pbi_makeindex
+sbin/pbi_updateindex
+etc/pbi.conf
+share/pbi-manager/icons/default.png
+share/pbi-manager/icons/patch.png
+share/pbi-manager/pkgng-repo
+share/pbi-manager/repokey.ssl
+man/man1/pbi_add.1.gz
+man/man1/pbi_delete.1.gz
+man/man1/pbi_icon.1.gz
+man/man1/pbi_info.1.gz
+man/man5/pbi.conf.5.gz
+@dirrm share/pbi-manager/icons
+@dirrm share/pbi-manager