View | Details | Raw Unified | Return to bug 171092
Collapse All | Expand All

(-)Makefile (-10 / +16 lines)
Lines 24-37 Link Here
24
USE_BZIP2=	yes
24
USE_BZIP2=	yes
25
USE_GETTEXT=	yes
25
USE_GETTEXT=	yes
26
26
27
.ifdef WITH_DATABASE
27
OPTIONS_DEFINE=	DATABASE LDAP
28
RUN_DEPENDS+=	${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
28
DATABASE_DESC=	PEAR database support (must also intall a driver)
29
.endif
30
29
31
.ifdef WITH_LDAP
32
USE_PHP+=	ldap
33
.endif
34
35
.ifndef WITHOUT_WWWDIR
30
.ifndef WITHOUT_WWWDIR
36
SQUIRRELDIR?=	${PREFIX}/www/${PORTNAME}
31
SQUIRRELDIR?=	${PREFIX}/www/${PORTNAME}
37
.else
32
.else
Lines 48-62 Link Here
48
43
49
CONFLICTS=	squirreloutlook-[0-9]*
44
CONFLICTS=	squirreloutlook-[0-9]*
50
45
46
.include <bsd.port.options.mk>
47
48
.if ${PORT_OPTIONS:MDATABASE}
49
RUN_DEPENDS+=	${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
50
.endif
51
52
.if ${PORT_OPTIONS:MLDAP}
53
USE_PHP+=	ldap
54
.endif
55
51
pre-everything::
56
pre-everything::
52
	@${ECHO_CMD} "SquirrelMail is installed into ${SQUIRRELDIR}"
57
	@${ECHO_CMD} "SquirrelMail is installed into ${SQUIRRELDIR}"
53
	@${ECHO_CMD} "To use the old location ${PREFIX}/${PORTNAME} define"
58
	@${ECHO_CMD} "To use the old location ${PREFIX}/${PORTNAME} define"
54
	@${ECHO_CMD} "WITHOUT_WWWDIR when patching or installing"
59
	@${ECHO_CMD} "WITHOUT_WWWDIR when patching or installing"
55
	@${ECHO_CMD}
60
	@${ECHO_CMD}
56
	@${ECHO_CMD} "Use WITH_LDAP to ensure PHP LDAP support is installed"
61
.if ${PORT_OPTIONS:MDATABASE}
57
	@${ECHO_CMD} "Use WITH_DATABASE to ensure PEAR framework for database support is installed"
62
	@${ECHO_CMD} "Note that the PEAR database framework still requires you to install a"
58
	@${ECHO_CMD} "   (note that this does not install the database specific PEAR support, e.g. MySQL)"
63
	@${ECHO_CMD} "database-specific PEAR driver, e.g. MySQL."
59
	@${ECHO_CMD}
64
	@${ECHO_CMD}
65
.endif
60
66
61
post-patch:
67
post-patch:
62
.ifndef PATCH_DEBUG
68
.ifndef PATCH_DEBUG

Return to bug 171092