mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Add ja-trac-0.9.2 (translated version of www/trac).
Repocopied by: marcus (ports/90472)
This commit is contained in:
parent
c20953d63f
commit
43a5211a7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151411
@ -375,6 +375,7 @@
|
||||
SUBDIR += tkhonyaku
|
||||
SUBDIR += tkstep80
|
||||
SUBDIR += today
|
||||
SUBDIR += trac
|
||||
SUBDIR += truetypefonts
|
||||
SUBDIR += typist
|
||||
SUBDIR += vera-fpw
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
21
japanese/trac/files/patch-Notify.py
Normal file
21
japanese/trac/files/patch-Notify.py
Normal file
@ -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
|
11
japanese/trac/files/patch-trac.css
Normal file
11
japanese/trac/files/patch-trac.css
Normal file
@ -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 */
|
@ -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
|
||||
|
@ -21,6 +21,7 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
OPTIONS= SILVERCITY "Use Silvercity for syntax highlighting" On \
|
||||
DOCUTILS "Allow additional text markup" On
|
||||
CONFLICTS= ja-trac-*
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
Loading…
Reference in New Issue
Block a user