Lines 6-17
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= qsheff-II |
8 |
PORTNAME= qsheff-II |
9 |
PORTVERSION= 2.1.r2 |
9 |
PORTVERSION= 2.1.r3 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= mail |
10 |
CATEGORIES= mail |
12 |
MASTER_SITES= http://www.enderunix.org/qsheff/ \ |
11 |
MASTER_SITES= http://www.enderunix.org/qsheff/ \ |
13 |
${MASTER_SITE_SOURCEFORGE} |
12 |
SF/qsheff |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
|
15 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-r/} |
13 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-r/} |
16 |
|
14 |
|
17 |
MAINTAINER= ozkan@enderunix.org |
15 |
MAINTAINER= ozkan@enderunix.org |
Lines 19-46
Link Here
|
19 |
|
17 |
|
20 |
BUILD_DEPENDS= ${LOCALBASE}/bin/ripmime:${PORTSDIR}/mail/ripmime |
18 |
BUILD_DEPENDS= ${LOCALBASE}/bin/ripmime:${PORTSDIR}/mail/ripmime |
21 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
19 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
22 |
USE_QMAIL= yes |
|
|
23 |
|
20 |
|
24 |
GNU_CONFIGURE= YES |
21 |
GNU_CONFIGURE= YES |
25 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
22 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
26 |
|
23 |
|
27 |
PORTDOCS= README COPYING AUTHORS ChangeLog \ |
24 |
USE_QMAIL= yes |
28 |
INSTALL UPGRADE THANKS TODO |
|
|
29 |
|
25 |
|
30 |
OPTIONS= CLAMAV "Integrate with Clam AntiVirus" on \ |
26 |
DOCS= README COPYING AUTHORS ChangeLog INSTALL THANKS TODO |
31 |
SPAMTAG "Enable Spam Tagging" off \ |
27 |
EXAMPLES= sample-OK.msg sample-SPAM.msg sample-VIRUS.msg |
32 |
VIRUSTAG "Enable Virus Tagging" off \ |
28 |
CONTRIB= README qq-custom-error-patch.diff qq-patch.diff \ |
33 |
DISABLELOCAL "Disable Filters For Local Users" off \ |
29 |
qsheff-patch.diff |
34 |
SYSLOG "Enable Syslog Logging" off \ |
30 |
FILES= handbook.en.txt handbook.tr.txt spamass-qsheff.en.html |
35 |
BACKUP "Enable Logging Incoming/Outgoing Mail" off \ |
|
|
36 |
CUSTOMERROR "Enable Custom Error Patch" off \ |
37 |
DEBUG "Enable Debug Messages" off \ |
38 |
|
31 |
|
39 |
CONFIGURE_ARGS+= --with-qmaildir=${QMAIL_PREFIX} |
32 |
CONFIGURE_ARGS+= --with-qmaildir=${QMAIL_PREFIX} |
40 |
|
33 |
|
|
|
34 |
OPTIONS= CLAMAV "Integrate with Clam AntiVirus" on \ |
35 |
SPAMTAG "Enable Spam Tagging" off \ |
36 |
VIRUSTAG "Enable Virus Tagging" off \ |
37 |
DISABLELOCAL "Disable Filters For Local Users" off \ |
38 |
SYSLOG "Enable Syslog Logging" off \ |
39 |
BACKUP "Enable Logging Incoming/Outgoing Mail" off \ |
40 |
CUSTOMERROR "Enable Custom Error Patch" off \ |
41 |
DEBUG "Enable Debug Messages" off |
42 |
|
41 |
.include <bsd.port.pre.mk> |
43 |
.include <bsd.port.pre.mk> |
42 |
|
44 |
|
43 |
.if !defined(WITHOUT_CLAMAV) |
45 |
.if defined(WITH_CLAMAV) |
44 |
RUN_DEPENDS+= ${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav |
46 |
RUN_DEPENDS+= ${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav |
45 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav |
47 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav |
46 |
CONFIGURE_ARGS+= --with-clamav |
48 |
CONFIGURE_ARGS+= --with-clamav |
Lines 89-102
Link Here
|
89 |
${WRKSRC}/etc/qsheff.conf-default |
91 |
${WRKSRC}/etc/qsheff.conf-default |
90 |
.endif |
92 |
.endif |
91 |
|
93 |
|
92 |
post-install: |
94 |
do-install: |
93 |
@${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR} |
95 |
.if !defined(NOPORTDOCS) |
94 |
@${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR} |
96 |
@${MKDIR} ${DOCSDIR}/doc |
95 |
@${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR} |
97 |
@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ |
96 |
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |
98 |
@${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/doc/ |
97 |
@${INSTALL_DATA} ${WRKSRC}/THANKS ${DOCSDIR} |
99 |
@${MKDIR} ${EXAMPLESDIR}/contrib |
98 |
@${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR} |
100 |
@${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/samples/,} ${EXAMPLESDIR}/ |
99 |
@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} |
101 |
@${INSTALL_DATA} ${CONTRIB:S,^,${WRKSRC}/contrib/,} ${EXAMPLESDIR}/contrib |
100 |
@touch ${DOCSDIR}/UPGRADE |
102 |
.endif |
|
|
103 |
@${MKDIR} ${ETCDIR} |
104 |
@${INSTALL_DATA} ${ETCFILES:S,^,${WRKSRC}/etc/,} ${ETCDIR}/ |
105 |
@${INSTALL_SCRIPT} ${WRKSRC}/src/qsheff ${PREFIX}/bin/qsheff |
101 |
|
106 |
|
102 |
.include <bsd.port.post.mk> |
107 |
.include <bsd.port.post.mk> |