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

(-)Makefile (-7 / +9 lines)
Lines 6-17 Link Here
6
#
6
#
7
7
8
PORTNAME=	dovecot
8
PORTNAME=	dovecot
9
PORTVERSION=	0.97
9
PORTVERSION=	0.98.4
10
CATEGORIES=	mail ipv6
10
CATEGORIES=	mail ipv6
11
MASTER_SITES=	http://dovecot.procontrol.fi/
11
MASTER_SITES=	http://dovecot.procontrol.fi/
12
12
13
MAINTAINER=	d.marks@student.umist.ac.uk
13
MAINTAINER=	d.marks@student.umist.ac.uk
14
14
15
USE_REINPLACE=	yes
15
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
16
CONFIGURE_ARGS+=	--disable-shadow --enable-ipv6 \
17
CONFIGURE_ARGS+=	--disable-shadow --enable-ipv6 \
17
		--localstatedir=/var/dovecot
18
		--localstatedir=/var/dovecot
Lines 23-34 PLIST_SUB+= DOCS="@comment " Link Here
23
.endif
24
.endif
24
25
25
pre-build:
26
pre-build:
26
	@${SED} 's,%%PREFIX%%,${PREFIX},' < ${WRKSRC}/dovecot-example.conf \
27
	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
27
		> ${WRKSRC}/dovecot-example.conf.new
28
		${WRKSRC}/dovecot-example.conf
28
	@${MV} ${WRKSRC}/dovecot-example.conf.new ${WRKSRC}/dovecot-example.conf
29
29
30
pre-install:
30
pre-install:
31
	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
31
	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" \
32
		${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
32
33
33
post-install:
34
post-install:
34
	@${MKDIR} /var/dovecot
35
	@${MKDIR} /var/dovecot
Lines 36-43 post-install: Link Here
36
	@${MKDIR} /var/dovecot/login
37
	@${MKDIR} /var/dovecot/login
37
	@${CHOWN} imapd:imapd /var/dovecot
38
	@${CHOWN} imapd:imapd /var/dovecot
38
	@if [ ! -f ${PREFIX}/etc/rc.d/dovecot-imapd.sh ]; then \
39
	@if [ ! -f ${PREFIX}/etc/rc.d/dovecot-imapd.sh ]; then \
39
		${ECHO} "Install ${PREFIX}/etc/rc.d/dovecot-imapd.sh startup file."; \
40
		${ECHO} "Installing dovecot-imapd.sh startup file.";
40
		${INSTALL_SCRIPT} -m 751 ${FILESDIR}/dovecot-imapd.sh ${PREFIX}/etc/rc.d/dovecot-imapd.sh; \
41
		${INSTALL_SCRIPT} -m 751 ${FILESDIR}/dovecot-imapd.sh \
42
			${PREFIX}/etc/rc.d/dovecot-imapd.sh; \
41
	fi
43
	fi
42
.if !defined(NOPORTDOCS)
44
.if !defined(NOPORTDOCS)
43
	@${MKDIR} ${PREFIX}/share/doc/dovecot
45
	@${MKDIR} ${PREFIX}/share/doc/dovecot
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (dovecot-0.97.tar.gz) = e11fb1b9cd005d6072332e9df87ba620
1
MD5 (dovecot-0.98.4.tar.gz) = 2b8087867cbfc4a85183daee2fe49854

Return to bug 45000