aboutsummaryrefslogtreecommitdiff
path: root/www/trac-down
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-02-21 12:52:00 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-02-21 12:52:00 +0000
commitcae0dd9492bb6fda6cee8a11b564c9528026b5df (patch)
tree80d77df67baf4f321358453671bc380d5b90e93f /www/trac-down
parentc5fd6d2919ee606bbfbd40237901f4f4d9aa874d (diff)
downloadports-cae0dd9492bb6fda6cee8a11b564c9528026b5df.tar.gz
ports-cae0dd9492bb6fda6cee8a11b564c9528026b5df.zip
Notes
Diffstat (limited to 'www/trac-down')
-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
4 files changed, 46 insertions, 0 deletions
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%%