Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= imapproxy |
8 |
PORTNAME= imapproxy |
9 |
PORTVERSION= 1.2.4 |
9 |
PORTVERSION= 1.2.4 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= mail |
11 |
CATEGORIES= mail |
11 |
MASTER_SITES= http://www.imapproxy.org/downloads/ |
12 |
MASTER_SITES= http://www.imapproxy.org/downloads/ |
12 |
PKGNAMEPREFIX= up- |
13 |
PKGNAMEPREFIX= up- |
Lines 15-32
Link Here
|
15 |
MAINTAINER= mbr@FreeBSD.org |
16 |
MAINTAINER= mbr@FreeBSD.org |
16 |
COMMENT= A caching IMAP proxy server |
17 |
COMMENT= A caching IMAP proxy server |
17 |
|
18 |
|
18 |
USE_REINPLACE= YES |
|
|
19 |
GNU_CONFIGURE= YES |
19 |
GNU_CONFIGURE= YES |
20 |
USE_RC_SUBR= imapproxyd.sh |
20 |
USE_RC_SUBR= imapproxyd.sh |
21 |
|
21 |
|
|
|
22 |
# Required by ".if !exists()" |
23 |
.include <bsd.port.pre.mk> |
24 |
|
22 |
post-patch: |
25 |
post-patch: |
23 |
@${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g; s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure |
26 |
@${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" \ |
|
|
27 |
-e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure |
24 |
|
28 |
|
25 |
post-install: |
29 |
post-install: |
26 |
${INSTALL} -m 644 -c ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf.default |
30 |
${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf.default |
27 |
. if !exists(${PREFIX}/etc/imapproxyd.conf) |
31 |
.if !exists(${PREFIX}/etc/imapproxyd.conf) |
28 |
${INSTALL} -m 644 -c ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf |
32 |
${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf |
29 |
. endif |
33 |
.endif |
30 |
@${CAT} ${PKGMESSAGE} |
34 |
@${CAT} ${PKGMESSAGE} |
31 |
|
35 |
|
32 |
.include <bsd.port.mk> |
36 |
.include <bsd.port.post.mk> |