# New ports collection makefile for: drweb_postfix # Date created: 5 December 2002 # Whom: zhuravlev alexander # # $FreeBSD$ # PORTNAME= drweb-postfix PORTVERSION= 4.33 PORTREVISION= 2 CATEGORIES= security mail MASTER_SITES= ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/61/:f61 \ ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/55/:f55 \ ftp://ftp.drweb.com/pub/drweb/unix/FreeBSD/411/:f411 \ http://freebsd.spectrum.ru/distfiles/drweb/:f61,f55,f411 DIST_SUBDIR= drweb MAINTAINER= support@spectrum.ru COMMENT= Postfix message filter for virus processing through DrWeb daemon RUN_DEPENDS= ${LOCALBASE}/drweb/drwebd:${PORTSDIR}/security/drweb IA32_BINARY_PORT= yes NO_BUILD= yes .include .if ${OSVERSION} < 500000 DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd411 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:f411 .elif ${OSVERSION} >= 601000 DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd61 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:f61 .else DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd55 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:f55 .endif WRKSRC= ${WRKDIR}/${PORTNAME} INST_PREFIX= ${PREFIX}/drweb CONF_PREFIX= ${PREFIX}/etc/drweb LANGS= en en-pl en-ru CONFS= addresses drweb_postfix users viruses TMPLS= admin_archive admin_cured admin_error admin_license admin_malware \ admin_rule admin_virus rcpts_malware rcpts_virus sender_archive \ sender_cured sender_error sender_malware sender_skip sender_virus do-install: ${INSTALL_PROGRAM} -m 0750 -o drweb -g drweb \ ${WRKSRC}${LOCALBASE}/drweb/drweb-postfix.static ${INST_PREFIX}/drweb-postfix .for CONF in ${CONFS} ${INSTALL_DATA} -m 0640 -o drweb -g drweb \ ${WRKSRC}${LOCALBASE}/etc/drweb/${CONF}.conf \ ${CONF_PREFIX}/${CONF}.conf-distr .if !exists( ${CONF_PREFIX}/${CONF}.conf ) ${CP} ${CONF_PREFIX}/${CONF}.conf-distr ${CONF_PREFIX}/${CONF}.conf .endif .endfor .for LANG in ${LANGS} ${MKDIR} ${CONF_PREFIX}/templates/${LANG}/postfix .endfor .for LANG in ${LANGS} .for TMPL in ${TMPLS} ${INSTALL} -m 0640 -o drweb -g drweb ${WRKSRC}${LOCALBASE}/etc/drweb/templates/${LANG}/${TMPL}.msg \ ${CONF_PREFIX}/templates/${LANG}/postfix/${TMPL}.msg-distr .if !exists( ${CONF_PREFIX}/templates/${LANG}/postfix/${TMPL}.msg ) ${CP} ${CONF_PREFIX}/templates/${LANG}/postfix/${TMPL}.msg-distr \ ${CONF_PREFIX}/templates/${LANG}/postfix/${TMPL}.msg .endif .endfor .endfor post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${TAR} -cf - -C ${WRKSRC}/usr/local/drweb/doc/postfix . | \ ${TAR} -xf - -C ${DOCSDIR} --exclude "configure*" .endif @${ECHO} @${ECHO} "Read documentation about additional Postfix tuning needed" @${ECHO} "in ${DOCSDIR}." @${ECHO} .include 'dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Bump PORTREVISION for ports depending on the canonical version of GCCgerald2018-12-121-1/+1
* Add missing USES=compiler:c++11-langriggs2018-11-041-1/+2
* - Fix LICENSEamdmi32018-08-062-3/+3
* Update to upstream version 1.3.6riggs2018-04-233-7/+10
* Update to upstream release 1.3.5, fetch distfile from Githubriggs2017-08-19