mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Make Auth::SASL dependency optional
- Take maintainership PR: ports/73741 Submitted by: Antonio Carlos Venancio Junior <antonio@php.net>
This commit is contained in:
parent
03ca523e35
commit
c179ee1adc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121262
@ -7,14 +7,13 @@
|
||||
|
||||
PORTNAME= Net_SMTP
|
||||
PORTVERSION= 1.2.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net mail www pear
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= antonio@php.net
|
||||
COMMENT= PEAR class that provides an implementation of the SMTP protocol
|
||||
|
||||
BUILD_DEPENDS= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL \
|
||||
${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
|
||||
# The Auth_SASL package is no longer absolutely required, but it will be used if it is available.
|
||||
BUILD_DEPENDS= ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
CATEGORY= Net
|
||||
@ -24,6 +23,13 @@ TESTS= auth.phpt basic.phpt config.php.dist
|
||||
EXAMPLES= basic.php
|
||||
_EXAMPLESDIR= docs/examples
|
||||
|
||||
OPTIONS= PEAR_AUTH_SASL "PEAR::Auth_SASL support" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_PEAR_AUTH_SASL)
|
||||
BUILD_DEPENDS+= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL
|
||||
.endif
|
||||
|
||||
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user