aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-02-21 20:52:00 +0800
committerrafan <rafan@FreeBSD.org>2007-02-21 20:52:00 +0800
commit90037eda6b116274e566087c5c6608219ac65140 (patch)
treed8ca10131b2786eb88d88170a9d1127bb12e66b8 /www
parenta9b1b75440d8d3039ca4be84578c9c4728c71a88 (diff)
downloadfreebsd-ports-gnome-90037eda6b116274e566087c5c6608219ac65140.tar.gz
freebsd-ports-gnome-90037eda6b116274e566087c5c6608219ac65140.tar.zst
freebsd-ports-gnome-90037eda6b116274e566087c5c6608219ac65140.zip
Add trac-down 0.0.1.r11, a Trac plugin for listing released downloads.
PR: ports/109339 Submitted by: Li-Wen Hsu <lwhsu at lwhsu.org>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/trac-down/Makefile37
-rw-r--r--www/trac-down/distinfo3
-rw-r--r--www/trac-down/pkg-descr3
-rw-r--r--www/trac-down/pkg-plist3
5 files changed, 47 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 18151d065183..278eed8b27dc 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1090,6 +1090,7 @@
SUBDIR += trac-accountmanager
SUBDIR += trac-addcomment
SUBDIR += trac-ctxtnavadd
+ SUBDIR += trac-down
SUBDIR += trac-gantt
SUBDIR += trac-nav
SUBDIR += trac-pagetopdf
diff --git a/www/trac-down/Makefile b/www/trac-down/Makefile
new file mode 100644
index 000000000000..519b80c6c154
--- /dev/null
+++ b/www/trac-down/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: trac-down
+# Date created: Feb. 20, 2007
+# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= down
+PORTVERSION= 0.0.1.r11
+CATEGORIES= www devel python
+MASTER_SITES= http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
+PKGNAMEPREFIX= trac-
+DISTNAME= TracDown-${PORTVERSION:E}
+
+MAINTAINER= lwhsu@lwhsu.org
+COMMENT= A Trac plugin for listing released downloads
+
+BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
+ tracd:${PORTSDIR}/www/trac
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
+
+PYDISTUTILS_BUILD_TARGET= bdist_egg
+PYDISTUTILS_INSTALL_TARGET= easy_install
+PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${TRACDOWN_EGG}
+
+TRACDOWN_EGG= TracDown-${PORTVERSION:R}-py${PYTHON_VER}.egg
+
+PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ TRACDOWN_EGG=${TRACDOWN_EGG} \
+ TRACDOWN_EGG_VER="TracDown==${PORTVERSION:R}"
+
+.include <bsd.port.mk>
diff --git a/www/trac-down/distinfo b/www/trac-down/distinfo
new file mode 100644
index 000000000000..eb2eca17428c
--- /dev/null
+++ b/www/trac-down/distinfo
@@ -0,0 +1,3 @@
+MD5 (TracDown-r11.tar.gz) = 0754c6ae3ae1b7a1284ef6d74dd995a8
+SHA256 (TracDown-r11.tar.gz) = c2ce27841fbef585e7bc89dce65c91703753bdb2035c37ba891a6d6b77c7e440
+SIZE (TracDown-r11.tar.gz) = 1905
diff --git a/www/trac-down/pkg-descr b/www/trac-down/pkg-descr
new file mode 100644
index 000000000000..a284f5c5afb8
--- /dev/null
+++ b/www/trac-down/pkg-descr
@@ -0,0 +1,3 @@
+A Trac plugin for listing released downloads.
+
+WWW: http://dev.rectang.com/projects/tracdown
diff --git a/www/trac-down/pkg-plist b/www/trac-down/pkg-plist
new file mode 100644
index 000000000000..ef487b081146
--- /dev/null
+++ b/www/trac-down/pkg-plist
@@ -0,0 +1,3 @@
+@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%TRACDOWN_EGG_VER%%
+%%PYTHON_SITELIBDIR%%/%%TRACDOWN_EGG%%
+@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%TRACDOWN_EGG_VER%%