annotate Makefile @ 2:003d10e103ef

A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins. The additional plugins are: - cgi - clock_realtime - echo - logpipe And all the default embedded plugins from "base.ini" are embedded too (of course). The big difference of the "nolang" profile to "core" is that core has no embedded plugins.
author Franz Glasner <hg@dom66.de>
date Fri, 15 Sep 2017 21:59:09 +0200
parents 748e69c58ee3
children cbc74218977f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
1 # Created by: Franz Glasner <freebsd-dev@dom66.de>
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
2 # $FreeBSD$
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
3 # Based on www/uwsgi by: Daniel Gerzo <danger@FreeBSD.org>
0
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
4
2
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
5 PORTNAME= uwsginl
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
6 DISTVERSION= 2.0.15
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
7 CATEGORIES= www
0
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
8 MASTER_SITES= http://projects.unbit.it/downloads/
2
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
9 DISTNAME= uwsgi-${DISTVERSION}
0
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
10
2
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
11 MAINTAINER= freebsd-dev@dom66.de
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
12 COMMENT= Developer-friendly WSGI server which uses uwsgi protocol with no embedded language modules
0
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
13
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
14 LICENSE= GPLv2
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
15 LICENSE_FILE= ${WRKSRC}/LICENSE
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
16
2
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
17 USES= pkgconfig python:build ssl
0
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
18 USE_PYTHON= distutils
2
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
19 USE_RC_SUBR= uwsginl
0
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
20
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
21 CFLAGS+= -I${OPENSSLINC}
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
22 LDFLAGS+= ${OPENSSL_LDFLAGS}
2
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
23 #MAKE_ENV+= CPUCOUNT=${MAKE_JOBS_NUMBER} UWSGI_EMBED_PLUGINS=cgi
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
24 MAKE_ENV+= CPUCOUNT=${MAKE_JOBS_NUMBER} UWSGI_PROFILE=nolang.ini UWSGI_EMBED_PLUGINS=cgi,clock_realtime,echo,logpipe
0
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
25
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
26 PYSETUP= uwsgiconfig.py
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
27 PYDISTUTILS_BUILD_TARGET= --build
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
28 PYDISTUTILS_BUILDARGS= --verbose
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
29
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
30 USERS= uwsgi
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
31 GROUPS= uwsgi
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
32
2
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
33 PLIST_FILES= bin/uwsginl
0
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
34
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
35 OPTIONS_DEFINE= DEBUG JSON PCRE XML
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
36
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
37 DEBUG_VARS= PYDISTUTILS_BUILDARGS+=--debug
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
38
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
39 JSON_VARS= BUILDCONF_JSON=jansson
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
40 JSON_LIB_DEPENDS= libjansson.so:devel/jansson
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
41
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
42 PCRE_VARS= BUILDCONF_PCRE=true
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
43 PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
44
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
45 XML_VARS= BUILDCONF_XML=libxml2
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
46 XML_LIB_DEPENDS= libxml2.so:textproc/libxml2
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
47
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
48 .include <bsd.port.options.mk>
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
49
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
50 post-patch:
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
51 .for var in JSON PCRE XML
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
52 @${REINPLACE_CMD} -e '/^${var:tl} =/ s|= .*|= ${BUILDCONF_${var}:Ufalse}|' ${WRKSRC}/buildconf/base.ini
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
53 .endfor
2
003d10e103ef A new port named www/uwsginl which is www/uwsi with the "nolang" profile and some additional embedded plugins.
Franz Glasner <hg@dom66.de>
parents: 0
diff changeset
54 echo "bin_name = ${PORTNAME}" >> ${WRKSRC}/buildconf/nolang.ini
0
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
55
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
56 do-configure:
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
57 @${DO_NADA}
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
58
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
59 do-install:
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
60 ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
61
748e69c58ee3 Added the FreeBSD port www/uwsgi as of 2017-09-13 as origin port
Franz Glasner <hg@dom66.de>
parents:
diff changeset
62 .include <bsd.port.mk>