aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-albatross/Makefile
blob: 4f4f4e584f85a859b2fe93ead7f3e43babbcd00d (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
# Created by: Gregory Bond <gnb@itga.com.au>
# $FreeBSD$

PORTNAME=   albatross
PORTVERSION=    1.42
PORTREVISION=   1
CATEGORIES= www python
MASTER_SITES=   http://object-craft.com.au/projects/albatross/download/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} \
        ${PORTNAME}-html-${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER= gnb@itga.com.au
COMMENT=    Python toolkit for developing highly stateful web applications

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENCE

USES=       python:2.7
USE_PYTHON= autoplist distutils

NO_ARCH=    yes
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS=   *
PORTEXAMPLES=   *

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} \
        ${STAGEDIR}${DOCSDIR}/html
    (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
    (cd ${WRKDIR}/albatross-html-${PORTVERSION} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html)
    (cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)

.include <bsd.port.mk>