diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-07 23:00:46 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-07 23:00:46 +0000 |
commit | 077b4b53b0d0814df73a850dfa8625101c7b8404 (patch) | |
tree | 1635d75a5b1ebd11d644c2d01607580c9063de35 /mail/pear-Mail_Mime | |
parent | 95cfdcc8b6a9c07b40477662aa446e3bdd99525b (diff) |
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>
Notes
Notes:
svn path=/head/; revision=82484
Diffstat (limited to 'mail/pear-Mail_Mime')
-rw-r--r-- | mail/pear-Mail_Mime/Makefile | 27 | ||||
-rw-r--r-- | mail/pear-Mail_Mime/pkg-install | 14 | ||||
-rw-r--r-- | mail/pear-Mail_Mime/pkg-plist | 2 |
3 files changed, 20 insertions, 23 deletions
diff --git a/mail/pear-Mail_Mime/Makefile b/mail/pear-Mail_Mime/Makefile index 676e1b46b488..713fa196c8cf 100644 --- a/mail/pear-Mail_Mime/Makefile +++ b/mail/pear-Mail_Mime/Makefile @@ -7,32 +7,17 @@ PORTNAME= Mail_Mime PORTVERSION= 1.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail www -MASTER_SITES= http://pear.php.net/get/ -PKGNAMEPREFIX= pear- -EXTRACT_SUFX= .tgz -DIST_SUBDIR= PEAR MAINTAINER= ports@FreeBSD.org COMMENT= PEAR classes to create and decode MIME messages -BUILD_DEPENDS= ${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR -RUN_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install - -NO_BUILD= yes +BUILD_DEPENDS= ${PEARDIR}/Mail/mail.php:${PORTSDIR}/mail/pear-Mail +RUN_DEPENDS= ${BUILD_DEPENDS} .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}/Mail @@ -41,8 +26,4 @@ do-install: @${CHMOD} a-x ${PEARDIR}/Mail/${BUGMODE} .endfor -post-install: -# Register a new package - @${PEAR} install -r -f ${WRKDIR}/package.xml - .include <bsd.port.post.mk> diff --git a/mail/pear-Mail_Mime/pkg-install b/mail/pear-Mail_Mime/pkg-install new file mode 100644 index 000000000000..ed2f91c6f145 --- /dev/null +++ b/mail/pear-Mail_Mime/pkg-install @@ -0,0 +1,14 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# Register the package $1 in the port registry + +PREFIX=${PKG_PREFIX:-/usr/local} +PEAR=${PREFIX}/bin/pear +PKGREGDIR=${PREFIX}/.PEAR.pkg/$1 + +[ "x$1" = "x" ] && exit 1 +if [ "x$2" = "xPOST-INSTALL" ]; then + ${PEAR} install -r -f ${PKGREGDIR}/package.xml +fi diff --git a/mail/pear-Mail_Mime/pkg-plist b/mail/pear-Mail_Mime/pkg-plist index 9ece498454c6..0b083cb8f847 100644 --- a/mail/pear-Mail_Mime/pkg-plist +++ b/mail/pear-Mail_Mime/pkg-plist @@ -3,3 +3,5 @@ %%PEARDIR%%/Mail/mimePart.php %%PEARDIR%%/Mail/xmail.dtd %%PEARDIR%%/Mail/xmail.xsl +%%PKGREGDIR%%/package.xml +@dirrm %%PKGREGDIR%% |