Date: Mon, 6 Feb 2012 12:00:25 GMT From: Michael Scheidell <scheidell@FreeBSD.org> To: perl@FreeBSD.org Subject: Re: ports/164191: [maintainer update] Update japanese/p5-Mail-SpamAssassin Message-ID: <201202061200.q16C0Peu059888@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/164191; it has been noted by GNATS. From: Michael Scheidell <scheidell@FreeBSD.org> To: <bug-followup@FreeBSD.org>, <masaki@club.kyutech.ac.jp> 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. <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 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#ffffff" text="#000000"> this is actually not a slave port, <br> <br> you might want to look at some examples and the porters handbook.<br> <br> <a class="moz-txt-link-rfc2396E" href="http://www.freebsd.org/doc/en/books/porters-handbook/book.html#MAKEFILE-MASTERDIR"><http://www.freebsd.org/doc/en/books/porters-handbook/book.html#MAKEFILE-MASTERDIR></a><br> (which doesn't give you much information)<br> <br> you should have a VERY tiny Makefile, and only include the things in it that you need to override the master makefile.<br> <br> something like:<br> <tt><br> MAINTAINER= <a class="moz-txt-link-abbreviated" href="mailto:masaki@club.kyutech.ac.jp">masaki@club.kyutech.ac.jp</a><br> COMMENT= SpamAssassin with Japanese tokenizer<br> </tt> <pre><tt>MASTERDIR= ${.CURDIR}/../../mail/p5-Mail-SpamAssassin</tt></pre> <tt>CONFLICTS= p5-Mail-SpamAssassin-[0-9]*<br> </tt><br> <tt>DOCJA= ${PATCHFILES:S/.patch:JA/.txt/}<br> TOKENIZER_PRE= tokenizer.pre<br> </tt><br> for build and run depends that add to what english version needs, you would do something like:<br> <tt><br> </tt><br> <tt>RUN_DEPENDS+= ja-p5-MeCab>=0.98:${PORTSDIR}/japanese/p5-MeCab<br> </tt><br> you would need to deal with this:<br> <br> <br> @${CP} ${DISTDIR}/${DIST_SUBDIR}/${TOKENIZER_PRE} ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE}.sample<br> @[ -f ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE} ] || \<br> ${CP} ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE}.sample \<br> ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE}<br> <br> <br> <br> (you override anything different)<br> <br> again, please use ports@ to answer any questions<br> (note: I am submitting a couple more patches to p5-Mail-SpamAssassin to get it ready)<br> <br> <br> see some discussions here:<br> <br> <a class="moz-txt-link-rfc2396E" href="http://lists.freebsd.org/pipermail/freebsd-ports/2011-November/071333.html"><http://lists.freebsd.org/pipermail/freebsd-ports/2011-November/071333.html></a><br> <a class="moz-txt-link-rfc2396E" href="http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2007-March/115058.html"><http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2007-March/115058.html></a><br> <br> (note: mail/p5-Mail-SpamAssassin isn't totally ready to be a master yet)<br> <br> we both need to coordinate this. (wait for an updated version of mail/p5-Mail-SpamAssassin, v 1.148 or better)<br> <br> you really should join the <a class="moz-txt-link-abbreviated" href="mailto:ports@FreeBSD.org">ports@FreeBSD.org</a> mailing list and get some help.<br> <br> <br> <div class="moz-signature">-- <br> Michael Scheidell, CTO<br> <font color="#999999">></font><font color="#cc0000"> <b>| </b></font> SECNAP Network Security Corporation<br> d: +1.561.948.2259<br> w: <a class="moz-txt-link-freetext" href="http://people.freebsd.org/~scheidell">http://people.freebsd.org/~scheidell</a> </div> </body> </html> --------------070103060809030906060503--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202061200.q16C0Peu059888>