svn commit: r555736 - head/devel/libunit

Sergey A. Osokin osa at FreeBSD.org
Fri Nov 20 05:12:25 UTC 2020


Author: osa
Date: Fri Nov 20 05:12:24 2020
New Revision: 555736
URL: https://svnweb.freebsd.org/changeset/ports/555736

Log:
  Add devel/libunit - development kit for NGINX Unit.

Added:
  head/devel/libunit/
  head/devel/libunit/Makefile   (contents, props changed)
  head/devel/libunit/distinfo   (contents, props changed)
  head/devel/libunit/pkg-descr   (contents, props changed)

Added: head/devel/libunit/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libunit/Makefile	Fri Nov 20 05:12:24 2020	(r555736)
@@ -0,0 +1,45 @@
+# Created by: Sergey A. Osokin <osa at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	libunit
+PORTVERSION=	1.21.0
+MASTER_SITES?=	https://unit.nginx.org/download/
+DISTNAME=	unit-${PORTVERSION}
+
+MAINTAINER=	osa at FreeBSD.org
+COMMENT=	Development kit for dynamic web application server
+
+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"
+
+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
+
+do-build:
+	@cd ${WRKSRC} && ${MAKE} build/libunit.a
+
+do-install:
+	${MAKE} -C ${WRKSRC} libunit-install DESTDIR=${STAGEDIR}
+
+.include <bsd.port.mk>

Added: head/devel/libunit/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libunit/distinfo	Fri Nov 20 05:12:24 2020	(r555736)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1605816182
+SHA256 (unit-1.21.0.tar.gz) = 9830b66f55fbcb5ef4ee514e558831350e680c0240349541050eee2f6f6ba70d
+SIZE (unit-1.21.0.tar.gz) = 802826

Added: head/devel/libunit/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libunit/pkg-descr	Fri Nov 20 05:12:24 2020	(r555736)
@@ -0,0 +1,4 @@
+Development kit for NGINX Unit, a dynamic web application server, designed
+to run applications in multiple languages.
+
+WWW: https://unit.nginx.org


More information about the svn-ports-head mailing list