blob: 72810e0ee105b98be6acdcf12f5fa8a088a50019 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: Oddbjorn Steffensen <oddbjorn@tricknology.org>
# $FreeBSD$
PORTNAME= pyweblib
PORTVERSION= 1.3.10
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
USE_PYTHON= yes
USE_PYDISTUTILS= yes
DOCS= pydoc/pyweblib.forms.html \
pydoc/pyweblib.helper.html \
pydoc/pyweblib.html \
pydoc/pyweblib.httphelper.html \
pydoc/pyweblib.session.html \
pydoc/pyweblib.sslenv.html
EXAMPLES= *.py
post-install:
${MKDIR} ${EXAMPLESDIR} ${EXAMPLESDIR}/cgi-bin
${INSTALL_DATA} ${WRKSRC}/cgi-bin/${EXAMPLES} ${EXAMPLESDIR}/cgi-bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/pydoc
.for file in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/htdocs/${file} ${DOCSDIR}/${file}
.endfor
.endif
.include <bsd.port.mk>
|