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

(-)Makefile (-6 / +15 lines)
Lines 5-25 Link Here
5
# $FreeBSD: ports/mail/squirrelmail-newuser_wiz-plugin/Makefile,v 1.2 2006/06/29 15:34:35 garga Exp $
5
# $FreeBSD: ports/mail/squirrelmail-newuser_wiz-plugin/Makefile,v 1.2 2006/06/29 15:34:35 garga Exp $
6
#
6
#
7
7
8
PORTNAME=	squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin
8
PORTNAME=	newuser_wiz
9
PORTVERSION=	1.3.2
9
PORTVERSION=	1.3.2
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	mail www
11
CATEGORIES=	mail www
12
MASTER_SITES=	http://www.squirrelmail.org/plugins/
12
MASTER_SITES=	http://www.squirrelmail.org/plugins/
13
DISTNAME=	${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}
13
PKGNAMEPREFIX=	squirrelmail-
14
PKGNAMESUFFIX=	-plugin
15
DISTNAME=	${PORTNAME}-${PORTVERSION}
14
DIST_SUBDIR=	squirrelmail
16
DIST_SUBDIR=	squirrelmail
15
17
16
MAINTAINER=	thomas@goodking.ca
18
MAINTAINER=	thomas@goodking.ca
17
COMMENT=	Force user to enter Full name and Email address at initial logon
19
COMMENT=	Force user to enter Full name and Email address at initial logon
18
20
19
RUN_DEPENDS=	${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
21
RUN_DEPENDS=	${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
20
		${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
22
		${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin1
21
23
22
SQUIRREL_PLUGIN_NAME=	newuser_wiz
24
SQUIRREL_PLUGIN_NAME=	${PORTNAME}
23
25
24
.ifdef SQUIRRELDIR
26
.ifdef SQUIRRELDIR
25
PLIST_SUB+=	SQUIRRELDIR=${SQUIRRELDIR}
27
PLIST_SUB+=	SQUIRRELDIR=${SQUIRRELDIR}
Lines 35-40 Link Here
35
SUB_LIST+=	"SQUIRRELDIR=squirrelmail"
37
SUB_LIST+=	"SQUIRRELDIR=squirrelmail"
36
.endif
38
.endif
37
.endif
39
.endif
40
PLIST_SUB+=	SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
38
41
39
NO_BUILD=		yes
42
NO_BUILD=		yes
40
NO_WRKSUBDIR=		yes
43
NO_WRKSUBDIR=		yes
Lines 42-47 Link Here
42
USE_PHP=		yes
45
USE_PHP=		yes
43
WANT_PHP_WEB=		yes
46
WANT_PHP_WEB=		yes
44
47
48
.include <bsd.port.pre.mk>
49
50
.if exists(${SQUIRRELDIR}/plugins/compatibility/getpot)
51
IGNORE='compatibility2 plugin is incompatible with this plugin, install mail/squirrelmail-compatibility-plugin1. WARNING compatibility-plugin1 could break other squirrelmail plugins'
52
.endif
53
45
pre-everything::
54
pre-everything::
46
	@${ECHO} ""
55
	@${ECHO} ""
47
.ifndef WITHOUT_ACTIVATE
56
.ifndef WITHOUT_ACTIVATE
Lines 70-73 Link Here
70
	@${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
79
	@${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
71
.endif
80
.endif
72
81
73
.include <bsd.port.mk>
82
.include <bsd.port.post.mk>

Return to bug 109435