1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/mail/spamass-ixhash/Makefile
Olli Hauer 4fb1cfb1cd - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20
- add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk
- add entry in UPDATING
- bulk change all ports AL2 => APACHE20

- math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4

PR:		ports/184785
Submitted by:	ohauer
Reviewed by:	tabthorpe
Approved by:	portmgr (tabthorpe@)
2013-12-30 20:55:18 +00:00

50 lines
1.3 KiB
Makefile

# Created by: Michael Ranner <michael@ranner.eu>
# $FreeBSD$
PORTNAME= iXhash
PORTVERSION= 1.5.5
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF/ixhash/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
PKGNAMEPREFIX= spamass-
EXTRACT_SUFX= .tgz
MAINTAINER= michael@ranner.eu
COMMENT= The iXhash plugin for SpamAssassin
RUN_DEPENDS= spamc:${PORTSDIR}/mail/p5-Mail-SpamAssassin \
p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
p5-Net-DNS>=0.63:${PORTSDIR}/dns/p5-Net-DNS
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
SUB_FILES= pkg-message
NO_BUILD= yes
SPAMASS_CONF= etc/mail/spamassassin
SPAMASS_FILES= iXhash.cf iXhash.pm
INSTALL_DIR= ${PREFIX}/${SPAMASS_CONF}
PORTDOCS= CHANGELOG LICENSE WHERE_ARE_THE_OTHER_FILES INSTALL README
PLIST_FILES= ${SPAMASS_CONF}/iXhash.cf.sample ${SPAMASS_CONF}/iXhash.pm
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s,/etc/mail,${LOCALBASE}/etc/mail," \
${WRKSRC}/iXhash/iXhash.cf
do-install:
@${MKDIR} ${INSTALL_DIR}
${INSTALL_DATA} ${WRKSRC}/iXhash/iXhash.cf ${INSTALL_DIR}/iXhash.cf.sample
${INSTALL_DATA} ${WRKSRC}/iXhash/iXhash.pm ${INSTALL_DIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/
. for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
. endfor
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>