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

(-)./Makefile (-13 / +32 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	dovecot-pigeonhole
8
PORTNAME=	dovecot-pigeonhole
9
PORTVERSION=	0.3.0
9
PORTVERSION=	0.3.1
10
PORTREVISION=	1
11
CATEGORIES=	mail
10
CATEGORIES=	mail
12
MASTER_SITES=	http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
11
MASTER_SITES=	http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
13
DISTNAME=	${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
12
DISTNAME=	${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
Lines 15-22 Link Here
15
MAINTAINER=	bra@fsn.hu
14
MAINTAINER=	bra@fsn.hu
16
COMMENT=	A Sieve plugin for the Dovecot 'deliver' LDA and LMTP
15
COMMENT=	A Sieve plugin for the Dovecot 'deliver' LDA and LMTP
17
16
18
BUILD_DEPENDS=	dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot${DOVECOTVERSION:R}
17
LICENSE=	LGPL21
19
RUN_DEPENDS=	dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot${DOVECOTVERSION:R}
18
19
BUILD_DEPENDS:=	dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot${DOVECOTVERSION:R}
20
RUN_DEPENDS:=	dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot${DOVECOTVERSION:R}
20
21
21
DOVECOTVERSION=	2.1
22
DOVECOTVERSION=	2.1
22
23
Lines 34-56 Link Here
34
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME:S/-/\//}
35
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME:S/-/\//}
35
36
36
.if !defined(NOPORTDOCS)
37
.if !defined(NOPORTDOCS)
37
PORTDOCS=	AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO spamtest-virustest.txt vacation.txt
38
EXTENSIONDOCS=	editheader.txt include.txt spamtest-virustest.txt \
39
		vacation.txt vnd.dovecot.duplicate.txt
40
PORTDOCS=	AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO \
41
		script-location-dict.txt ${EXTENSIONDOCS}
42
.endif
43
44
.if !defined(NOPORTEXAMPLES)
45
EXAMPLESDIR=	${PREFIX}/share/examples/${PORTNAME:S/-/\//}
46
PORTEXAMPLES=	*.sieve
38
.endif
47
.endif
39
48
40
post-patch:
49
post-patch:
41
	@${REINPLACE_CMD} -e '\
50
	@${REINPLACE_CMD} -E '\
42
		s!/doc/$${PACKAGE_TARNAME}!/doc/${PORTNAME:S/-/\//}!g;\
51
		s!^(install-data-am:) install-sieve_docDATA!\1!; \
43
		s!$${docdir}/dovecot/sieve!$${docdir}!g;\
52
		s!^(uninstall-am:) uninstall-sieve_docDATA!\1!;' \
44
		' ${WRKSRC}/configure
53
		${WRKSRC}/doc/Makefile.in
45
	@${LN} -f ${WRKSRC}/doc/spamtest-virustest.txt ${WRKSRC}/
54
.if !defined(NOPORTDOCS)
46
	@${LN} -f ${WRKSRC}/doc/vacation.txt ${WRKSRC}/
55
.for f in ${EXTENSIONDOCS}
56
	@${LN} -f ${WRKSRC}/doc/extensions/${f} ${WRKSRC}/
57
.endfor
58
	@${LN} -f ${WRKSRC}/doc/script-location-dict.txt ${WRKSRC}/
59
.endif
47
60
48
post-install:
61
post-install:
49
.if !defined(NOPORTDOCS)
62
.if !defined(NOPORTDOCS)
50
	${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR}
63
	@${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR}
51
.for f in ${PORTDOCS}
64
.for f in ${PORTDOCS}
52
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
65
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
53
.endfor
66
.endfor
67
	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}"
68
.endif
69
.if !defined(NOPORTEXAMPLES)
70
	@${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${EXAMPLESDIR}
71
	@${INSTALL_DATA} ${WRKSRC}/examples/*.sieve ${EXAMPLESDIR}
72
	@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}"
54
.endif
73
.endif
55
	@${CAT} ${PKGMESSAGE}
74
	@${CAT} ${PKGMESSAGE}
56
75
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (dovecot-2.1-pigeonhole-0.3.0.tar.gz) = 2aeee8aa6dc700483b0a5a3d31f535abce71698ed1d467f11e931aeace2b0ada
1
SHA256 (dovecot-2.1-pigeonhole-0.3.1.tar.gz) = e95d86c5cd912c9a7e180414ffd5eee52e1b5dc8abef3d5762b950d1de86b5c7
2
SIZE (dovecot-2.1-pigeonhole-0.3.0.tar.gz) = 1277277
2
SIZE (dovecot-2.1-pigeonhole-0.3.1.tar.gz) = 1084148
(-)./files/patch-doc_Makefile_in (-20 lines)
Lines 1-20 Link Here
1
--- doc/Makefile.in.orig	2011-09-17 00:29:32.041186370 +0100
2
+++ doc/Makefile.in	2011-09-17 00:30:18.168226616 +0100
3
@@ -210,9 +210,6 @@
4
 top_builddir = @top_builddir@
5
 top_srcdir = @top_srcdir@
6
 SUBDIRS = man example-config
7
-docfiles = \
8
-	vacation.txt \
9
-	spamtest-virustest.txt
10
 
11
 @BUILD_DOCS_TRUE@sieve_doc_DATA = $(docfiles)
12
 EXTRA_DIST = \
13
@@ -260,7 +257,6 @@
14
 	-rm -rf .libs _libs
15
 install-sieve_docDATA: $(sieve_doc_DATA)
16
 	@$(NORMAL_INSTALL)
17
-	test -z "$(sieve_docdir)" || $(MKDIR_P) "$(DESTDIR)$(sieve_docdir)"
18
 	@list='$(sieve_doc_DATA)'; for p in $$list; do \
19
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
20
 	  f=$(am__strip_dir) \
(-)./pkg-plist (+1 lines)
Lines 41-46 Link Here
41
include/dovecot/sieve/sieve-runtime.h
41
include/dovecot/sieve/sieve-runtime.h
42
include/dovecot/sieve/sieve-script-private.h
42
include/dovecot/sieve/sieve-script-private.h
43
include/dovecot/sieve/sieve-script.h
43
include/dovecot/sieve/sieve-script.h
44
include/dovecot/sieve/sieve-script-file.h
44
include/dovecot/sieve/sieve-settings.h
45
include/dovecot/sieve/sieve-settings.h
45
include/dovecot/sieve/sieve-smtp.h
46
include/dovecot/sieve/sieve-smtp.h
46
include/dovecot/sieve/sieve-stringlist.h
47
include/dovecot/sieve/sieve-stringlist.h

Return to bug 168420