aboutsummaryrefslogtreecommitdiffstats
path: root/www/quixote/Makefile
blob: 92423c71b42d7caeaf0b448ef1b17d17566fded4 (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
40
41
# New ports collection makefile for:    quixote
# Date created:     18 September 2001
# Whom:             Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   quixote
PORTVERSION=    0.3
PORTREVISION=   1
CATEGORIES= www python
MASTER_SITES=   http://www.mems-exchange.org/software/files/quixote/
DISTNAME=   Quixote-${PORTVERSION}

MAINTAINER= wjv@FreeBSD.org

BUILD_DEPENDS=  ${PYDISTUTILS}
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/compiler/__init__.py:${PORTSDIR}/lang/py-compiler

USE_PYTHON= yes

do-build:
    @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
      setup.py build

pre-install:
    @ ${SH} ${PKGREQ} INSTALL

do-install:
    @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
      setup.py install -c -O1 --prefix=${PREFIX}

post-install:
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${DOCSDIR}
.for docfile in CHANGES LICENSE README TODO doc/ACKS doc/*.txt
    @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>