aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-genshi-devel/Makefile
blob: e69d9d5707ee4faea783ee05801466f3c33ce02d (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
36
37
38
39
# New ports collection makefile for:    py-genshi
# Date created:     2007-01-23
# Whom:         Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#

PORTNAME=   Genshi
PORTVERSION=    0.5
#PORTREVISION=  0
#PORTEPOCH= 0
CATEGORIES= textproc www python
MASTER_SITES=   http://ftp.edgewall.com/pub/${PORTNAME:L}/ \
        http://nivi.interfree.it/distfiles/${PORTNAME:L}/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= nivit@FreeBSD.org
COMMENT=    Python toolkit for stream-based generation of output for the web

USE_PYTHON= yes
USE_PYDISTUTILS=    easy_install

PYEASYINSTALL_ARCHDEP=  yes

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

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif

.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>