aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2007-04-13 20:49:25 +0000
committerNicola Vitale <nivit@FreeBSD.org>2007-04-13 20:49:25 +0000
commitb9a4c89320910579d0a21d2789e331aff8fada26 (patch)
tree54925455faa52e9e25053a6369f27551312bce3f
parent9f0f9708eef17c6beff4f997cfd36b4129e53cfb (diff)
downloadports-b9a4c89320910579d0a21d2789e331aff8fada26.tar.gz
ports-b9a4c89320910579d0a21d2789e331aff8fada26.zip
Notes
-rw-r--r--www/Makefile1
-rw-r--r--www/trac-bzr/Makefile36
-rw-r--r--www/trac-bzr/distinfo3
-rw-r--r--www/trac-bzr/pkg-descr4
-rw-r--r--www/trac-bzr/pkg-message9
-rw-r--r--www/trac-bzr/pkg-plist4
6 files changed, 57 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index c249d11daf02..c3a0a3a2db55 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1129,6 +1129,7 @@
SUBDIR += trac
SUBDIR += trac-accountmanager
SUBDIR += trac-addcomment
+ SUBDIR += trac-bzr
SUBDIR += trac-ctxtnavadd
SUBDIR += trac-down
SUBDIR += trac-gantt
diff --git a/www/trac-bzr/Makefile b/www/trac-bzr/Makefile
new file mode 100644
index 000000000000..fb3ff81a89dc
--- /dev/null
+++ b/www/trac-bzr/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: trac-bzr
+# Date created: 2007-03-30
+# Whom: Radim Kolar <hsn@sanatana.dharma>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bzr
+PORTVERSION= 20070308
+CATEGORIES= www
+MASTER_SITES= http://home.tiscali.cz:8080/~cz210552/bsdports/tarballs/
+PKGNAMEPREFIX= trac-
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= hsn@sendmail.cz
+COMMENT= Bazaar-NG plugin for Trac
+
+BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
+
+USE_PYTHON= 2.4
+USE_PYDISTUTILS= yes
+
+USE_BZIP2= yes
+
+PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ PYTRAC_BZR_EGG=${PYTRAC_BZR_EGG}
+
+EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
+PYTRAC_BZR_EGG= TracBzr-0.2-py${PYTHON_VER}.egg
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/trac-bzr/distinfo b/www/trac-bzr/distinfo
new file mode 100644
index 000000000000..76d53b002079
--- /dev/null
+++ b/www/trac-bzr/distinfo
@@ -0,0 +1,3 @@
+MD5 (trac-bzr-20070308.tar.bz2) = 46e6566b9a7de2eab8be792287cb55a6
+SHA256 (trac-bzr-20070308.tar.bz2) = 42a40c6b3760865213771ac8187b3bc7dad572e4fb6ef26fc3e21cb6b13051e3
+SIZE (trac-bzr-20070308.tar.bz2) = 23698
diff --git a/www/trac-bzr/pkg-descr b/www/trac-bzr/pkg-descr
new file mode 100644
index 000000000000..e709d7bc1dea
--- /dev/null
+++ b/www/trac-bzr/pkg-descr
@@ -0,0 +1,4 @@
+Trac-bzr is an extension for Trac, so its revision browser
+can show Bazaar branches
+
+WWW: http://bazaar-vcs.org/TracBzr
diff --git a/www/trac-bzr/pkg-message b/www/trac-bzr/pkg-message
new file mode 100644
index 000000000000..910e02674b77
--- /dev/null
+++ b/www/trac-bzr/pkg-message
@@ -0,0 +1,9 @@
+following lines must be added to your trac.ini and Trac must be
+restarted.
+
+[trac]
+repository_dir = /path/to/repository
+repository_type = bzr
+
+[components]
+tracbzr.* = enabled
diff --git a/www/trac-bzr/pkg-plist b/www/trac-bzr/pkg-plist
new file mode 100644
index 000000000000..fc0f195d6368
--- /dev/null
+++ b/www/trac-bzr/pkg-plist
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+@unexec %%EASY_INSTALL_CMD%% -q -m -N %D/%%PYTHON_SITELIBDIR%%/%%PYTRAC_BZR_EGG%%
+%%PYTHON_SITELIBDIR%%/%%PYTRAC_BZR_EGG%%
+@exec %%EASY_INSTALL_CMD%% -N %D/%%PYTHON_SITELIBDIR%%/%%PYTRAC_BZR_EGG%%