aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-clientform
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2007-02-19 22:37:24 +0800
committernivit <nivit@FreeBSD.org>2007-02-19 22:37:24 +0800
commit8d0ae911ff226bd7bcc42bb1f5d06ad546852fe3 (patch)
treef57694ce62f81139576a0ad0d47c2e03b32a38a9 /www/py-clientform
parent65f0c4b75f26c1458e76ca21d05f7caae0261465 (diff)
downloadfreebsd-ports-gnome-8d0ae911ff226bd7bcc42bb1f5d06ad546852fe3.tar.gz
freebsd-ports-gnome-8d0ae911ff226bd7bcc42bb1f5d06ad546852fe3.tar.zst
freebsd-ports-gnome-8d0ae911ff226bd7bcc42bb1f5d06ad546852fe3.zip
- Updated to 0.2.6
- Set MAINTAINER to python@FreeBSD.org PR: ports/109254 Submitted by: Li-Wen Hsu <lwsu at lwhsu.org>
Diffstat (limited to 'www/py-clientform')
-rw-r--r--www/py-clientform/Makefile15
-rw-r--r--www/py-clientform/distinfo6
-rw-r--r--www/py-clientform/pkg-plist6
3 files changed, 19 insertions, 8 deletions
diff --git a/www/py-clientform/Makefile b/www/py-clientform/Makefile
index 0240c1345ddb..21f2f6507912 100644
--- a/www/py-clientform/Makefile
+++ b/www/py-clientform/Makefile
@@ -6,16 +6,27 @@
#
PORTNAME= clientform
-PORTVERSION= 0.1.17
+PORTVERSION= 0.2.6
CATEGORIES= www python
MASTER_SITES= http://wwwsearch.sourceforge.net/ClientForm/src/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ClientForm-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= python@FreeBSD.org
COMMENT= Client-side HTTP Form for Python
+BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+PYCLIENTFORM_EGG= ClientForm-${PORTVERSION}-py${PYTHON_VER}.egg
+
+EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
+
+PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ PYCLIENTFORM_EGG=${PYCLIENTFORM_EGG} \
+ PYCLIENTFORM_EGG_VER="ClientForm==${PORTVERSION}"
+
.include <bsd.port.mk>
diff --git a/www/py-clientform/distinfo b/www/py-clientform/distinfo
index 72942f275d77..b2eb5e47c040 100644
--- a/www/py-clientform/distinfo
+++ b/www/py-clientform/distinfo
@@ -1,3 +1,3 @@
-MD5 (ClientForm-0.1.17.tar.gz) = 0aa01b3ebcdf800d7ec07c86c7e60b38
-SHA256 (ClientForm-0.1.17.tar.gz) = 0ddb40f1038a5dcb5c066a2c6215f57aba4c32faa5d859d7ba154a73073d1e06
-SIZE (ClientForm-0.1.17.tar.gz) = 64062
+MD5 (ClientForm-0.2.6.tar.gz) = 24173e5aee32027f77f688f9e78eaafa
+SHA256 (ClientForm-0.2.6.tar.gz) = fa0dbb848329dbbb0d9f6d52600a3c088f9dcfe16ac81afcdff9bf3b5cad009d
+SIZE (ClientForm-0.2.6.tar.gz) = 103222
diff --git a/www/py-clientform/pkg-plist b/www/py-clientform/pkg-plist
index c6d4c072755b..763320cad902 100644
--- a/www/py-clientform/pkg-plist
+++ b/www/py-clientform/pkg-plist
@@ -1,3 +1,3 @@
-%%PYTHON_SITELIBDIR%%/ClientForm.py
-%%PYTHON_SITELIBDIR%%/ClientForm.pyc
-%%PYTHON_SITELIBDIR%%/ClientForm.pyo
+@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%PYCLIENTFORM_EGG_VER%%
+%%PYTHON_SITELIBDIR%%/%%PYCLIENTFORM_EGG%%
+@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%PYCLIENTFORM_EGG_VER%%