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 |
|