diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2005-12-17 16:37:37 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2005-12-17 16:37:37 +0000 |
commit | e8661627ec84feb23bf2aefe7bdfbda390eaf2ba (patch) | |
tree | f64b53c0747b3711d8a6dd54b7150556bedc00fa /japanese | |
parent | 7439ba1d9fa183f4983f766cc8ae20b90d925194 (diff) | |
download | FreeBSD-ports-e8661627ec84feb23bf2aefe7bdfbda390eaf2ba.zip FreeBSD-ports-e8661627ec84feb23bf2aefe7bdfbda390eaf2ba.tar.gz |
Add ja-trac-0.9.2 (translated version of www/trac).
Repocopied by: marcus (ports/90472)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/trac/Makefile | 15 | ||||
-rw-r--r-- | japanese/trac/distinfo | 6 | ||||
-rw-r--r-- | japanese/trac/files/patch-Notify.py | 21 | ||||
-rw-r--r-- | japanese/trac/files/patch-trac.css | 11 | ||||
-rw-r--r-- | japanese/trac/pkg-plist | 2 |
6 files changed, 48 insertions, 8 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index ee9da6a..4673b6b 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -375,6 +375,7 @@ SUBDIR += tkhonyaku SUBDIR += tkstep80 SUBDIR += today + SUBDIR += trac SUBDIR += truetypefonts SUBDIR += typist SUBDIR += vera-fpw diff --git a/japanese/trac/Makefile b/japanese/trac/Makefile index a35f445..0bff8b4 100644 --- a/japanese/trac/Makefile +++ b/japanese/trac/Makefile @@ -7,21 +7,26 @@ PORTNAME= trac PORTVERSION= 0.9.2 -CATEGORIES= www devel python -MASTER_SITES= http://ftp.edgewall.com/pub/trac/ \ - ftp://ftp.edgewall.com/pub/trac/ +CATEGORIES= japanese www devel python +MASTER_SITES= http://dist.bsdlab.org/ \ + http://www.i-act.co.jp/project/products/downloads/ +DISTFILES= ${PORTNAME}-${PORTVERSION}-ja-1.zip -MAINTAINER= rui@ruilopes.com +MAINTAINER= kuriyama@FreeBSD.org COMMENT= An enhanced wiki and issue tracking system for software projects BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-PySQLite2 \ ${PYTHON_SITELIBDIR}/neo_cgi.so:${PORTSDIR}/www/clearsilver-python \ - ${PYTHON_SITELIBDIR}/svn/__init__.py:${PORTSDIR}/devel/subversion-python + ${PYTHON_SITELIBDIR}/svn/__init__.py:${PORTSDIR}/devel/subversion-python \ + ${PYTHON_SITELIBDIR}/japanese.pth:${PORTSDIR}/japanese/pycodec RUN_DEPENDS= ${BUILD_DEPENDS} OPTIONS= SILVERCITY "Use Silvercity for syntax highlighting" On \ DOCUTILS "Allow additional text markup" On +CONFLICTS= trac-* +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-ja-1 +USE_ZIP= yes USE_PYTHON= yes USE_PYDISTUTILS= yes diff --git a/japanese/trac/distinfo b/japanese/trac/distinfo index 1f2c89c..2a10534 100644 --- a/japanese/trac/distinfo +++ b/japanese/trac/distinfo @@ -1,3 +1,3 @@ -MD5 (trac-0.9.2.tar.gz) = 39e3af9e72a4aaa3b0217461638d9c03 -SHA256 (trac-0.9.2.tar.gz) = 140c6e54db60023a9633a30267fc0ea88d289e72be4eb1e3988e3a4b0e268e4b -SIZE (trac-0.9.2.tar.gz) = 332266 +MD5 (trac-0.9.2-ja-1.zip) = 457d88de73b6d8dca0431b562a9ebb76 +SHA256 (trac-0.9.2-ja-1.zip) = db78792b57c91a22006cbe4df1b32c8121dc08ee78b9126a2697ac8406c4cb78 +SIZE (trac-0.9.2-ja-1.zip) = 485516 diff --git a/japanese/trac/files/patch-Notify.py b/japanese/trac/files/patch-Notify.py new file mode 100644 index 0000000..ce2a7f0 --- /dev/null +++ b/japanese/trac/files/patch-Notify.py @@ -0,0 +1,21 @@ +--- trac/Notify.py.orig Thu Dec 15 23:47:03 2005 ++++ trac/Notify.py Thu Dec 15 23:48:21 2005 +@@ -124,15 +124,14 @@ + from email.Header import Header + from email.Utils import formatdate + body = self.hdf.render(self.template_name) +- msg = MIMEMultipart() +- msg.attach(MIMEText(body, 'plain', 'utf-8')) +- msg.epilogue = '' ++ body = unicode(body, 'utf-8').encode('japanese.c.iso-2022-jp') ++ msg = MIMEText(body, 'plain', 'iso-2022-jp') + msg['X-Mailer'] = 'Trac %s, by Edgewall Software' % __version__ + msg['X-Trac-Version'] = __version__ + projname = self.config.get('project','name') + msg['X-Trac-Project'] = projname + msg['X-URL'] = self.config.get('project','url') +- msg['Subject'] = Header(self.subject, 'utf-8') ++ msg['Subject'] = Header(unicode(self.subject, 'utf-8').encode('japanese.c.iso-2022-jp'), 'iso-2022-jp') + msg['From'] = '%s <%s>' % (projname, self.from_email) + msg['Sender'] = self.from_email + msg['Reply-To'] = self.replyto_email diff --git a/japanese/trac/files/patch-trac.css b/japanese/trac/files/patch-trac.css new file mode 100644 index 0000000..63d5173 --- /dev/null +++ b/japanese/trac/files/patch-trac.css @@ -0,0 +1,11 @@ +--- ./htdocs/css/trac.css.orig Fri Dec 16 11:24:16 2005 ++++ ./htdocs/css/trac.css Fri Dec 16 11:24:26 2005 +@@ -47,7 +47,7 @@ + background: url(../extlink.gif) left center no-repeat; + padding-left: 16px; + } +- * html a.ext-link .icon { display: inline-block; } ++ * html a.ext-link .icon { display: inline; } + } + + /* Forms */ diff --git a/japanese/trac/pkg-plist b/japanese/trac/pkg-plist index b60fcd7..2a6578b 100644 --- a/japanese/trac/pkg-plist +++ b/japanese/trac/pkg-plist @@ -327,6 +327,7 @@ bin/tracdb2env %%DATADIR%%/wiki-default/TracIni %%DATADIR%%/wiki-default/TracInstall %%DATADIR%%/wiki-default/TracInterfaceCustomization +%%DATADIR%%/wiki-default/TracJa %%DATADIR%%/wiki-default/TracLinks %%DATADIR%%/wiki-default/TracLogging %%DATADIR%%/wiki-default/TracModPython @@ -341,6 +342,7 @@ bin/tracdb2env %%DATADIR%%/wiki-default/TracStandalone %%DATADIR%%/wiki-default/TracSupport %%DATADIR%%/wiki-default/TracSyntaxColoring +%%DATADIR%%/wiki-default/TracTermsJa %%DATADIR%%/wiki-default/TracTickets %%DATADIR%%/wiki-default/TracTicketsCustomFields %%DATADIR%%/wiki-default/TracTimeline |