1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

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]
This commit is contained in:
Norikatsu Shigemura 2003-06-20 23:09:36 +00:00
parent 3fe5f96f88
commit 47ec08b29d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83382
6 changed files with 28 additions and 20 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (PEAR/mailparse-0.9.1.tgz) = ae18c2fed49946bce049414b4cee3747
MD5 (PEAR/mailparse-0.9.2.tgz) = 73478cc638522aefb7315cc1976f76d4

View File

@ -0,0 +1,5 @@
************************************************************************
Do not forget to configure your /usr/local/etc/php.ini file:
set
extension_dir = "/usr/local/lib/php/20020429"
************************************************************************

View File

@ -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>

View File

@ -1 +1 @@
MD5 (PEAR/mailparse-0.9.1.tgz) = ae18c2fed49946bce049414b4cee3747
MD5 (PEAR/mailparse-0.9.2.tgz) = 73478cc638522aefb7315cc1976f76d4

View File

@ -0,0 +1,5 @@
************************************************************************
Do not forget to configure your /usr/local/etc/php.ini file:
set
extension_dir = "/usr/local/lib/php/20020429"
************************************************************************