Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= amavisd-milter |
8 |
PORTNAME= amavisd-milter |
9 |
PORTVERSION= 1.2.1 |
9 |
PORTVERSION= 1.3.1 |
10 |
CATEGORIES= security mail |
10 |
CATEGORIES= security mail |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 48-66
Link Here
|
48 |
|
48 |
|
49 |
.include <bsd.port.pre.mk> |
49 |
.include <bsd.port.pre.mk> |
50 |
|
50 |
|
51 |
.if !defined(WITH_SENDMAIL_BASE) && \ |
51 |
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" |
52 |
!defined(WITH_SENDMAIL_PORT) && \ |
|
|
53 |
!exists(${LOCALBASE}/lib/libmilter.a) |
54 |
WITH_SENDMAIL_BASE=yes |
55 |
.endif |
56 |
|
52 |
|
57 |
.if defined(WITH_SENDMAIL_BASE) |
53 |
.if defined(WITH_SENDMAIL_BASE) && !exists(/usr/lib/libmilter.a) |
58 |
.if !exists(/usr/lib/libmilter.a) |
|
|
59 |
BROKEN= Base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes |
54 |
BROKEN= Base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes |
60 |
.endif |
55 |
.endif |
61 |
.else |
56 |
|
62 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail |
57 |
.if defined(WITH_SENDMAIL_PORT) |
63 |
CONFIGURE_ARGS+=--with-sendmail=${LOCALBASE} |
58 |
CONFIGURE_ARGS+=--with-sendmail=${MILTERBASE} |
64 |
.endif |
59 |
.endif |
65 |
|
60 |
|
66 |
post-install: |
61 |
post-install: |