aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/trac/Makefile4
-rw-r--r--japanese/trac/files/patch-setup.py11
-rw-r--r--japanese/trac/pkg-plist3
-rw-r--r--www/trac/Makefile4
-rw-r--r--www/trac/files/patch-setup.py11
-rw-r--r--www/trac/pkg-plist3
6 files changed, 26 insertions, 10 deletions
diff --git a/japanese/trac/Makefile b/japanese/trac/Makefile
index 3fd9ef7288d5..bb34eb29dfe8 100644
--- a/japanese/trac/Makefile
+++ b/japanese/trac/Makefile
@@ -18,11 +18,11 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/sqlite/main.py:${PORTSDIR}/databases/py-PySQ
${PYTHON_SITELIBDIR}/neo_cgi.so:${PORTSDIR}/www/clearsilver-python \
${PYTHON_SITELIBDIR}/svn/__init__.py:${PORTSDIR}/devel/subversion-python
-BROKEN= Uses incorrect directory for manpages
-
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+MAN1= trac-admin.1 tracd.1 tracdb2env.1
+
# This target is only meant to be used by the port maintainer.
x-generate-plist:
(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
diff --git a/japanese/trac/files/patch-setup.py b/japanese/trac/files/patch-setup.py
new file mode 100644
index 000000000000..e98222a449c0
--- /dev/null
+++ b/japanese/trac/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig Tue Mar 1 23:02:01 2005
++++ setup.py Tue Mar 1 23:02:40 2005
+@@ -202,7 +202,7 @@
+ data_files=[(_p('share/trac/templates'), glob('templates/*')),
+ (_p('share/trac/htdocs'), glob(_p('htdocs/*.*')) + [_p('htdocs/README')]),
+ (_p('share/trac/htdocs/css'), glob(_p('htdocs/css/*'))),
+- (_p('share/man/man1'), glob(_p('scripts/*.1'))),
++ (_p('man/man1'), glob(_p('scripts/*.1'))),
+ (_p('share/trac/wiki-default'), glob(_p('wiki-default/[A-Z]*')))],
+ scripts=[_p('scripts/trac-admin'),
+ _p('scripts/tracd'),
diff --git a/japanese/trac/pkg-plist b/japanese/trac/pkg-plist
index 03d842d2ff83..366a94147a2f 100644
--- a/japanese/trac/pkg-plist
+++ b/japanese/trac/pkg-plist
@@ -163,9 +163,6 @@ bin/tracdb2env
%%PYTHON_SITELIBDIR%%/trac/wikimacros/txtl.py
%%PYTHON_SITELIBDIR%%/trac/wikimacros/txtl.pyc
%%PYTHON_SITELIBDIR%%/trac/wikimacros/txtl.pyo
-share/man/man1/trac-admin.1
-share/man/man1/tracd.1
-share/man/man1/tracdb2env.1
share/trac/cgi-bin/trac.cgi
share/trac/htdocs/README
share/trac/htdocs/asc.png
diff --git a/www/trac/Makefile b/www/trac/Makefile
index 3fd9ef7288d5..bb34eb29dfe8 100644
--- a/www/trac/Makefile
+++ b/www/trac/Makefile
@@ -18,11 +18,11 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/sqlite/main.py:${PORTSDIR}/databases/py-PySQ
${PYTHON_SITELIBDIR}/neo_cgi.so:${PORTSDIR}/www/clearsilver-python \
${PYTHON_SITELIBDIR}/svn/__init__.py:${PORTSDIR}/devel/subversion-python
-BROKEN= Uses incorrect directory for manpages
-
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+MAN1= trac-admin.1 tracd.1 tracdb2env.1
+
# This target is only meant to be used by the port maintainer.
x-generate-plist:
(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
diff --git a/www/trac/files/patch-setup.py b/www/trac/files/patch-setup.py
new file mode 100644
index 000000000000..e98222a449c0
--- /dev/null
+++ b/www/trac/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig Tue Mar 1 23:02:01 2005
++++ setup.py Tue Mar 1 23:02:40 2005
+@@ -202,7 +202,7 @@
+ data_files=[(_p('share/trac/templates'), glob('templates/*')),
+ (_p('share/trac/htdocs'), glob(_p('htdocs/*.*')) + [_p('htdocs/README')]),
+ (_p('share/trac/htdocs/css'), glob(_p('htdocs/css/*'))),
+- (_p('share/man/man1'), glob(_p('scripts/*.1'))),
++ (_p('man/man1'), glob(_p('scripts/*.1'))),
+ (_p('share/trac/wiki-default'), glob(_p('wiki-default/[A-Z]*')))],
+ scripts=[_p('scripts/trac-admin'),
+ _p('scripts/tracd'),
diff --git a/www/trac/pkg-plist b/www/trac/pkg-plist
index 03d842d2ff83..366a94147a2f 100644
--- a/www/trac/pkg-plist
+++ b/www/trac/pkg-plist
@@ -163,9 +163,6 @@ bin/tracdb2env
%%PYTHON_SITELIBDIR%%/trac/wikimacros/txtl.py
%%PYTHON_SITELIBDIR%%/trac/wikimacros/txtl.pyc
%%PYTHON_SITELIBDIR%%/trac/wikimacros/txtl.pyo
-share/man/man1/trac-admin.1
-share/man/man1/tracd.1
-share/man/man1/tracdb2env.1
share/trac/cgi-bin/trac.cgi
share/trac/htdocs/README
share/trac/htdocs/asc.png