aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-funkload/Makefile
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-03-08 10:22:52 +0800
committerclsung <clsung@FreeBSD.org>2007-03-08 10:22:52 +0800
commitac4463d8117943c7f7fb7c30a78ea6e35bd421e9 (patch)
treeeff5bacaa7bcc166ac4ca2f81e4871375f16e363 /www/py-funkload/Makefile
parent51df2afb0a4118da15f234c1af5947b28b73207b (diff)
downloadfreebsd-ports-gnome-ac4463d8117943c7f7fb7c30a78ea6e35bd421e9.tar.gz
freebsd-ports-gnome-ac4463d8117943c7f7fb7c30a78ea6e35bd421e9.tar.zst
freebsd-ports-gnome-ac4463d8117943c7f7fb7c30a78ea6e35bd421e9.zip
Add py-funkload 1.6.0, funkLoad is a functional and load web tester.
PR: ports/109779 Submitted by: Li-Wen Hsu <lwhsu at lwhsu.org>
Diffstat (limited to 'www/py-funkload/Makefile')
-rw-r--r--www/py-funkload/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/www/py-funkload/Makefile b/www/py-funkload/Makefile
new file mode 100644
index 000000000000..b0f3862873d4
--- /dev/null
+++ b/www/py-funkload/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: py-funkload
+# Date created: Mar. 03, 2007
+# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= funkload
+PORTVERSION= 1.6.0
+CATEGORIES= www python
+MASTER_SITES= http://funkload.nuxeo.org/ \
+ http://cheeseshop.python.org/packages/source/f/funkload/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= lwhsu@lwhsu.org
+COMMENT= FunkLoad is a functional and load web tester
+
+BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
+ ${PYTHON_SITELIBDIR}/docutils/__init__.py:${PORTSDIR}/textproc/py-docutils \
+ ${PYTHON_SITELIBDIR}/gdchart.so:${PORTSDIR}/graphics/py-gdchart \
+ ${PYTHON_SITELIBDIR}/webunit/__init__.py:${PORTSDIR}/www/py-webunit \
+ ${PYXML} \
+ tcpwatch.py:${PORTSDIR}/net/tcpwatch
+
+USE_PYTHON= 2.4+
+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/${PYFUNKLOAD_EGG}
+
+PYFUNKLOAD_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
+
+PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ PYFUNKLOAD_EGG=${PYFUNKLOAD_EGG} \
+ PYFUNKLOAD_EGG_VER="${PORTNAME}==${PORTVERSION}"
+
+.if !defined(NOPORTDOCS)
+DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
+EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
+.endif
+ ${MKDIR} ${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/funkload/demo ${EXAMPLESDIR}
+
+.include <bsd.port.mk>