aboutsummaryrefslogtreecommitdiff
path: root/devel/pear
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-12-12 09:16:07 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-12-12 09:16:07 +0000
commitca323aed9461a8d3d695e53b243053fbef56595c (patch)
treea2a947ca305105fc6b0f3ef08a2bb8cd0b3150b8 /devel/pear
parentfaa5c6ed290abb4baeed1b5709ff9916d651844e (diff)
downloadports-ca323aed9461a8d3d695e53b243053fbef56595c.tar.gz
ports-ca323aed9461a8d3d695e53b243053fbef56595c.zip
Notes
Diffstat (limited to 'devel/pear')
-rw-r--r--devel/pear/Makefile2
-rw-r--r--devel/pear/bsd.pear.mk2
-rw-r--r--devel/pear/pkg-plist4
3 files changed, 8 insertions, 0 deletions
diff --git a/devel/pear/Makefile b/devel/pear/Makefile
index 4d6fdd75fddf..57e21b9db105 100644
--- a/devel/pear/Makefile
+++ b/devel/pear/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pear
PORTVERSION= 1.4.5
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ale
@@ -30,6 +31,7 @@ post-patch:
do-install:
@${LOCALBASE}/bin/php -q ${WRKSRC}/go-pear
+ @${MKDIR} ${DATADIR}/packages ${DATADIR}/sql
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/devel/pear/bsd.pear.mk b/devel/pear/bsd.pear.mk
index f633c9b0199b..b24675a90d77 100644
--- a/devel/pear/bsd.pear.mk
+++ b/devel/pear/bsd.pear.mk
@@ -7,6 +7,8 @@ PKGNAMEPREFIX= pear-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
+RUN_DEPENDS+= pear:${PORTSDIR}/devel/pear
+
USE_REINPLACE= yes
.if !defined(USE_PHPIZE)
diff --git a/devel/pear/pkg-plist b/devel/pear/pkg-plist
index d93ec06a6900..b1b6dd3a469f 100644
--- a/devel/pear/pkg-plist
+++ b/devel/pear/pkg-plist
@@ -113,8 +113,10 @@ etc/pear.conf
%%DATADIR%%/XML/RPC.php
%%DATADIR%%/data/PEAR/package.dtd
%%DATADIR%%/data/PEAR/template.spec
+@exec mkdir -p %D/share/pear/packages 2> /dev/null || true
%%DATADIR%%/pearcmd.php
%%DATADIR%%/peclcmd.php
+@exec mkdir -p %D/share/pear/sql 2> /dev/null || true
%%DATADIR%%/tests/XML_RPC/tests/allgot.inc
%%DATADIR%%/tests/XML_RPC/tests/empty-value-struct.php
%%DATADIR%%/tests/XML_RPC/tests/empty-value.php
@@ -163,6 +165,8 @@ etc/pear.conf
@unexec rmdir %D/share/pear/XML 2> /dev/null || true
@dirrm %%DATADIR%%/data/PEAR
@unexec rmdir %D/share/pear/data 2> /dev/null || true
+@unexec rmdir %D/share/pear/packages 2> /dev/null || true
+@unexec rmdir %D/share/pear/sql 2> /dev/null || true
@dirrm %%DATADIR%%/tests/XML_RPC/tests
@dirrm %%DATADIR%%/tests/XML_RPC
@unexec rmdir %D/share/pear/tests 2> /dev/null || true