aboutsummaryrefslogtreecommitdiffstats
path: root/www/uwsgi/Makefile
blob: 6a2487c3b784cff2561142a34c6f1f1580407131 (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
# New ports collection makefile for:    uwsgi
# Date created:             23 May 2010
# Whom:                 Daniel Gerzo <danger@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   uwsgi
PORTVERSION=    1.4.3
CATEGORIES= www python
MASTER_SITES=   http://projects.unbit.it/downloads/

MAINTAINER= demon@FreeBSD.org
COMMENT=    Developer-friendly WSGI server which uses uwsgi protocol

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/LICENSE

MAKE_JOBS_SAFE= yes

USE_GNOME=  libxml2
USE_PYTHON= yes
USE_RC_SUBR=    uwsgi

post-patch:
    ${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' ${WRKSRC}/Makefile

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
    @${INSTALL_DATA}  ${WRKSRC}/uwsgidecorators.py ${PYTHON_SITELIBDIR}

.include <bsd.port.mk>