aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-formencode/Makefile
blob: 011f84e278e7d60c30688bd9d7889431650f804d (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
# New ports collection makefile for:    py-formencode
# Date created:     2005-11-16
# Whom:         Choe, Cheng-Dae
#
# $FreeBSD$
#

PORTNAME=   formencode
PORTVERSION=    0.4
CATEGORIES= www python
MASTER_SITES=   http://cheeseshop.python.org/packages/source/F/FormEncode/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   FormEncode-${PORTVERSION}

MAINTAINER= whitekid@gmail.com
COMMENT=    HTML form validation, generation, and conversion package

USE_PYTHON= yes
USE_PYDISTUTILS=yes

DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESSDIR=   ${PREFIX}/share/examples/py-${PORTNAME}

PORTDOCS=   *

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${CP} ${WRKSRC}/docs/* ${DOCSDIR}

    ${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>