Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= spamdyke |
8 |
PORTNAME= spamdyke |
9 |
PORTVERSION= 3.1.8 |
9 |
PORTVERSION= 4.0.2 |
10 |
CATEGORIES= mail |
10 |
CATEGORIES= mail |
11 |
MASTER_SITES= http://www.spamdyke.org/releases/ |
11 |
MASTER_SITES= http://www.spamdyke.org/releases/ |
12 |
EXTRACT_SUFX= .tgz |
12 |
EXTRACT_SUFX= .tgz |
Lines 14-20
Link Here
|
14 |
MAINTAINER= peter@kieser.ca |
14 |
MAINTAINER= peter@kieser.ca |
15 |
COMMENT= A filter for monitoring and intercepting SMTP connections on qmail |
15 |
COMMENT= A filter for monitoring and intercepting SMTP connections on qmail |
16 |
|
16 |
|
17 |
BUILD_DEPENDS= ${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp |
|
|
18 |
RUN_DEPENDS= ${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp |
17 |
RUN_DEPENDS= ${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp |
19 |
|
18 |
|
20 |
WRKSRC= ${WRKDIR}/${DISTNAME}/spamdyke |
19 |
WRKSRC= ${WRKDIR}/${DISTNAME}/spamdyke |
Lines 26-32
Link Here
|
26 |
|
25 |
|
27 |
PLIST_FILES= bin/spamdyke |
26 |
PLIST_FILES= bin/spamdyke |
28 |
|
27 |
|
29 |
OPTIONS= TLS "Enable TLS support" On |
28 |
OPTIONS= TLS "Enable TLS support" On \ |
|
|
29 |
DEBUG "Enable debugging output" Off \ |
30 |
DEBUG_EXCESSIVE "Enable excessive debugging output" Off |
30 |
|
31 |
|
31 |
.include <bsd.port.pre.mk> |
32 |
.include <bsd.port.pre.mk> |
32 |
|
33 |
|
Lines 36-46
Link Here
|
36 |
CONFIGURE_ARGS+= --enable-tls |
37 |
CONFIGURE_ARGS+= --enable-tls |
37 |
.endif |
38 |
.endif |
38 |
|
39 |
|
|
|
40 |
.if defined(WITH_DEBUG) |
41 |
CONFIGURE_ARGS+= --with-debug-output |
42 |
.else |
43 |
CONFIGURE_ARGS+= --without-debug-output |
44 |
.endif |
45 |
|
46 |
.if defined(WITH_DEBUG_EXCESSIVE) |
47 |
CONFIGURE_ARGS+= --with-excessive-output |
48 |
.else |
49 |
CONFIGURE_ARGS+= without-excessive-output |
50 |
.endif |
51 |
|
39 |
.if !defined(NOPORTDOCS) |
52 |
.if !defined(NOPORTDOCS) |
40 |
PORTDOCS= Changelog.txt FAQ.html GNUGPL.txt INSTALL.txt \ |
53 |
PORTDOCS= Changelog.txt FAQ.html GNUGPL.txt INSTALL.txt \ |
41 |
README.html README_ip_file_format.html \ |
54 |
README.html README_ip_file_format.html \ |
42 |
README_rdns_directory_format.html README_rdns_file_format.html \ |
55 |
README_rdns_directory_format.html README_rdns_file_format.html \ |
43 |
UPGRADING.txt |
56 |
UPGRADING.txt UPGRADING_version_3_to_version_4.txt TODO.txt |
44 |
.endif |
57 |
.endif |
45 |
|
58 |
|
46 |
post-install: |
59 |
post-install: |
Lines 48-53
Link Here
|
48 |
@${MKDIR} ${DOCSDIR} |
61 |
@${MKDIR} ${DOCSDIR} |
49 |
cd ${WRKDIR}/${DISTNAME}/documentation && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} |
62 |
cd ${WRKDIR}/${DISTNAME}/documentation && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} |
50 |
.endif |
63 |
.endif |
|
|
64 |
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/documentation/spamdyke.conf.example ${PREFIX}/etc |
51 |
|
65 |
|
52 |
post-patch: |
66 |
post-patch: |
53 |
@${REINPLACE_CMD} -e 's#^CFLAGS :=.*#CFLAGS = ${CFLAGS}#' ${WRKSRC}/Makefile.in |
67 |
@${REINPLACE_CMD} -e 's#^CFLAGS :=.*#CFLAGS = ${CFLAGS}#' ${WRKSRC}/Makefile.in |