diff options
author | nork <nork@FreeBSD.org> | 2003-06-21 07:09:36 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-06-21 07:09:36 +0800 |
commit | 1a28951788217d4018cba44cc25ce99ec9d34f34 (patch) | |
tree | 3f83052e1bbb452f4dfafbf26baf1fe946def075 | |
parent | d6c62034763b164630a2b389eab221ab06a72a81 (diff) | |
download | freebsd-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]
-rw-r--r-- | mail/pear-mailparse/Makefile | 17 | ||||
-rw-r--r-- | mail/pear-mailparse/distinfo | 2 | ||||
-rw-r--r-- | mail/pear-mailparse/pkg-message | 5 | ||||
-rw-r--r-- | mail/pecl-mailparse/Makefile | 17 | ||||
-rw-r--r-- | mail/pecl-mailparse/distinfo | 2 | ||||
-rw-r--r-- | mail/pecl-mailparse/pkg-message | 5 |
6 files changed, 28 insertions, 20 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" +************************************************************************ 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" +************************************************************************ |