From ac4463d8117943c7f7fb7c30a78ea6e35bd421e9 Mon Sep 17 00:00:00 2001 From: clsung Date: Thu, 8 Mar 2007 02:22:52 +0000 Subject: Add py-funkload 1.6.0, funkLoad is a functional and load web tester. PR: ports/109779 Submitted by: Li-Wen Hsu --- www/py-funkload/Makefile | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 www/py-funkload/Makefile (limited to 'www/py-funkload/Makefile') 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 +# +# $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 -- cgit