aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-nevow/Makefile
blob: 0d4318b9dc810e087cfa9a7d4366f6cf14089f36 (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
# Created by: Choe, Cheng-Dae
# $FreeBSD$

PORTNAME=   nevow
PORTVERSION=    0.14.0
CATEGORIES= www python devel
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   Nevow-${PORTVERSION}

MAINTAINER= nivit@FreeBSD.org
COMMENT=    Web application templating system, based on the Twisted Woven

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_PYTHON= autoplist distutils
USES=       gettext python twisted:web
NO_ARCH=    yes

SUB_FILES=  pkg-message
PKGMESSAGE= ${WRKSRC}/pkg-message

DOCSDIR=    ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR=    ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}

OPTIONS_DEFINE= DOCS EXAMPLES

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>