diff options
Diffstat (limited to 'www/py-formencode/Makefile')
-rw-r--r-- | www/py-formencode/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/www/py-formencode/Makefile b/www/py-formencode/Makefile index 403e1f2519a5..eb8309e2411e 100644 --- a/www/py-formencode/Makefile +++ b/www/py-formencode/Makefile @@ -7,22 +7,36 @@ PORTNAME= formencode PORTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= www python -MASTER_SITES= http://cheeseshop.python.org/packages/source/F/FormEncode/ +MASTER_SITES= http://cheeseshop.python.org/packages/source/F/FormEncode/ \ + http://dryice.name/computer/FreeBSD/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= FormEncode-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dryice@FreeBSD.org COMMENT= HTML form validation, generation, and conversion package +BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools +RUN_DEPENDS= ${BUILD_DEPENDS} + USE_PYTHON= yes USE_PYDISTUTILS=yes DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESSDIR= ${PREFIX}/share/examples/py-${PORTNAME} +FORMENCODEVER?= ${PORTVERSION} +PYTHONVER?= ${PYTHON_VERSION:S/^python//} +PLIST_SUB= PYFORMENCODE_EGG=${PYFORMENCODE_EGG} + +SUB_FILES+= pkg-deinstall pkg-install +SUB_LIST+= EGG="FormEncode==${FORMENCODEVER}" \ + PYTHON_SITELIBDIR="${PYTHON_SITELIBDIR}" PORTDOCS= * +PYFORMENCODE_EGG= FormEncode-${FORMENCODEVER}-py${PYTHONVER}.egg + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} |