aboutsummaryrefslogtreecommitdiff
path: root/devel/pear
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-12-16 07:47:23 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-12-16 07:47:23 +0000
commit427a1acabb958d1efd1a4d816afd1feeac654a64 (patch)
tree357a865e4693dc148772576b0ea34f15c6faf2af /devel/pear
parent9ed2d736dbba6dc2f00e8913ac10694b7b0b89f8 (diff)
downloadports-427a1acabb958d1efd1a4d816afd1feeac654a64.tar.gz
ports-427a1acabb958d1efd1a4d816afd1feeac654a64.zip
Notes
Diffstat (limited to 'devel/pear')
-rw-r--r--devel/pear/Makefile3
-rw-r--r--devel/pear/bsd.pear.mk8
-rw-r--r--devel/pear/pkg-plist4
3 files changed, 3 insertions, 12 deletions
diff --git a/devel/pear/Makefile b/devel/pear/Makefile
index 57e21b9db105..6f95da3beb62 100644
--- a/devel/pear/Makefile
+++ b/devel/pear/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pear
PORTVERSION= 1.4.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ale
@@ -31,7 +31,6 @@ 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 b24675a90d77..78fa22927855 100644
--- a/devel/pear/bsd.pear.mk
+++ b/devel/pear/bsd.pear.mk
@@ -129,16 +129,12 @@ do-generate-plist:
if [ -n "${DOCS}" ]; then echo "%%PORTDOCS%%@dirrm ${LDOCSDIR}"; fi; \
if [ -n "${EXAMPLES}" ]; then echo "%%PORTDOCS%%@dirrm ${LEXAMPLESDIR}"; fi; \
echo "@dirrm ${LPKGREGDIR}"; \
- echo "@unexec rmdir %D/${LINSTDIR} 2> /dev/null || true"; \
- echo "@unexec rmdir %D/${LINSTDIR:H} 2> /dev/null || true"; \
- echo "@unexec rmdir %D/${LPEARDIR}/.registry 2> /dev/null || true"; \
- echo "@unexec rmdir %D/${LPEARDIR}/packages 2> /dev/null || true"; \
- echo "@unexec rmdir %D/${LPEARDIR} 2> /dev/null || true"; \
+ if [ -n "${CATEGORY}" ]; then echo "@unexec rmdir %D/${LINSTDIR} 2> /dev/null || true"; fi; \
+ echo "@unexec rmdir %D/${LPKGREGDIR:H} 2> /dev/null || true"; \
echo "@unexec rmdir %D/${LDOCSDIR:H} 2> /dev/null || true"; \
echo "@unexec rmdir %D/${LEXAMPLESDIR:H} 2> /dev/null || true"; \
echo "@unexec rmdir %D/${LTESTSDIR:H} 2> /dev/null || true"; \
echo "@unexec rmdir %D/${LDATADIR:H} 2> /dev/null || true"; \
- echo "@unexec rmdir %D/${LSCRIPTSDIR:H} 2> /dev/null || true"; \
echo "@unexec rmdir %D/${LSQLSDIR:H} 2> /dev/null || true") > ${PLIST}
. endif
diff --git a/devel/pear/pkg-plist b/devel/pear/pkg-plist
index b1b6dd3a469f..d93ec06a6900 100644
--- a/devel/pear/pkg-plist
+++ b/devel/pear/pkg-plist
@@ -113,10 +113,8 @@ 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
@@ -165,8 +163,6 @@ 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