openbsd-ports/mail/amavisd-new/Makefile
2011-05-24 16:04:16 +00:00

85 lines
2.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.22 2011/05/24 16:04:16 giovanni Exp $
COMMENT= interface between mailer MTA and content checkers
DISTNAME= amavisd-new-2.6.6
CATEGORIES= mail security
HOMEPAGE= http://www.ijs.si/software/amavisd/
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE} \
http://mirrors.catpipe.net/amavisd-new/ \
http://mirror.mainloop.se/amavisd/ \
http://mirror.cedratnet.com/amavisd-new/ \
http://mirror.omroep.nl/amavisd-new/
RUN_DEPENDS= archivers/arc \
archivers/bzip2 \
archivers/cabextract \
archivers/lha \
archivers/lzop \
archivers/p5-Archive-Zip>=1.14 \
archivers/p7zip,-rar \
archivers/ripole \
archivers/unzip \
archivers/zoo \
converters/p5-Convert-TNEF \
rpm2cpio-*|rpm-*:converters/rpm2cpio \
converters/p5-Convert-UUlib>=1.05 \
databases/p5-BerkeleyDB \
devel/p5-Net-Server \
mail/p5-Mail-SpamAssassin \
mail/p5-Mail-DKIM>=0.31 \
mail/p5-MIME-tools \
net/net-snmp,-perl \
security/clamav \
sysutils/p5-Unix-Syslog
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/amavisd ${PREFIX}/sbin/amavisd
${INSTALL_SCRIPT} ${WRKSRC}/amavisd-agent \
${PREFIX}/bin/amavisd-agent
${INSTALL_SCRIPT} ${WRKSRC}/amavisd-nanny \
${PREFIX}/bin/amavisd-nanny
${INSTALL_SCRIPT} ${WRKSRC}/amavisd-release \
${PREFIX}/bin/amavisd-release
${INSTALL_SCRIPT} ${WRKSRC}/amavisd-snmp-subagent \
${PREFIX}/bin/amavisd-snmp-subagent
${INSTALL_SCRIPT} ${WRKSRC}/p0f-analyzer.pl \
${PREFIX}/bin/p0f-analyzer.pl
${INSTALL_DATA} ${WRKSRC}/JpegTester.pm \
${PREFIX}/libdata/perl5/site_perl/JpegTester.pm
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/amavisd-new
${INSTALL_DATA} ${WRKSRC}/AAAREADME.first \
${PREFIX}/share/doc/amavisd-new
${INSTALL_DATA} ${WRKSRC}/AMAVIS-MIB.txt ${PREFIX}/share/doc/amavisd-new
${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/amavisd-new
${INSTALL_DATA} ${WRKSRC}/LDAP.schema ${PREFIX}/share/doc/amavisd-new
${INSTALL_DATA} ${WRKSRC}/LDAP.ldif ${PREFIX}/share/doc/amavisd-new
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/amavisd-new
${INSTALL_DATA} ${WRKSRC}/MANIFEST ${PREFIX}/share/doc/amavisd-new
${INSTALL_DATA} ${WRKSRC}/README_FILES/README.* \
${PREFIX}/share/doc/amavisd-new
${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES ${PREFIX}/share/doc/amavisd-new
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/amavisd-new
${INSTALL_DATA} ${WRKSRC}/amavisd.conf \
${PREFIX}/share/examples/amavisd-new/amavisd.conf
${INSTALL_DATA} ${WRKSRC}/amavisd.conf-default \
${PREFIX}/share/examples/amavisd-new/amavisd.conf-default
${INSTALL_DATA} ${WRKSRC}/amavisd.conf-sample \
${PREFIX}/share/examples/amavisd-new/amavisd.conf-sample
.include <bsd.port.mk>