aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-albatross/Makefile
blob: c434f7750a12360fc7f4d5ff951572c1c22c8def (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
# New ports collection makefile for:    albatross
# Date created:     29 August 2002
# Whom:             Gregory Bond <gnb@itga.com.au>
#
# $FreeBSD$

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

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

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} ${DOCSDIR}/html
    @${TAR} -cf - -C ${WRKSRC}/doc . | ${TAR} -xf - -C ${DOCSDIR}
    @${TAR} -cf - -C ${WRKDIR}/albatross . | ${TAR} -xf - -C ${DOCSDIR}/html
    @${TAR} -cf - -C ${WRKSRC}/samples . | ${TAR} -xf - -C ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>