mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
aed9ff6f1f
PR: ports/78971 Submitted by: Boris B. Samorodov <bsam@ipt.ru> (maintainer)
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# New ports collection makefile for: pyweblib
|
|
# Date created: 22 March 2002
|
|
# Whom: Oddbjorn Steffensen <oddbjorn@tricknology.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pyweblib
|
|
PORTVERSION= 1.3.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.stroeder.com/pylib/PyWebLib/download/ \
|
|
http://www.tricknology.org/ports/
|
|
|
|
MAINTAINER= bsam@ipt.ru
|
|
COMMENT= Yet another web programming framework for Python
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==}
|
|
|
|
DOCS= PyWebLib.html \
|
|
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>
|