summaryrefslogtreecommitdiffstats
path: root/mail/pecl-mailparse/Makefile
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-06-20 23:09:36 +0000
committernork <nork@FreeBSD.org>2003-06-20 23:09:36 +0000
commit1a28951788217d4018cba44cc25ce99ec9d34f34 (patch)
tree3f83052e1bbb452f4dfafbf26baf1fe946def075 /mail/pecl-mailparse/Makefile
parentd6c62034763b164630a2b389eab221ab06a72a81 (diff)
downloadFreeBSD-ports-1a28951788217d4018cba44cc25ce99ec9d34f34.zip
FreeBSD-ports-1a28951788217d4018cba44cc25ce99ec9d34f34.tar.gz
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/Makefile')
-rw-r--r--mail/pecl-mailparse/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/mail/pecl-mailparse/Makefile b/mail/pecl-mailparse/Makefile
index 21a4593..abf5110 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>
OpenPOWER on IntegriCloud