* My OpenBSD ports
       
   URI git clone git://git.codevoid.de/mystuff.git
   DIR Log
   DIR Files
   DIR Refs
       ---
       Makefile (833B)
       ---
            1 # $OpenBSD$
            2 
            3 COMMENT =        the uwsgi server
            4 
            5 MODPY_EGG_VERSION =        2.0.19.1
            6 DISTNAME =        uWSGI-${MODPY_EGG_VERSION}
            7 PKGNAME =        py-uwsgi-${MODPY_EGG_VERSION}
            8 
            9 CATEGORIES =        www
           10 
           11 HOMEPAGE =        http://projects.unbit.it/uwsgi
           12 
           13 # GPL2+
           14 PERMIT_PACKAGE =        yes
           15 
           16 WANTLIB =        ${MODPY_WANTLIB}
           17 WANTLIB +=        c crypto iconv intl execinfo jansson kvm lzma m pcre\
           18                 pthread ssl util xml2 z
           19 
           20 LIB_DEPENDS +=        archivers/xz\
           21                 devel/gettext\
           22                 devel/jansson\
           23                 devel/libexecinfo\
           24                 devel/pcre\
           25                 textproc/libxml
           26 
           27 MODULES =        lang/python
           28 
           29 MODPY_SETUPTOOLS =        Yes
           30 MODPY_PI =        Yes
           31 
           32 FLAVORS =        python3
           33 FLAVOR ?=
           34 
           35 TEST_DEPENDS =        devel/cppcheck\
           36                 www/py-requests
           37 MODPY_PYTEST =        yes
           38 
           39 EXAMPLESDIR =        ${PREFIX}/share/examples/py-uwsgi
           40 
           41 WRKDIST =        ${WRKDIR}
           42 
           43 post-install:
           44         ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
           45         ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
           46 
           47 .include <bsd.port.mk>