Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= imapproxy |
8 |
PORTNAME= imapproxy |
9 |
PORTVERSION= 1.2.4 |
9 |
PORTVERSION= 1.2.6 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= mail |
10 |
CATEGORIES= mail |
12 |
MASTER_SITES= http://www.imapproxy.org/downloads/ |
11 |
MASTER_SITES= http://www.imapproxy.org/downloads/ |
13 |
PKGNAMEPREFIX= up- |
12 |
PKGNAMEPREFIX= up- |
Lines 19-33
Link Here
|
19 |
GNU_CONFIGURE= YES |
18 |
GNU_CONFIGURE= YES |
20 |
USE_RC_SUBR= imapproxyd.sh |
19 |
USE_RC_SUBR= imapproxyd.sh |
21 |
|
20 |
|
|
|
21 |
DOCS= COPYING ChangeLog README README.debian \ |
22 |
README.known_issues README.ssl |
23 |
SBINS= in.imapproxyd pimpstat |
24 |
|
25 |
SUB_FILES= pkg-message |
26 |
|
22 |
post-patch: |
27 |
post-patch: |
23 |
${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" \ |
28 |
${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" \ |
24 |
-e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure |
29 |
-e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure |
25 |
|
30 |
|
26 |
post-install: |
31 |
do-install: |
27 |
${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf.default |
32 |
.if !defined(NOPORTDOCS) |
28 |
.if !exists(${PREFIX}/etc/imapproxyd.conf) |
33 |
@${MKDIR} ${DOCSDIR} |
29 |
${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf |
34 |
@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR} |
30 |
.endif |
35 |
.endif |
|
|
36 |
@${INSTALL_PROGRAM} ${SBINS:S,^,${WRKSRC}/bin/,} ${PREFIX}/sbin |
37 |
@${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf.sample |
31 |
@${CAT} ${PKGMESSAGE} |
38 |
@${CAT} ${PKGMESSAGE} |
32 |
|
39 |
|
33 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |