aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pecl-mailparse
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-06-21 07:09:36 +0800
committernork <nork@FreeBSD.org>2003-06-21 07:09:36 +0800
commit1a28951788217d4018cba44cc25ce99ec9d34f34 (patch)
tree3f83052e1bbb452f4dfafbf26baf1fe946def075 /mail/pecl-mailparse
parentd6c62034763b164630a2b389eab221ab06a72a81 (diff)
downloadfreebsd-ports-gnome-1a28951788217d4018cba44cc25ce99ec9d34f34.tar.gz
freebsd-ports-gnome-1a28951788217d4018cba44cc25ce99ec9d34f34.tar.zst
freebsd-ports-gnome-1a28951788217d4018cba44cc25ce99ec9d34f34.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]
Diffstat (limited to 'mail/pecl-mailparse')
-rw-r--r--mail/pecl-mailparse/Makefile17
-rw-r--r--mail/pecl-mailparse/distinfo2
-rw-r--r--mail/pecl-mailparse/pkg-message5
3 files changed, 14 insertions, 10 deletions
diff --git a/mail/pecl-mailparse/Makefile b/mail/pecl-mailparse/Makefile
index 21a45939745c..abf511057ffa 100644
--- a/mail/pecl-mailparse/Makefile
+++ b/mail/pecl-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/pecl-mailparse/distinfo b/mail/pecl-mailparse/distinfo
index 0cc7b93aa6a2..1e0f1e5575d0 100644
--- a/mail/pecl-mailparse/distinfo
+++ b/mail/pecl-mailparse/distinfo
@@ -1 +1 @@
-MD5 (PEAR/mailparse-0.9.1.tgz) = ae18c2fed49946bce049414b4cee3747
+MD5 (PEAR/mailparse-0.9.2.tgz) = 73478cc638522aefb7315cc1976f76d4
diff --git a/mail/pecl-mailparse/pkg-message b/mail/pecl-mailparse/pkg-message
new file mode 100644
index 000000000000..3db97461e6a2
--- /dev/null
+++ b/mail/pecl-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"
+************************************************************************