1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Update to 1.0

PR:		62460
Submitted by:	Kimura Fuyuki <fuyuki@nigredo.org>
This commit is contained in:
Yen-Ming Lee 2004-02-07 06:13:24 +00:00
parent 79644f5967
commit e871092015
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100223
4 changed files with 38 additions and 14 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= scmail
PORTVERSION= 0.2
PORTVERSION= 1.0
CATEGORIES= mail
MASTER_SITES= http://www.namazu.org/~satoru/scmail/
@ -14,16 +14,27 @@ MAINTAINER= fuyuki@nigredo.org
COMMENT= A mail filter written in Scheme
BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche
RUN_DEPENDS= ${BUILD_DEPENDS}
RUN_DEPENDS= ${LOCALBASE}/share/gauche/${GAUCHE_VER}/lib/dbm/gdbm.scm:${PORTSDIR}/databases/gauche-gdbm
USE_REINPLACE= yes
MAKE_ARGS= PREFIX="${PREFIX}" DATADIR="${EXAMPLESDIR}"
post-patch:
${REINPLACE_CMD} -e "s|cp -p|${CP}|g" ${WRKSRC}/Makefile
.if !defined(NOPORTDOCS)
PORTDOCS= scbayes-ja.html scbayes.html scmail-ja.html scmail.html
.endif
pre-install:
${MKDIR} `gauche-config --sitelibdir`
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/gauche-config)
GAUCHE_VER!= gauche-config -V
.else
GAUCHE_VER= none
.endif
post-patch:
${REINPLACE_CMD} -E -e "s,cp -f?p,${CP},g;s,/dot.scmail,," \
${WRKSRC}/Makefile
${TOUCH} ${WRKSRC}/scmail/bayesian-filter.scm.in
post-install:
.if !defined(NOPORTDOCS)
@ -31,4 +42,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (scmail-0.2.tar.gz) = 0c3b7c7757c659fa0d8ed99e1c760807
MD5 (scmail-1.0.tar.gz) = db4b2744303f8e2cd5a82b2815daa3c7
SIZE (scmail-1.0.tar.gz) = 54275

View File

@ -1,4 +1,12 @@
scmail is a mail filter written in Scheme. scmail can filter an
incoming mail when it is received and filter mails in a mailbox.
* Written simply in Scheme.
* scmail supports MH and Maildir mailboxes.
* Simple filtering rules can be written in S-expressions.
* Advanced filtering rules can be written in Scheme programs.
* scmail can filter an incoming mail when it is received (like procmail).
* scmail can filter mails in a mailbox.
* spam filter (scbayes) is included. (now testing)
WWW: http://www.namazu.org/~satoru/scmail/

View File

@ -1,10 +1,14 @@
bin/scbayes
bin/scmail-deliver
bin/scmail-refile
share/gauche/site/lib/scmail.scm
%%EXAMPLESDIR%%/scmailrc-deliver.sample
%%EXAMPLESDIR%%/scmailrc-refile.sample
%%EXAMPLESDIR%%/scmailrc.sample
share/gauche/site/lib/scmail/bayesian-filter.scm
share/gauche/site/lib/scmail/config.scm
share/gauche/site/lib/scmail/mail.scm
share/gauche/site/lib/scmail/progress.scm
share/gauche/site/lib/scmail/util.scm
@dirrm share/gauche/site/lib/scmail
%%EXAMPLESDIR%%/config.sample
%%EXAMPLESDIR%%/deliver-rules.sample
%%EXAMPLESDIR%%/refile-rules.sample
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/scmail-ja.html
%%PORTDOCS%%%%DOCSDIR%%/scmail.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%