Lines 17-24
Link Here
|
17 |
OPTIONS_DEFINE= DOVECOT DOCS |
17 |
OPTIONS_DEFINE= DOVECOT DOCS |
18 |
DOVECOT_DESC= Use with dovecot2 |
18 |
DOVECOT_DESC= Use with dovecot2 |
19 |
|
19 |
|
20 |
USE_BZIP2= yes |
20 |
USES= tar:bzip2 pathfix |
21 |
USES= pathfix |
|
|
22 |
USE_OPENSSL= yes |
21 |
USE_OPENSSL= yes |
23 |
USE_AUTOTOOLS= autoheader |
22 |
USE_AUTOTOOLS= autoheader |
24 |
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} |
23 |
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} |
Lines 30-55
Link Here
|
30 |
DOCS= ChangeLog README README.debian README.known_issues README.ssl |
29 |
DOCS= ChangeLog README README.debian README.known_issues README.ssl |
31 |
SBIN= in.imapproxyd pimpstat |
30 |
SBIN= in.imapproxyd pimpstat |
32 |
|
31 |
|
33 |
NO_STAGE= yes |
|
|
34 |
.include <bsd.port.options.mk> |
32 |
.include <bsd.port.options.mk> |
35 |
|
33 |
|
36 |
.if ${PORT_OPTIONS:MDOVECOT} |
34 |
.if ${PORT_OPTIONS:MDOVECOT} |
37 |
SUB_LIST+= DOVECOT="dovecot" |
35 |
SUB_LIST+= DOVECOT="dovecot" |
38 |
RUN_DEPENDS+= dovecot>=1.0:${PORTSDIR}/mail/dovecot2 |
36 |
RUN_DEPENDS+= dovecot:${PORTSDIR}/mail/dovecot2 |
39 |
.else |
37 |
.else |
40 |
SUB_LIST+= DOVECOT="" |
38 |
SUB_LIST+= DOVECOT="" |
41 |
.endif |
39 |
.endif |
42 |
|
40 |
|
43 |
do-install: |
41 |
do-install: |
44 |
.for i in ${SBIN} |
42 |
.for i in ${SBIN} |
45 |
(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} ${PREFIX}/sbin) |
43 |
(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/sbin) |
46 |
.endfor |
44 |
.endfor |
47 |
(cd ${WRKSRC}/scripts && ${INSTALL_DATA} imapproxy.conf \ |
45 |
(cd ${WRKSRC}/scripts && ${INSTALL_DATA} imapproxy.conf \ |
48 |
${PREFIX}/etc/imapproxyd.conf.sample) |
46 |
${STAGEDIR}${PREFIX}/etc/imapproxyd.conf.sample) |
49 |
.if ${PORT_OPTIONS:MDOCS} |
47 |
.if ${PORT_OPTIONS:MDOCS} |
50 |
@${MKDIR} ${DOCSDIR} |
48 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
51 |
.for i in ${DOCS} |
49 |
.for i in ${DOCS} |
52 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) |
50 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) |
53 |
.endfor |
51 |
.endfor |
54 |
.endif |
52 |
.endif |
55 |
@${CAT} ${PKGMESSAGE} |
53 |
@${CAT} ${PKGMESSAGE} |