|
Lines 2-17
Link Here
|
| 2 |
# $FreeBSD: head/mail/proxsmtp/Makefile 308185 2012-12-04 04:25:38Z tabthorpe $ |
2 |
# $FreeBSD: head/mail/proxsmtp/Makefile 308185 2012-12-04 04:25:38Z tabthorpe $ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= proxsmtp |
4 |
PORTNAME= proxsmtp |
| 5 |
PORTVERSION= 1.8 |
5 |
PORTVERSION= 1.10 |
| 6 |
CATEGORIES= mail security |
6 |
CATEGORIES= mail security |
| 7 |
MASTER_SITES= http://memberwebs.com/stef/software/proxsmtp/ |
7 |
MASTER_SITES= http://thewalter.net/stef/software/proxsmtp/ |
| 8 |
|
8 |
|
| 9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
| 10 |
COMMENT= A flexible SMTP filter which can act also as transparent proxy |
10 |
COMMENT= Flexible SMTP filter which can act also as transparent proxy |
|
|
11 |
|
| 12 |
LICENSE= BSD |
| 11 |
|
13 |
|
| 12 |
USE_GMAKE= yes |
14 |
USE_GMAKE= yes |
| 13 |
GNU_CONFIGURE= yes |
15 |
GNU_CONFIGURE= yes |
| 14 |
CONFIGURE_ARGS+= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" |
16 |
MAKE_JOBS_SAFE= yes |
| 15 |
|
17 |
|
| 16 |
USE_RC_SUBR= proxsmtpd |
18 |
USE_RC_SUBR= proxsmtpd |
| 17 |
SUB_FILES= pkg-message |
19 |
SUB_FILES= pkg-message |
|
Lines 21-34
Link Here
|
| 21 |
|
23 |
|
| 22 |
PORTDOCS= ChangeLog NEWS README |
24 |
PORTDOCS= ChangeLog NEWS README |
| 23 |
|
25 |
|
|
|
26 |
post-patch: |
| 27 |
@${REINPLACE_CMD} -e \ |
| 28 |
'/^acx_pthread_flags/s|=.*|="${PTHREAD_LIBS}"|' \ |
| 29 |
${WRKSRC}/configure |
| 30 |
|
| 24 |
post-install: |
31 |
post-install: |
| 25 |
@${INSTALL_DATA} ${WRKSRC}/doc/proxsmtpd.conf ${PREFIX}/etc/proxsmtpd.conf-sample |
32 |
(cd ${WRKSRC}/doc && ${INSTALL_DATA} proxsmtpd.conf \ |
| 26 |
@if [ ! -f ${PREFIX}/etc/proxsmtpd.conf ]; then \ |
33 |
${PREFIX}/etc/proxsmtpd.conf-sample) |
| 27 |
${CP} -p ${PREFIX}/etc/proxsmtpd.conf-sample ${PREFIX}/etc/proxsmtpd.conf ; fi |
34 |
.if !exists(${PREFIX}/etc/proxsmtpd.conf) |
|
|
35 |
(cd ${PREFIX}/etc && ${CP} -p proxsmtpd.conf-sample \ |
| 36 |
${PREFIX}/etc/proxsmtpd.conf) |
| 37 |
.endif |
| 28 |
.if !defined(NOPORTDOCS) |
38 |
.if !defined(NOPORTDOCS) |
| 29 |
${MKDIR} ${DOCSDIR} |
39 |
@${MKDIR} ${DOCSDIR} |
| 30 |
.for docs in ${PORTDOCS} |
40 |
.for docs in ${PORTDOCS} |
| 31 |
@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} |
41 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${DOCSDIR}) |
| 32 |
.endfor |
42 |
.endfor |
| 33 |
.endif |
43 |
.endif |
| 34 |
@${CAT} ${PKGMESSAGE} |
44 |
@${CAT} ${PKGMESSAGE} |