mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
mail/spamass-ixhash: stage, cleanup, assign maintainer
PR: 191710 Submitted by: michael@ranner.eu
This commit is contained in:
parent
29a72c2f1e
commit
7125070179
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361369
@ -3,47 +3,36 @@
|
|||||||
|
|
||||||
PORTNAME= iXhash
|
PORTNAME= iXhash
|
||||||
PORTVERSION= 1.5.5
|
PORTVERSION= 1.5.5
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= SF/ixhash/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
|
MASTER_SITES= SF/ixhash/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
|
||||||
PKGNAMEPREFIX= spamass-
|
PKGNAMEPREFIX= spamass-
|
||||||
EXTRACT_SUFX= .tgz
|
EXTRACT_SUFX= .tgz
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= michael@ranner.eu
|
||||||
COMMENT= The iXhash plugin for SpamAssassin
|
COMMENT= Plugin for SpamAssassin supporting iXhash
|
||||||
|
|
||||||
|
LICENSE= APACHE20
|
||||||
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
RUN_DEPENDS= spamc:${PORTSDIR}/mail/spamassassin \
|
RUN_DEPENDS= spamc:${PORTSDIR}/mail/spamassassin \
|
||||||
p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
|
p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
|
||||||
p5-Net-DNS>=0.63:${PORTSDIR}/dns/p5-Net-DNS
|
p5-Net-DNS>=0.63:${PORTSDIR}/dns/p5-Net-DNS
|
||||||
|
|
||||||
LICENSE= APACHE20
|
OPTIONS_DEFINE= DOCS
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
||||||
SUB_FILES= pkg-message
|
|
||||||
NO_BUILD= yes
|
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:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e "s,/etc/mail,${LOCALBASE}/etc/mail," \
|
@${REINPLACE_CMD} -e "s,/etc/mail,${LOCALBASE}/etc/mail," \
|
||||||
${WRKSRC}/iXhash/iXhash.cf
|
${WRKSRC}/iXhash/iXhash.cf
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${INSTALL_DIR}
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail/spamassassin
|
||||||
${INSTALL_DATA} ${WRKSRC}/iXhash/iXhash.cf ${INSTALL_DIR}/iXhash.cf.sample
|
${INSTALL_DATA} ${WRKSRC}/iXhash/iXhash.cf ${STAGEDIR}${PREFIX}/etc/mail/spamassassin/iXhash.cf.sample
|
||||||
${INSTALL_DATA} ${WRKSRC}/iXhash/iXhash.pm ${INSTALL_DIR}
|
${INSTALL_DATA} ${WRKSRC}/iXhash/iXhash.pm ${STAGEDIR}${PREFIX}/etc/mail/spamassassin
|
||||||
.if !defined(NOPORTDOCS)
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${MKDIR} ${DOCSDIR}/
|
.for i in CHANGELOG LICENSE WHERE_ARE_THE_OTHER_FILES INSTALL README
|
||||||
. for i in ${PORTDOCS}
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
|
||||||
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
|
.endfor
|
||||||
. endfor
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-install:
|
|
||||||
@${CAT} ${PKGMESSAGE}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
*************************************************************************
|
|
||||||
|
|
||||||
iXhash is installed in %%PREFIX%%/etc/mail/spamassassin
|
|
||||||
|
|
||||||
*************************************************************************
|
|
8
mail/spamass-ixhash/pkg-plist
Normal file
8
mail/spamass-ixhash/pkg-plist
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
@sample etc/mail/spamassassin/iXhash.cf.sample
|
||||||
|
etc/mail/spamassassin/iXhash.pm
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/WHERE_ARE_THE_OTHER_FILES
|
||||||
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user