Index: head/mail/dcc-dccd/Makefile =================================================================== --- head/mail/dcc-dccd/Makefile (revision 409589) +++ head/mail/dcc-dccd/Makefile (revision 409590) @@ -1,123 +1,124 @@ # Created by: Dean Hollister # $FreeBSD$ PORTNAME= dcc-dccd PORTVERSION= 1.3.158 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.dcc-servers.net/dcc/source/old/ \ ftp://ftp.dcc-servers.net/src/dcc/old/ \ LOCAL/mat/${PORTNAME} DISTNAME= dcc-${PORTVERSION} MAINTAINER= pkubaj@anongoth.pl COMMENT= Distributed Checksum Clearinghouse bulk email detector .if ! defined(PACKAGE_BUILDING) LICENSE= DCC LICENSE_NAME= DCC LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= no-pkg-sell no-dist-mirror no-pkg-mirror no-dist-sell .endif HAS_CONFIGURE= yes USES= gmake tar:Z OPTIONS_DEFINE= DCCIFD DCCD DCCGREY IPV6 ALT_HOME OPTIONS_DEFAULT= DCCIFD DCCM DCCD DCCGREY OPTIONS_GROUP= MILTER OPTIONS_GROUP_MILTER= DCCM PORTS_SENDMAIL DCCIFD_DESC= DCC interface daemon (for SpamAssassin etc) DCCM_DESC= DCC milter (for Sendmail only) DCCD_DESC= DCC server DCCGREY_DESC= DCC greylisting server ALT_HOME_DESC= DCC home in /var/dcc (see help) PORTS_SENDMAIL_DESC= Use ports Sendmail instead of base OPTIONS_SUB= yes ## User for DCC files and SUID binaries # DCCUSER?= dcc DCCGROUP?= dcc USERS= ${DCCUSER} GROUPS= ${DCCGROUP} PLIST_SUB+= DCCUSER="${DCCUSER}" DCCGROUP="${DCCGROUP}" SUB_FILES= pkg-install pkg-message SUB_LIST+= WRKSRC=${WRKSRC} DCCHOME=${DCCHOME} ## Use the configure script to explicitly set the locations of all files, ## in case the standard locations have been locally overridden ## Also, use a similar hack to USES=desthack. CONFIGURE_ARGS= --with-uid=${DCCUSER} \ --bindir=${PREFIX}/bin \ --mandir=${MANPREFIX}/man \ --with-installroot=\$${${DESTDIRNAME}} \ --with-configsuffix=.sample \ --with-make-cmd=${MAKE_CMD} ALT_HOME_CONFIGURE_ON= --libexecdir=${PREFIX}/dcc/libexec --with-cgibin=${PREFIX}/dcc/cgi-bin DCCM_CONFIGURE_ENABLE= dccm DCCM_USE= rc_subr=dccm -PORTS_SENDMAIL_BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail +PORTS_SENDMAIL_BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/libmilter PORTS_SENDMAIL_CONFIGURE_ON= --with-sendmail=yes DCCIFD_CONFIGURE_ENABLE= dccifd DCCIFD_USE= rc_subr=dccifd DCCD_CONFIGURE_ENABLE= server IPV6_CONFIGURE_OFF= --disable-IPv6 DCCD_USE= rc_subr=dccd DCCGREY_USE= rc_subr=dccgrey .include .if ${PORT_OPTIONS:MALT_HOME} DCCHOME= /var/dcc .else DCCHOME= ${PREFIX}/dcc .endif CONFIGURE_ARGS+= --homedir=${DCCHOME} ## dccm milter support # .if ${PORT_OPTIONS:MDCCM} .if !exists(/usr/lib/libmilter.a) && !exists(${LOCALBASE}/lib/libmilter.a) IGNORE= neither base system nor Ports version of Sendmail installed, cannot build milter .endif .if ! ${PORT_OPTIONS:MPORTS_SENDMAIL} && !exists(/usr/lib/libmilter.a) IGNORE= base system Sendmail not found or too old, rebuild with WITH_PORTS_SENDMAIL=yes or WITHOUT_DCCM=yes .endif .if ${PORT_OPTIONS:MPORTS_SENDMAIL} && !exists(${LOCALBASE}/lib/libmilter.a) IGNORE= ports Sendmail not found, rebuild with WITHOUT_PORTS_SENDMAIL=yes or WITHOUT_DCCM=yes .endif .if ! ${PORT_OPTIONS:MPORTS_SENDMAIL} MILTERBASE= /usr .else MILTERBASE?= ${LOCALBASE} .endif MILTERINC= ${MILTERBASE}/include MILTERLIB= ${MILTERBASE}/lib CPPFLAGS+= -I${MILTERINC} CFLAGS+= -I${MILTERINC} LDFLAGS+= -L${MILTERLIB} .endif .if ${PORT_OPTIONS:MDCCIFD} || ${PORT_OPTIONS:MDCCM} PLIST_SUB+= IFD_MILT="" .else PLIST_SUB+= IFD_MILT="@comment " .endif post-stage: @${MV} ${STAGEDIR}${PREFIX}/dcc/cgi-bin/footer-dist \ ${STAGEDIR}${PREFIX}/dcc/cgi-bin/footer.sample @${MV} ${STAGEDIR}${PREFIX}/dcc/cgi-bin/header-dist \ ${STAGEDIR}${PREFIX}/dcc/cgi-bin/header.sample .include Index: head/mail/milter-bogom/Makefile =================================================================== --- head/mail/milter-bogom/Makefile (revision 409589) +++ head/mail/milter-bogom/Makefile (revision 409590) @@ -1,56 +1,56 @@ # Created by: Victor Balada Diaz # $FreeBSD$ PORTNAME= bogom PORTVERSION= 1.9.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= http://www.usebox.net/jjm/bogom/ \ http://blackshell.usebox.net/bogom/ PKGNAMEPREFIX= milter- MAINTAINER= victor@bsdes.net COMMENT= Simple sendmail milter to interface bogofilter RUN_DEPENDS= bogofilter:${PORTSDIR}/mail/bogofilter .if !exists(/usr/lib/libmilter.so) -LIB_DEPENDS= libmilter.so:${PORTSDIR}/mail/sendmail +LIB_DEPENDS= libmilter.so:${PORTSDIR}/mail/libmilter LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include .endif MAKE_ARGS= CPPFLAGS="-DDEF_CONF=\\\"${PREFIX}/etc/bogom.conf\\\"" \ LIBS="-lmilter -lpthread" LDFLAGS="${LDFLAGS}" USE_RC_SUBR= milter-bogom SUB_FILES= pkg-message PLIST_FILES= sbin/bogom \ man/man8/bogom.8.gz \ etc/bogom.conf-example PORTDOCS= README CHANGELOG OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/bogom.8 ${REINPLACE_CMD} -e \ 's|/usr/local/bin/bogofilter|${LOCALBASE}/bin/bogofilter|g' \ ${WRKSRC}/bogom.8 \ ${WRKSRC}/bogom.conf-example \ ${WRKSRC}/milter.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bogom ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/bogom.8 ${STAGEDIR}${PREFIX}/man/man8/ ${INSTALL_DATA} ${WRKSRC}/bogom.conf-example ${STAGEDIR}${PREFIX}/etc/ do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include Index: head/mail/milter-skem/Makefile =================================================================== --- head/mail/milter-skem/Makefile (revision 409589) +++ head/mail/milter-skem/Makefile (revision 409590) @@ -1,42 +1,43 @@ # Created by: Mikhail Teterin # $FreeBSD$ PORTNAME= skem PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://virtual-estates.net/skem/ MAINTAINER= mi@aldan.algebra.com COMMENT= Cache earlier sendmail's verdicts for the relays .if !exists( /usr/include/libmilter/mfapi.h ) BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/libmilter CFLAGS+= -I${LOCALBASE}/include .endif USES= tar:bzip2 uidfix PLIST_FILES= sbin/skem \ man/man8/skem.8.gz OPTIONS_DEFINE= SKEM_NO_CLEANUP SKEM_NO_LOGWATCHER SKEM_NETINET6 SKEM_NETINET SKEM_NO_CLEANUP_DESC= Omit the auto-cleanup module SKEM_NO_LOGWATCHER_DESC= Omit the log-watching module SKEM_NETINET6_DESC= Support IPv6 addresses (not tested) SKEM_NETINET_DESC= Support IPv4 addresses OPTIONS_DEFAULT= SKEM_NETINET NO_WRKSUBDIR= yes .include .for o in ${PORT_OPTIONS:MSKEM_*} . if ${PORT_OPTIONS:M$o} MAKE_ARGS+= -D$o . endif .endfor post-patch: @${REINPLACE_CMD} -E 's/char[[:blank:]]+c;/int c;/' ${WRKSRC}/milter.c .include Index: head/mail/mimedefang/Makefile =================================================================== --- head/mail/mimedefang/Makefile (revision 409589) +++ head/mail/mimedefang/Makefile (revision 409590) @@ -1,94 +1,94 @@ # Created by: Andrey V. Pevnev # $FreeBSD$ PORTNAME= mimedefang PORTVERSION= 2.78 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= http://www.mimedefang.org/static/ \ http://fossies.org/linux/misc/ MAINTAINER= m.tsatsenko@gmail.com COMMENT= Milter based anti-spam and anti-virus filtering program LICENSE= GPLv2 BUILD_DEPENDS= \ p5-IO-stringy>=0:${PORTSDIR}/devel/p5-IO-stringy \ p5-MIME-Tools>=5.417:${PORTSDIR}/mail/p5-MIME-Tools \ p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \ p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \ spamassassin>=3.0:${PORTSDIR}/mail/spamassassin RUN_DEPENDS:= ${BUILD_DEPENDS} OPTIONS_DEFINE= CLAMAV EXAMPLES DOCS OPTIONS_DEFAULT= CLAMAV CLAMAV_DESC= Enable Clamav USES= perl5 shebangfix SHEBANG_FILES= script/mimedefang-util perl_OLD_CMD= perl GNU_CONFIGURE= yes MIMEDEFANG_USER?= mailnull MIMEDEFANG_GROUP?= mailnull SPOOLDIR?= /var/spool/MIMEDefang QUARANTINEDIR?= /var/spool/MD-Quarantine CONFIGURE_ENV+= PERL=${PERL} CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc \ --with-confsubdir=mimedefang \ --with-user=${MIMEDEFANG_USER} \ --with-spooldir=${SPOOLDIR} \ --with-quarantinedir=${QUARANTINEDIR} \ --with-ipheader \ --prefix=${PREFIX} SUB_FILES= pkg-message PLIST_SUB+= USER="${MIMEDEFANG_USER}" \ GROUP="${MIMEDEFANG_GROUP}" \ MIMEDEFANG_RUNDIR="${SPOOLDIR}" \ MIMEDEFANG_QUARANTINEDIR="${QUARANTINEDIR}" CONFIG_FILES= mimedefang-filter sa-mimedefang.cf mimedefang-ip-key .include .if !exists( /usr/include/libmilter/mfapi.h ) -BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail +BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/libmilter .endif .if exists( ${LOCALBASE}/include/libmilter/mfapi.h ) CONFIGURE_ARGS+= --with-milterinc=${LOCALBASE}/include --with-milterlib=${LOCALBASE}/lib .endif .if defined (MIMEDEFANG_DISABLE_CLAMAV) || ! ${PORT_OPTIONS:MCLAMAV} CONFIGURE_ARGS+= --disable-antivirus \ --disable-clamav \ --disable-clamd .else BUILD_DEPENDS+= clamscan:${PORTSDIR}/security/clamav RUN_DEPENDS+= clamscan:${PORTSDIR}/security/clamav .endif post-patch: @${REINPLACE_CMD} -e '/fgrep -e/d' ${WRKSRC}/configure pre-install: @${REINPLACE_CMD} -e '/LOCAL_STATE_DIR/s,/var/lib,/var/db,' ${WRKSRC}/mimedefang.pl post-install: @${REINPLACE_CMD} -e 's,%%CHMOD%%,${CHMOD},g' ${WRKSRC}/examples/init-script ${INSTALL_SCRIPT} ${WRKSRC}/examples/init-script ${STAGEDIR}${PREFIX}/etc/rc.d/mimedefang .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README* ${STAGEDIR}${DOCSDIR}/ .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/examples/ && ${INSTALL_DATA} stream-by-domain-filter \ suggested-minimum-filter-for-windows-clients README ${STAGEDIR}${EXAMPLESDIR}/ .endif .include Index: head/mail/py-milter/Makefile =================================================================== --- head/mail/py-milter/Makefile (revision 409589) +++ head/mail/py-milter/Makefile (revision 409590) @@ -1,32 +1,32 @@ # Created by: Vsevolod Lobko # $FreeBSD$ PORTNAME= milter PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail python MASTER_SITES= SF/${PYPORTNAME}/${PYPORTNAME}/${DISTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PYPORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python interface to Sendmail milter API LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING .if !exists(/usr/lib/libmilter.so) -LIB_DEPENDS= libmilter.so:${PORTSDIR}/mail/sendmail +LIB_DEPENDS= libmilter.so:${PORTSDIR}/mail/libmilter CFLAGS+= -I${LOCALBASE}/include .endif PYPORTNAME= ${PKGNAMEPREFIX:C/[0-9]+-//}${PORTNAME} DIST_SUBDIR= python USES= python:2 USE_PYTHON= distutils autoplist post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/milter.so .include Index: head/security/clamav/Makefile =================================================================== --- head/security/clamav/Makefile (revision 409589) +++ head/security/clamav/Makefile (revision 409590) @@ -1,213 +1,214 @@ # Created by: markun@onohara.to # $FreeBSD$ PORTNAME= clamav PORTVERSION= 0.99 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF MAINTAINER= garga@FreeBSD.org COMMENT= Command line virus scanner written entirely in C LICENSE= GPLv2 LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \ libcurl.so:${PORTSDIR}/ftp/curl OPTIONS_DEFINE= ARC ARJ LHA UNZOO UNRAR LLVM TESTS MILTER LDAP ICONV STDERR \ EXPERIMENTAL DOCS IPV6 DMG_XAR JSON PCRE ARC_DESC= Enable arch archives support ARJ_DESC= Enable arj archives support LHA_DESC= Enable lha archives support UNZOO_DESC= Enable zoo archives support UNRAR_DESC= Enable rar archives support LLVM_DESC= Enable JIT Bytecode compiler (bundled LLVM) TESTS_DESC= Run compile-time tests (req. python) MILTER_DESC= Compile the milter interface STDERR_DESC= Print logs to stderr instead of stdout EXPERIMENTAL_DESC= Build experimental code DMG_XAR_DESC= Enable DMG and XAR archives support OPTIONS_DEFAULT= ARC ARJ LHA UNZOO UNRAR LLVM DOCS IPV6 DMG_XAR \ JSON PCRE ARC_RUN_DEPENDS= arc:${PORTSDIR}/archivers/arc ARJ_RUN_DEPENDS= arj:${PORTSDIR}/archivers/arj LHA_RUN_DEPENDS= lha:${PORTSDIR}/archivers/lha UNZOO_RUN_DEPENDS= unzoo:${PORTSDIR}/archivers/unzoo JSON_LIB_DEPENDS= libjson-c.so:${PORTSDIR}/devel/json-c PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre UNRAR_CONFIGURE_ENABLE= unrar MILTER_CONFIGURE_ENABLE=milter TESTS_CONFIGURE_ENABLE= check JSON_CONFIGURE_WITH= libjson PCRE_CONFIGURE_WITH= pcre TESTS_BUILD_DEPENDS= ${LOCALBASE}/include/check.h:${PORTSDIR}/devel/libcheck ICONV_CONFIGURE_ON= --with-iconv ICONV_CONFIGURE_OFF= --without-iconv ICONV_USES= iconv EXPERIMENTAL_CONFIGURE_ENABLE= experimental IPV6_CONFIGURE_ENABLE= ipv6 DMG_XAR_CONFIGURE_ENABLE= xml DMG_XAR_USE= GNOME=libxml2 GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= cpe gmake libtool ncurses INSTALL_TARGET= install-strip USE_RC_SUBR= clamav-clamd clamav-freshclam PORTDOCS= * DBDIR= /var/db/clamav LOGDIR= /var/log/clamav RUNDIR= /var/run/clamav PLIST_SUB+= DBDIR=${DBDIR} \ LOGDIR=${LOGDIR} \ RUNDIR=${RUNDIR} \ CLAMAVUSER=${CLAMAVUSER} \ CLAMAVGROUP=${CLAMAVGROUP} PY_NO_THREAD= ${WRKDIR}/.python-has-no-threads OPTIONS_SUB= yes CONFIGURE_ARGS= --libdir=${PREFIX}/lib \ --with-dbdir=${DBDIR} \ --with-zlib=/usr \ --disable-clamuko \ --disable-clamav \ --enable-bigstack \ --enable-readdir_r \ --enable-gethostbyname_r \ --disable-dependency-tracking \ --enable-clamdtop CPPFLAGS+= -I${LOCALBASE}/include # This port has a problem with -pthread, # force to use -lthr until it's not fixed. LDFLAGS+= -lthr -L${LOCALBASE}/lib CONFLICTS?= clamav-milter-[0-9]* CLAMAVUSER?= clamav CLAMAVGROUP?= clamav CLAMAV_CLAMD_SOCKET?= ${RUNDIR}/clamd.sock CLAMAV_MILTER_SOCKET?= ${RUNDIR}/clmilter.sock SUB_FILES= pkg-deinstall SUB_LIST+= DBDIR=${DBDIR} \ LOGDIR=${LOGDIR} \ RUNDIR=${RUNDIR} \ CHMOD=${CHMOD} \ CHOWN=${CHOWN} \ CLAMAVUSER=${CLAMAVUSER} \ CLAMAVGROUP=${CLAMAVGROUP} \ CLAMAV_CLAMD_SOCKET=${CLAMAV_CLAMD_SOCKET} \ CLAMAV_MILTER_SOCKET=${CLAMAV_MILTER_SOCKET} SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' \ -e 's|^\#?((Update)?LogFile) .*/([a-z]+\.log)$$|\1 ${LOGDIR}/\3|' \ -e 's|^\#?(PidFile) .*/([a-z\-]+\.pid)$$|\1 ${RUNDIR}/\2|' \ -e 's|^\#?(LocalSocket) .*$$|\1 ${CLAMAV_CLAMD_SOCKET}|' \ -e 's|^\#?(User) .*$$|\1 ${CLAMAVUSER}|' \ -e 's|^\#?(AllowSupplementaryGroups).*$$|\1 yes|' \ -e 's|^\#?(ScanMail).*$$|\1 yes|' \ -e 's|^\#?(DatabaseDirectory) .*$$|\1 ${DBDIR}|' \ -e 's|^\#?(DatabaseOwner) .*$$|\1 ${CLAMAVUSER}|' \ -e 's|^\#?(FixStaleSocket).*$$|\1 yes|' \ -e 's|^\#?(NotifyClamd) .*$$|\1 ${PREFIX}/etc/clamd.conf|' \ -e 's|^\#?(MilterSocket) */tmp.*$$|\1 ${CLAMAV_MILTER_SOCKET}|' \ -e 's|^\#?(ClamdSocket).*$$|\1 unix:${CLAMAV_CLAMD_SOCKET}|' PLIST_SUB+= CLAMAVUSER=${CLAMAVUSER} \ CLAMAVGROUP=${CLAMAVGROUP} .include .if ${CLAMAVUSER} == "clamav" USERS= clamav .endif .if ${CLAMAVGROUP} == "clamav" GROUPS= clamav mail .endif .if ${PORT_OPTIONS:MLLVM} && ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) CONFIGURE_ARGS+=--enable-llvm . if ${PORT_OPTIONS:MTESTS} USES+= python:build . endif .else CONFIGURE_ARGS+=--disable-llvm .endif .if ${PORT_OPTIONS:MMILTER} USE_RC_SUBR+= clamav-milter . if ${PORT_OPTIONS:MLDAP} && exists(${LOCALBASE}/lib/libldap.so) USE_OPENLDAP= yes LDFLAGS+= -lldap . endif . if !exists(/usr/lib/libmilter.a) || exists(${LOCALBASE}/lib/libmilter.a) -BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail +BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/libmilter CONFIGURE_ARGS+=--with-sendmail=${LOCALBASE}/sbin/sendmail LDFLAGS+= -L${LOCALBASE}/lib . else CONFIGURE_ARGS+=--with-sendmail=/usr/sbin/sendmail . endif .endif .if ${PORT_OPTIONS:MSTDERR} EXTRA_PATCHES+= ${FILESDIR}/extra-patch-shared_output.c .endif .include .if ${ARCH} == "i386" CFLAGS+= -march=i486 .endif post-patch: @${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lthr|g' \ -e 's|LC_REVISION=22|LC_REVISION=24|' \ ${WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -e 's,^\(pkgconfigdir = \).*$$,\1$$\(prefix\)/libdata/pkgconfig,g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} ${SED_CONF} \ ${WRKSRC}/etc/clamd.conf.sample \ ${WRKSRC}/etc/freshclam.conf.sample \ ${WRKSRC}/etc/clamav-milter.conf.sample @${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \ ${WRKSRC}/libclamunrar/unrar.c .if ${PORT_OPTIONS:MLLVM} && ${PORT_OPTIONS:MTESTS} pre-configure: @if ! ${PYTHON_CMD} -c "import thread" >/dev/null 2>&1; then \ ${ECHO_MSG} ""; \ ${ECHO_MSG} "==========================================================================="; \ ${ECHO_MSG} "= Unit tests REQUIRES python built with thread support, and yours is not. ="; \ ${ECHO_MSG} "= It will not be called during this build ="; \ ${ECHO_MSG} "==========================================================================="; \ ${ECHO_MSG} ""; \ ${TOUCH} ${PY_NO_THREAD}; \ fi .endif .if ${PORT_OPTIONS:MTESTS} post-build: @if [ ! -f "${PY_NO_THREAD}" ]; then \ ${MAKE_CMD} -C ${WRKSRC} check; \ fi .endif post-install: ${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${STAGEDIR}${PREFIX}/include @${MKDIR} ${STAGEDIR}${DOCSDIR}/html \ ${STAGEDIR}${DBDIR} \ ${STAGEDIR}${LOGDIR} \ ${STAGEDIR}${RUNDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/html/* ${STAGEDIR}${DOCSDIR}/html .include