aboutsummaryrefslogtreecommitdiffstats
path: root/security/pear-Crypt_CBC
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 /security/pear-Crypt_CBC
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 'security/pear-Crypt_CBC')
-rw-r--r--security/pear-Crypt_CBC/Makefile24
-rw-r--r--security/pear-Crypt_CBC/pkg-descr2
-rw-r--r--security/pear-Crypt_CBC/pkg-plist2
3 files changed, 6 insertions, 22 deletions
diff --git a/security/pear-Crypt_CBC/Makefile b/security/pear-Crypt_CBC/Makefile
index 89a452ca4b94..3e301a771c35 100644
--- a/security/pear-Crypt_CBC/Makefile
+++ b/security/pear-Crypt_CBC/Makefile
@@ -7,39 +7,21 @@
PORTNAME= Crypt_CBC
PORTVERSION= 0.4
+PORTREVISION= 1
CATEGORIES= security www
-MASTER_SITES= http://pear.php.net/get/
-PKGNAMEPREFIX= pear-
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR class to emulate Perl's Crypt::CBC module
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
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:
@${MKDIR} ${PEARDIR}/Crypt
@${CP} -Rp ${WRKSRC}/CBC.php ${PEARDIR}/Crypt
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Crypt
-post-install:
-# Register a new package
- @${PEAR} install -r -f ${WRKDIR}/package.xml
-
.include <bsd.port.post.mk>
diff --git a/security/pear-Crypt_CBC/pkg-descr b/security/pear-Crypt_CBC/pkg-descr
index af138b21b04f..dd4723d43949 100644
--- a/security/pear-Crypt_CBC/pkg-descr
+++ b/security/pear-Crypt_CBC/pkg-descr
@@ -1,3 +1,3 @@
A PEAR class to emulate Perl's Crypt::CBC module.
-WWW: http://pear.php.net/package-info.php?pacid=48
+WWW: http://pear.php.net/package-info.php?package=Crypt_CBC
diff --git a/security/pear-Crypt_CBC/pkg-plist b/security/pear-Crypt_CBC/pkg-plist
index e873b488ba5f..82ab5e846889 100644
--- a/security/pear-Crypt_CBC/pkg-plist
+++ b/security/pear-Crypt_CBC/pkg-plist
@@ -1,2 +1,4 @@
%%PEARDIR%%/Crypt/CBC.php
+%%PKGREGDIR%%/package.xml
@dirrm %%PEARDIR%%/Crypt
+@dirrm %%PKGREGDIR%%