mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
Add www/unit-wasm port, connect to build. <ChangeLog> *) Change: if building with njs, version 0.8.0 or later is now required. *) Feature: technology preview of WebAssembly application module. *) Feature: "response_headers" option to manage headers in the action and fallback. *) Feature: HTTP response header variables. *) Feature: ASGI lifespan state support. Thanks to synodriver. *) Bugfix: ensure that $uri variable is not cached. *) Bugfix: deprecated options were unavailable. *) Bugfix: ASGI applications inaccessible over IPv6. </ChangeLog>
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
PORTNAME= libunit
|
|
PORTVERSION= ${UNIT_VERSION}
|
|
MASTER_SITES?= https://unit.nginx.org/download/
|
|
DISTNAME= unit-${PORTVERSION}
|
|
DISTINFO_FILE= ${.CURDIR}/../../www/unit/distinfo
|
|
|
|
MAINTAINER= osa@FreeBSD.org
|
|
COMMENT= Development kit for dynamic web application server
|
|
WWW= https://unit.nginx.org
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
CATEGORIES= devel www
|
|
|
|
USES+= compiler:c11 cpe
|
|
|
|
CPE_VENDOR= nginx
|
|
CPE_PRODUCT= unit
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
--ld-opt="-L${LOCALBASE}/lib" \
|
|
--pkgconfigdir=${LOCALBASE}/libdata/pkgconfig \
|
|
--no-regex
|
|
|
|
PLIST_FILES+= include/nxt_auto_config.h \
|
|
include/nxt_unit_field.h \
|
|
include/nxt_unit_request.h \
|
|
include/nxt_unit_response.h \
|
|
include/nxt_unit_sptr.h \
|
|
include/nxt_unit_typedefs.h \
|
|
include/nxt_unit_websocket.h \
|
|
include/nxt_unit.h \
|
|
include/nxt_version.h \
|
|
include/nxt_websocket_header.h \
|
|
lib/libunit.a \
|
|
libdata/pkgconfig/unit.pc
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${MAKE} build/lib/libunit.a
|
|
|
|
do-install:
|
|
${MAKE} -C ${WRKSRC} libunit-install DESTDIR=${STAGEDIR}
|
|
|
|
.include "../../www/unit/version.mk"
|
|
.include <bsd.port.mk>
|