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

(-)Makefile (-6 / +11 lines)
Lines 5-24 Link Here
5
# $FreeBSD: ports/mail/squirrelmail-pupdate-plugin/Makefile,v 1.1 2006/07/04 23:04:48 garga Exp $
5
# $FreeBSD: ports/mail/squirrelmail-pupdate-plugin/Makefile,v 1.1 2006/07/04 23:04:48 garga Exp $
6
#
6
#
7
7
8
PORTNAME=	squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin
8
PORTNAME=	pupdate
9
PORTVERSION=	0.7
9
PORTVERSION=	0.7
10
PORTREVISION=	1
10
CATEGORIES=	mail www
11
CATEGORIES=	mail www
11
MASTER_SITES=	http://www.squirrelmail.org/plugins/
12
MASTER_SITES=	http://www.squirrelmail.org/plugins/
12
DISTNAME=	${SQUIRREL_PLUGIN_NAME}.${PORTVERSION}-1.4.2
13
PKGNAMEPREFIX=	squirrelmail-
14
PKGNAMESUFFIX=	-plugin
15
DISTNAME=	${PORTNAME}.${PORTVERSION}-1.4.2
13
DIST_SUBDIR=	squirrelmail
16
DIST_SUBDIR=	squirrelmail
14
17
15
MAINTAINER=	thomas@goodking.ca
18
MAINTAINER=	thomas@goodking.ca
16
COMMENT=	Checks for plugin updates by parsing the SM site
19
COMMENT=	Checks for plugin updates by parsing the SM site
17
20
18
RUN_DEPENDS=	${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
21
RUN_DEPENDS=	${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail
19
		${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
20
22
21
SQUIRREL_PLUGIN_NAME=	pupdate
23
SQUIRREL_PLUGIN_NAME=	${PORTNAME}
22
24
23
.ifdef SQUIRRELDIR
25
.ifdef SQUIRRELDIR
24
PLIST_SUB+=	SQUIRRELDIR=${SQUIRRELDIR}
26
PLIST_SUB+=	SQUIRRELDIR=${SQUIRRELDIR}
Lines 34-39 Link Here
34
SUB_LIST+=	"SQUIRRELDIR=squirrelmail"
36
SUB_LIST+=	"SQUIRRELDIR=squirrelmail"
35
.endif
37
.endif
36
.endif
38
.endif
39
PLIST_SUB+=	SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
37
40
38
SUB_FILES=	pkg-message
41
SUB_FILES=	pkg-message
39
42
Lines 43-48 Link Here
43
USE_PHP=		yes
46
USE_PHP=		yes
44
WANT_PHP_WEB=		yes
47
WANT_PHP_WEB=		yes
45
48
49
.include <bsd.port.pre.mk>
50
46
pre-everything::
51
pre-everything::
47
	@${ECHO} ""
52
	@${ECHO} ""
48
.ifndef WITHOUT_ACTIVATE
53
.ifndef WITHOUT_ACTIVATE
Lines 73-76 Link Here
73
	@${ECHO} ""
78
	@${ECHO} ""
74
	@${CAT} ${PKGMESSAGE}
79
	@${CAT} ${PKGMESSAGE}
75
80
76
.include <bsd.port.mk>
81
.include <bsd.port.post.mk>
(-)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 pupdate; 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/pupdate/docs/index.php
2
%%SQUIRRELDIR%%/plugins/pupdate/docs/index.php
3
%%SQUIRRELDIR%%/plugins/pupdate/docs/INSTALL
3
%%SQUIRRELDIR%%/plugins/pupdate/docs/INSTALL
4
%%SQUIRRELDIR%%/plugins/pupdate/docs/README
4
%%SQUIRRELDIR%%/plugins/pupdate/docs/README
Lines 17-20 Link Here
17
@dirrm %%SQUIRRELDIR%%/plugins/pupdate/docs
17
@dirrm %%SQUIRRELDIR%%/plugins/pupdate/docs
18
@dirrm %%SQUIRRELDIR%%/plugins/pupdate/udata
18
@dirrm %%SQUIRRELDIR%%/plugins/pupdate/udata
19
@dirrm %%SQUIRRELDIR%%/plugins/pupdate
19
@dirrm %%SQUIRRELDIR%%/plugins/pupdate
20
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin pupdate; fi
20
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi

Return to bug 110310