aboutsummaryrefslogtreecommitdiff
path: root/mail/pear-mailparse
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-06-20 23:09:36 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-06-20 23:09:36 +0000
commit47ec08b29dc39faa7a9ceff24b95e32976270f97 (patch)
treea2ebe406a6483c9ba4d684139f6137617f3e3447 /mail/pear-mailparse
parent3fe5f96f88fc5073a71dc6034271907edd8f2519 (diff)
downloadports-47ec08b29dc39faa7a9ceff24b95e32976270f97.tar.gz
ports-47ec08b29dc39faa7a9ceff24b95e32976270f97.zip
o Update to 0.9.2.
o Unbreak by adding IS_INTERACTIVE. PR: ports/53569[1], ports/53522[2] Submitted by: Thierry Thomas <thierry@pompo.net> [1] Mark Linimon <linimon@lonesome.com> [2]
Notes
Notes: svn path=/head/; revision=83382
Diffstat (limited to 'mail/pear-mailparse')
-rw-r--r--mail/pear-mailparse/Makefile17
-rw-r--r--mail/pear-mailparse/distinfo2
-rw-r--r--mail/pear-mailparse/pkg-message5
3 files changed, 14 insertions, 10 deletions
diff --git a/mail/pear-mailparse/Makefile b/mail/pear-mailparse/Makefile
index 21a45939745c..abf511057ffa 100644
--- a/mail/pear-mailparse/Makefile
+++ b/mail/pear-mailparse/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= mailparse
-PORTVERSION= 0.9.1
-PORTREVISION= 1
+PORTVERSION= 0.9.2
CATEGORIES= mail www
MAINTAINER= ports@FreeBSD.org
@@ -16,9 +15,9 @@ COMMENT= PEAR classes to create and decode MIME messages
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+IS_INTERACTIVE= 'need to build php4 with mbstring support.'
+
USE_PHPIZE= yes
-USE_REINPLACE= yes
-REINPLACE_ARGS= -i.before_mailparse
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
@@ -51,11 +50,6 @@ post-install-script:
${ECHO_MSG} "===> Creating ${PHP_INI} for PHP" ; \
${CP} -p ${PHP_INI}-dist ${PHP_INI} ; \
fi
- @if ${GREP} -q -e '^extension_dir = ./' ${PHP_INI} ; then \
- ${ECHO_MSG} "===> Configuring ${PHP_INI}" ; \
- ${REINPLACE_CMD} -e 's!^extension_dir = ./!extension_dir = ${PHP_BASE}/${EXT_DIR}!' \
- ${PHP_INI} ; \
- fi
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
@@ -67,5 +61,10 @@ post-install-script:
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TESTDIR}
@${ECHO_MSG} "===> Examples installed in ${TESTDIR}."
.endif
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE} | \
+ ${SED} -e "s:/usr/local/etc/php.ini:${PHP_INI}:" \
+ -e "s:/usr/local/lib/php/20020429:${PHP_BASE}/${EXT_DIR}:"
+ @${ECHO_MSG}
.include <bsd.port.post.mk>
diff --git a/mail/pear-mailparse/distinfo b/mail/pear-mailparse/distinfo
index 0cc7b93aa6a2..1e0f1e5575d0 100644
--- a/mail/pear-mailparse/distinfo
+++ b/mail/pear-mailparse/distinfo
@@ -1 +1 @@
-MD5 (PEAR/mailparse-0.9.1.tgz) = ae18c2fed49946bce049414b4cee3747
+MD5 (PEAR/mailparse-0.9.2.tgz) = 73478cc638522aefb7315cc1976f76d4
diff --git a/mail/pear-mailparse/pkg-message b/mail/pear-mailparse/pkg-message
new file mode 100644
index 000000000000..3db97461e6a2
--- /dev/null
+++ b/mail/pear-mailparse/pkg-message
@@ -0,0 +1,5 @@
+************************************************************************
+Do not forget to configure your /usr/local/etc/php.ini file:
+set
+extension_dir = "/usr/local/lib/php/20020429"
+************************************************************************