aboutsummaryrefslogtreecommitdiffstats
path: root/www/xist/Makefile
blob: e7c7ce08fa7f103f47dfaa7c3017df5bc8621081 (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
# ex:ts=8
# New ports collection makefile for:    XIST
# Date created:         Nov 3, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   xist
PORTVERSION=    1.2.1
CATEGORIES= www python
MASTER_SITES=   ftp://ftp.livinglogic.de/pub/livinglogic/xist/
DISTNAME=   XIST-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org

RUN_DEPENDS=    ${PYXML} \
        ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging \
        ${PYTHON_SITELIBDIR}/mx/Tidy/mxTidy/mxTidy.so:${PORTSDIR}/devel/py-mx-experimental

USE_PYTHON= yes

SETUP_CMD=  cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py

do-build:
    @${SETUP_CMD} build

do-install:
    @${SETUP_CMD} install

post-install:
.for file in doc2txt dtd2xsc xscmake
    @${MV} ${PREFIX}/bin/${file}.py ${PREFIX}/bin/${file}
.endfor

.include <bsd.port.mk>