1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/mail/spamass-ixhash/Makefile
Sunpoet Po-Chuan Hsieh 53d36410bd Remove Perl core modules
- While I'm here:
  - Add NO_ARCH
  - Use USES=tar:tgz
  - Convert to options target helper
- Bump PORTREVISION for dependency change

With hat:	perl
2017-06-21 18:53:25 +00:00

41 lines
1.0 KiB
Makefile

# Created by: Michael Ranner <michael@ranner.eu>
# $FreeBSD$
PORTNAME= iXhash
PORTVERSION= 1.5.5
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= SF/ixhash/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
PKGNAMEPREFIX= spamass-
MAINTAINER= michael@ranner.eu
COMMENT= Plugin for SpamAssassin supporting iXhash
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= spamc:mail/spamassassin \
p5-Net-DNS>=0.63:dns/p5-Net-DNS
OPTIONS_DEFINE= DOCS
NO_ARCH= yes
NO_BUILD= yes
USES= tar:tgz
post-patch:
@${REINPLACE_CMD} -e "s,/etc/mail,${LOCALBASE}/etc/mail," \
${WRKSRC}/iXhash/iXhash.cf
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail/spamassassin
${INSTALL_DATA} ${WRKSRC}/iXhash/iXhash.cf ${STAGEDIR}${PREFIX}/etc/mail/spamassassin/iXhash.cf.sample
${INSTALL_DATA} ${WRKSRC}/iXhash/iXhash.pm ${STAGEDIR}${PREFIX}/etc/mail/spamassassin
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in CHANGELOG LICENSE WHERE_ARE_THE_OTHER_FILES INSTALL README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>