aboutsummaryrefslogtreecommitdiffstats
path: root/net/pear-Net_Sieve
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-06-08 07:00:46 +0800
committernork <nork@FreeBSD.org>2003-06-08 07:00:46 +0800
commit745d211ff042f4470c9df0ffe9f99c37920b85c7 (patch)
tree6d423271cde50294359b8b859c4d8d7b1a45c6ae /net/pear-Net_Sieve
parentc81d0eb89c8cdf6ad9ff097db9f1413450c7dd94 (diff)
downloadfreebsd-ports-gnome-745d211ff042f4470c9df0ffe9f99c37920b85c7.tar.gz
freebsd-ports-gnome-745d211ff042f4470c9df0ffe9f99c37920b85c7.tar.zst
freebsd-ports-gnome-745d211ff042f4470c9df0ffe9f99c37920b85c7.zip
Update to pear-Archive_Tar 1.1.
Update to pear-PEAR 1.1. Update to pear-HTML_Common 1.2. Update to pear-Net_SMTP 1.2.3. Update to pear-Log 1.6.5. Update to pear-I18N 0.8.5. Update to pear 4.3.2. Adapt following ports for pear-PEAR's Makefile.common. pear-Console_Getopt, pear-Auth, pear-Auth_SASL, devel/pear-Date, net/pear-Net_Socket, pear-Mail_Mime, pear-Crypt_CBC, pear-mailparse, pear-File, pear-HTML_Select_Common, and pear-Net_Sieve PR: ports/52596, ports/52641, ports/52655, ports/52656, ports/52671, ports/52678, ports/52845 Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'net/pear-Net_Sieve')
-rw-r--r--net/pear-Net_Sieve/Makefile25
-rw-r--r--net/pear-Net_Sieve/pkg-deinstall13
-rw-r--r--net/pear-Net_Sieve/pkg-descr2
-rw-r--r--net/pear-Net_Sieve/pkg-plist2
4 files changed, 6 insertions, 36 deletions
diff --git a/net/pear-Net_Sieve/Makefile b/net/pear-Net_Sieve/Makefile
index 656096187ecb..887d9b19faef 100644
--- a/net/pear-Net_Sieve/Makefile
+++ b/net/pear-Net_Sieve/Makefile
@@ -7,40 +7,21 @@
PORTNAME= Net_Sieve
PORTVERSION= 0.8.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net www
-MASTER_SITES= http://pear.php.net/get/
-PKGNAMEPREFIX= pear-
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR class to handle talking to timsieved
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR
+BUILD_DEPENDS= ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
RUN_DEPENDS= ${BUILD_DEPENDS}
-NO_BUILD= yes
-
.include <bsd.port.pre.mk>
-
-.if exists(${LOCALBASE}/bin/php-config)
-PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
-.else
-PHP_BASE= ${LOCALBASE}
-.endif
-PEAR= ${LOCALBASE}/bin/pear
-LPHP_LIB= lib/php
-PEARDIR= ${PHP_BASE}/${LPHP_LIB}
-PLIST_SUB= PEARDIR=${LPHP_LIB}
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
do-install:
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}/Net
@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Net/Sieve.php
@${CHMOD} a-x ${PEARDIR}/Net/Sieve.php
-post-install:
-# Register a new package
- @${PEAR} install -r -f ${WRKDIR}/package.xml
-
.include <bsd.port.post.mk>
diff --git a/net/pear-Net_Sieve/pkg-deinstall b/net/pear-Net_Sieve/pkg-deinstall
deleted file mode 100644
index c17e9d19ced0..000000000000
--- a/net/pear-Net_Sieve/pkg-deinstall
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Remove package declaration from PEAR's registry.
-
-if [ x$2 != xDEINSTALL ]; then
- exit
-fi
-PKG_NAME=${1%%-[0-9._]*}
-PACKAGE=$(echo $PKG_NAME | sed 's/pear-//')
-
-${PKG_PREFIX}/bin/pear uninstall -r ${PACKAGE} || true
diff --git a/net/pear-Net_Sieve/pkg-descr b/net/pear-Net_Sieve/pkg-descr
index e994efc7f20b..4932c5c33881 100644
--- a/net/pear-Net_Sieve/pkg-descr
+++ b/net/pear-Net_Sieve/pkg-descr
@@ -3,4 +3,4 @@ Net_Sieve is a PEAR class which handles talking to timsieved.
Provides an API to talk to the timsieved server that comes with Cyrus
IMAPd. Can be used to install, remove, mark active, etc. SIEVE scripts.
-WWW: http://pear.php.net/package-info.php?pacid=71
+WWW: http://pear.php.net/package-info.php?package=Net_Sieve
diff --git a/net/pear-Net_Sieve/pkg-plist b/net/pear-Net_Sieve/pkg-plist
index a1753da6c08f..769b8a5fea1c 100644
--- a/net/pear-Net_Sieve/pkg-plist
+++ b/net/pear-Net_Sieve/pkg-plist
@@ -1 +1,3 @@
%%PEARDIR%%/Net/Sieve.php
+%%PKGREGDIR%%/package.xml
+@dirrm %%PKGREGDIR%%