aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2011-07-08 01:44:21 +0800
committermm <mm@FreeBSD.org>2011-07-08 01:44:21 +0800
commit7fb92dbc58a36cd4c20f7737d2bc9cc2c49dab88 (patch)
treeb9cab1db72249340b00b362619fabe016884182b /devel
parentad5f8565174ff662adf9299c86dceae77ae7e257 (diff)
downloadfreebsd-ports-gnome-7fb92dbc58a36cd4c20f7737d2bc9cc2c49dab88.tar.gz
freebsd-ports-gnome-7fb92dbc58a36cd4c20f7737d2bc9cc2c49dab88.tar.zst
freebsd-ports-gnome-7fb92dbc58a36cd4c20f7737d2bc9cc2c49dab88.zip
PEAR method to install Horde components into a base Horde installation.
WWW: http://pear.horde.org
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/pear-Horde_Role/Makefile31
-rw-r--r--devel/pear-Horde_Role/distinfo2
-rw-r--r--devel/pear-Horde_Role/files/patch-package.xml19
-rw-r--r--devel/pear-Horde_Role/pkg-descr3
5 files changed, 56 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 837ff6c24217..72f56087f22e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2620,6 +2620,7 @@
SUBDIR += pear-HTML_Template_PHPLIB
SUBDIR += pear-HTML_Template_Sigma
SUBDIR += pear-HTML_TreeMenu
+ SUBDIR += pear-Horde_Role
SUBDIR += pear-I18N
SUBDIR += pear-Math_Fraction
SUBDIR += pear-Net_Gearman
diff --git a/devel/pear-Horde_Role/Makefile b/devel/pear-Horde_Role/Makefile
new file mode 100644
index 000000000000..14d30d529c94
--- /dev/null
+++ b/devel/pear-Horde_Role/Makefile
@@ -0,0 +1,31 @@
+# Ports collection makefile for: pear-Horde_Role
+# Date created: 6 July 2011
+# Whom: Martin Matuska <mm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Horde_Role
+DISTVERSION= 1.0.0
+CATEGORIES= devel www pear
+
+MAINTAINER= mm@FreeBSD.org
+COMMENT= PEAR installer role for Horde components
+
+PATCH_WRKSRC= ${WRKDIR}
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
+
+post-install:
+ @${MKDIR} ${PREFIX}/${HORDE_DIR}
+ @${TOUCH} ${PREFIX}/${HORDE_DIR}/.keep_me
+ @${ECHO_CMD} "${HORDE_DIR}/.keep_me" >> ${TMPPLIST}
+ @${ECHO_CMD} "@exec ${PEAR} config-set horde_dir %D/${HORDE_DIR}" >> \
+ ${TMPPLIST}
+ @${ECHO_CMD} "@unexec rmdir %D/${HORDE_DIR} 2>/dev/null || true" >> \
+ ${TMPPLIST}
+ @${ECHO_CMD} "===> Configuring PEAR horde_dir"
+ @${PEAR} config-set horde_dir ${PREFIX}/${HORDE_DIR}
+
+.include <bsd.port.post.mk>
diff --git a/devel/pear-Horde_Role/distinfo b/devel/pear-Horde_Role/distinfo
new file mode 100644
index 000000000000..2c8ded688ba0
--- /dev/null
+++ b/devel/pear-Horde_Role/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Horde/Horde_Role-1.0.0.tgz) = 5873c291cf6af7fb908ed3b1901418688f12987bd8a48ade3c9d43149c9420a1
+SIZE (Horde/Horde_Role-1.0.0.tgz) = 2304
diff --git a/devel/pear-Horde_Role/files/patch-package.xml b/devel/pear-Horde_Role/files/patch-package.xml
new file mode 100644
index 000000000000..cc2744e2eed7
--- /dev/null
+++ b/devel/pear-Horde_Role/files/patch-package.xml
@@ -0,0 +1,19 @@
+--- package.xml.orig 2011-07-06 19:43:43.648445754 +0200
++++ package.xml 2011-07-06 19:44:38.243342032 +0200
+@@ -33,16 +33,6 @@
+ <contents>
+ <dir baseinstalldir="/" name="/">
+ <file baseinstalldir="/" md5sum="439c9f2fe87c01e0d3a8131d81a13f56" name="Horde/Role.php" role="php">
+- <tasks:postinstallscript>
+- <tasks:paramgroup>
+- <tasks:id>first</tasks:id>
+- <tasks:param>
+- <tasks:name>horde_dir</tasks:name>
+- <tasks:prompt>Filesystem location for the base Horde application</tasks:prompt>
+- <tasks:type>string</tasks:type>
+- </tasks:param>
+- </tasks:paramgroup>
+- </tasks:postinstallscript>
+ </file>
+ <file baseinstalldir="/" md5sum="a076d676b0ec3a5394c98770c8ccb000" name="Horde.php" role="php" />
+ <file baseinstalldir="/" md5sum="801c6dc09a5c93f9f140ed423164f788" name="Horde.xml" role="php" />
diff --git a/devel/pear-Horde_Role/pkg-descr b/devel/pear-Horde_Role/pkg-descr
new file mode 100644
index 000000000000..24f587ce6ec5
--- /dev/null
+++ b/devel/pear-Horde_Role/pkg-descr
@@ -0,0 +1,3 @@
+PEAR method to install Horde components into a base Horde installation.
+
+WWW: http://pear.horde.org