freebsd-ports/www/pyweblib/Makefile
Boris Samorodov 095a600930 www/pyweblib: update to version 1.3.11 add more
. update to version 1.3.11;
. switch to USES=python syntax;
. adopt USE_PYTHON=autoplist;
. use PORTEXAMPLES wildcards;
. simplify and remove pkg-plist.
2014-09-22 17:13:20 +00:00

31 lines
806 B
Makefile

# Created by: Oddbjorn Steffensen <oddbjorn@tricknology.org>
# $FreeBSD$
PORTNAME= pyweblib
PORTVERSION= 1.3.11
CATEGORIES= www
MASTER_SITES= http://www.stroeder.com/pylib/PyWebLib/download/
MAINTAINER= bsam@FreeBSD.org
COMMENT= Yet another web programming framework for Python
LICENSE= GPLv2
USES= python
USE_PYTHON= autoplist distutils
PORTDOCS= pyweblib.forms.html pyweblib.helper.html \
pyweblib.html pyweblib.httphelper.html \
pyweblib.session.html pyweblib.sslenv.html
EXAMPLES= *.py
OPTIONS_DEFINE= DOCS
PORTEXAMPLES= *
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/cgi-bin ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/cgi-bin/${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/cgi-bin
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/htdocs/pydoc/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>