blob: d6656a475e37ea90bafe8df885963fab2f2187a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: TAOKA Fumiyoshi
# $FreeBSD$
PORTREVISION= 5
CATEGORIES= japanese mail perl5
PKGNAMEPREFIX= ja-p5-
MAINTAINER= masaki@club.kyutech.ac.jp
COMMENT= SpamAssassin with patches to handle multibyte character
LICENSE= APACHE20
MASTERDIR= ${.CURDIR}/../../mail/p5-Mail-SpamAssassin
RUN_DEPENDS+= ja-p5-MeCab>=0.98:${PORTSDIR}/japanese/p5-MeCab
CONFLICTS= p5-Mail-SpamAssassin-[0-9]*
EXTRA_PATCHES= ${.CURDIR}/files/spamassassin-3.3.2-ja-1.patch
PKGMESSAGE= ${.CURDIR}/pkg-message
PLIST= ${WRKDIR}/pkg-plist
TOKENIZER_PRE= tokenizer.pre
PLIST_SUB+= TOKENIZER_PRE=${TOKENIZER_PRE}
pre-install:
@${CAT} ${EXTRA_PATCHES:S/.patch/.plist/} > ${PLIST}
@${CAT} ${PKGDIR}/pkg-plist >> ${PLIST}
post-install::
@${CP} ${.CURDIR}/files/${TOKENIZER_PRE} ${STAGEDIR}${ETCDIR}/${TOKENIZER_PRE}.sample
.include "${MASTERDIR}/Makefile"
|