Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= dovecot-pigeonhole |
8 |
PORTNAME= dovecot-pigeonhole |
9 |
PORTVERSION= 0.2.2 |
9 |
PORTVERSION= 0.2.3 |
10 |
PORTREVISION= 2 |
|
|
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 35-41
Link Here
|
35 |
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/-/\//} |
34 |
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/-/\//} |
36 |
|
35 |
|
37 |
.if !defined(NOPORTDOCS) |
36 |
.if !defined(NOPORTDOCS) |
38 |
PORTDOCS= AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO spamtest-virustest.txt |
37 |
PORTDOCS= AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO spamtest-virustest.txt vacation.txt |
39 |
.endif |
38 |
.endif |
40 |
|
39 |
|
41 |
post-patch: |
40 |
post-patch: |
Lines 43-54
Link Here
|
43 |
s!/doc/$${PACKAGE_TARNAME}!/doc/${PORTNAME:S/-/\//}!g;\ |
42 |
s!/doc/$${PACKAGE_TARNAME}!/doc/${PORTNAME:S/-/\//}!g;\ |
44 |
s!$${docdir}/dovecot/sieve!$${docdir}!g;\ |
43 |
s!$${docdir}/dovecot/sieve!$${docdir}!g;\ |
45 |
' ${WRKSRC}/configure |
44 |
' ${WRKSRC}/configure |
46 |
@${REINPLACE_CMD} -E -e '\ |
|
|
47 |
/^docfiles = spamtest-virustest.txt$$/D;\ |
48 |
/^[[:space:]]+test -z "\$$\(sieve_docdir\)" \|\| \$$\(MKDIR_P\) "\$$\(DESTDIR\)\$$\(sieve_docdir\)"$$/D;\ |
49 |
' ${WRKSRC}/doc/Makefile.in |
50 |
@${LN} -f ${WRKSRC}/doc/spamtest-virustest.txt ${WRKSRC}/ |
45 |
@${LN} -f ${WRKSRC}/doc/spamtest-virustest.txt ${WRKSRC}/ |
51 |
|
46 |
@${LN} -f ${WRKSRC}/doc/vacation.txt ${WRKSRC}/ |
|
|
47 |
|
52 |
post-install: |
48 |
post-install: |
53 |
.if !defined(NOPORTDOCS) |
49 |
.if !defined(NOPORTDOCS) |
54 |
${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR} |
50 |
${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR} |