From owner-freebsd-perl@FreeBSD.ORG Mon Feb 6 12:00:25 2012 Return-Path: Delivered-To: perl@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C0591065673 for ; Mon, 6 Feb 2012 12:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2D0BD8FC12 for ; Mon, 6 Feb 2012 12:00:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q16C0PCJ059891 for ; Mon, 6 Feb 2012 12:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q16C0Peu059888; Mon, 6 Feb 2012 12:00:25 GMT (envelope-from gnats) Date: Mon, 6 Feb 2012 12:00:25 GMT Message-Id: <201202061200.q16C0Peu059888@freefall.freebsd.org> To: perl@FreeBSD.org From: Michael Scheidell Cc: Subject: Re: ports/164191: [maintainer update] Update japanese/p5-Mail-SpamAssassin X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Scheidell List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2012 12:00:25 -0000 The following reply was made to PR ports/164191; it has been noted by GNATS. From: Michael Scheidell To: , Cc: Subject: Re: ports/164191: [maintainer update] Update japanese/p5-Mail-SpamAssassin Date: Mon, 6 Feb 2012 06:56:21 -0500 --------------070103060809030906060503 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit this is actually not a slave port, you might want to look at some examples and the porters handbook. (which doesn't give you much information) you should have a VERY tiny Makefile, and only include the things in it that you need to override the master makefile. something like: MAINTAINER= masaki@club.kyutech.ac.jp COMMENT= SpamAssassin with Japanese tokenizer MASTERDIR= ${.CURDIR}/../../mail/p5-Mail-SpamAssassin CONFLICTS= p5-Mail-SpamAssassin-[0-9]* DOCJA= ${PATCHFILES:S/.patch:JA/.txt/} TOKENIZER_PRE= tokenizer.pre for build and run depends that add to what english version needs, you would do something like: RUN_DEPENDS+= ja-p5-MeCab>=0.98:${PORTSDIR}/japanese/p5-MeCab you would need to deal with this: @${CP} ${DISTDIR}/${DIST_SUBDIR}/${TOKENIZER_PRE} ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE}.sample @[ -f ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE} ] || \ ${CP} ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE}.sample \ ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE} (you override anything different) again, please use ports@ to answer any questions (note: I am submitting a couple more patches to p5-Mail-SpamAssassin to get it ready) see some discussions here: (note: mail/p5-Mail-SpamAssassin isn't totally ready to be a master yet) we both need to coordinate this. (wait for an updated version of mail/p5-Mail-SpamAssassin, v 1.148 or better) you really should join the ports@FreeBSD.org mailing list and get some help. -- Michael Scheidell, CTO >*| * SECNAP Network Security Corporation d: +1.561.948.2259 w: http://people.freebsd.org/~scheidell --------------070103060809030906060503 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit this is actually not a slave port,

you might want to look at some examples and the porters handbook.

<http://www.freebsd.org/doc/en/books/porters-handbook/book.html#MAKEFILE-MASTERDIR>
(which doesn't give you much information)

you should have a VERY tiny Makefile, and only include the things in it that you need to override the master makefile.

something like:

MAINTAINER=     masaki@club.kyutech.ac.jp
COMMENT=        SpamAssassin with Japanese tokenizer
MASTERDIR=	${.CURDIR}/../../mail/p5-Mail-SpamAssassin
CONFLICTS=      p5-Mail-SpamAssassin-[0-9]*

DOCJA=          ${PATCHFILES:S/.patch:JA/.txt/}
TOKENIZER_PRE=  tokenizer.pre

for build and run depends that add to what english version needs, you would do something like:


RUN_DEPENDS+= ja-p5-MeCab>=0.98:${PORTSDIR}/japanese/p5-MeCab

you would need to deal with this:

    
        @${CP} ${DISTDIR}/${DIST_SUBDIR}/${TOKENIZER_PRE} ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE}.sample
        @[ -f ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE} ] || \
                ${CP} ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE}.sample \
                        ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE}



(you override anything different)

again, please use ports@ to answer any questions
(note: I am submitting a couple more patches to p5-Mail-SpamAssassin to get it ready)


see some discussions here:

<http://lists.freebsd.org/pipermail/freebsd-ports/2011-November/071333.html>
<http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2007-March/115058.html>

(note:  mail/p5-Mail-SpamAssassin isn't totally ready to be a master yet)

we both need to coordinate this. (wait for an updated version of mail/p5-Mail-SpamAssassin, v 1.148 or better)

you really should join the ports@FreeBSD.org mailing list and get some help.


--
Michael Scheidell, CTO
> | SECNAP Network Security Corporation
d: +1.561.948.2259
w: http://people.freebsd.org/~scheidell
--------------070103060809030906060503--