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

(-)/usr/local/tinderbox/portstrees/FreeBSD/ports/mail/squirrelmail-timeout_user-plugin/Makefile (-4 / +9 lines)
Lines 5-16 Link Here
5
# $FreeBSD: ports/mail/squirrelmail-timeout_user-plugin/Makefile,v 1.2 2007/01/25 22:58:44 miwi Exp $
5
# $FreeBSD: ports/mail/squirrelmail-timeout_user-plugin/Makefile,v 1.2 2007/01/25 22:58:44 miwi Exp $
6
#
6
#
7
7
8
PORTNAME=	squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin
8
PORTNAME=	timeout_user
9
PORTVERSION=	1.1.1
9
PORTVERSION=	1.1.1
10
PORTREVISION=	1
10
PORTREVISION=	1
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}-0.5
13
PKGNAMEPREFIX=	squirrelmail-
14
PKGNAMESUFFIX=	-plugin
15
DISTNAME=	${PORTNAME}-${PORTVERSION}-0.5
14
DIST_SUBDIR=	squirrelmail
16
DIST_SUBDIR=	squirrelmail
15
17
16
MAINTAINER=	thomas@goodking.ca
18
MAINTAINER=	thomas@goodking.ca
Lines 19-25 Link Here
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-plugin
21
23
22
SQUIRREL_PLUGIN_NAME=	timeout_user
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
45
pre-everything::
50
pre-everything::
46
	@${ECHO} ""
51
	@${ECHO} ""
47
.ifndef WITHOUT_ACTIVATE
52
.ifndef WITHOUT_ACTIVATE
Lines 71-74 Link Here
71
.endif
76
.endif
72
	@${ECHO} ""
77
	@${ECHO} ""
73
78
74
.include <bsd.port.mk>
79
.include <bsd.port.post.mk>
(-)/usr/local/tinderbox/portstrees/FreeBSD/ports/mail/squirrelmail-timeout_user-plugin/pkg-plist (-2 / +2 lines)
Lines 1-4 Link Here
1
@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin timeout_user; fi
1
@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
2
%%SQUIRRELDIR%%/plugins/timeout_user/version
2
%%SQUIRRELDIR%%/plugins/timeout_user/version
3
%%SQUIRRELDIR%%/plugins/timeout_user/README
3
%%SQUIRRELDIR%%/plugins/timeout_user/README
4
%%SQUIRRELDIR%%/plugins/timeout_user/index.php
4
%%SQUIRRELDIR%%/plugins/timeout_user/index.php
Lines 7-10 Link Here
7
%%SQUIRRELDIR%%/plugins/timeout_user/functions.php
7
%%SQUIRRELDIR%%/plugins/timeout_user/functions.php
8
%%SQUIRRELDIR%%/plugins/timeout_user/config.php
8
%%SQUIRRELDIR%%/plugins/timeout_user/config.php
9
@dirrm %%SQUIRRELDIR%%/plugins/timeout_user
9
@dirrm %%SQUIRRELDIR%%/plugins/timeout_user
10
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin timeout_user; fi
10
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi

Return to bug 110311