svn commit: r555735 - in head: devel www/unit
Sergey A. Osokin
osa at FreeBSD.org
Fri Nov 20 05:11:12 UTC 2020
Author: osa
Date: Fri Nov 20 05:11:11 2020
New Revision: 555735
URL: https://svnweb.freebsd.org/changeset/ports/555735
Log:
Add devel/libunit - NGINX Unit development kit.
Follow that remove devkit part from www/unit. (*)
Bump PORTREVISION. (*)
Modified:
head/devel/Makefile
head/www/unit/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Fri Nov 20 03:41:56 2020 (r555734)
+++ head/devel/Makefile Fri Nov 20 05:11:11 2020 (r555735)
@@ -1330,6 +1330,7 @@
SUBDIR += libunicode
SUBDIR += libuninum
SUBDIR += libunistring
+ SUBDIR += libunit
SUBDIR += libunwind
SUBDIR += libuutil
SUBDIR += libuv
Modified: head/www/unit/Makefile
==============================================================================
--- head/www/unit/Makefile Fri Nov 20 03:41:56 2020 (r555734)
+++ head/www/unit/Makefile Fri Nov 20 05:11:11 2020 (r555735)
@@ -3,7 +3,7 @@
PORTNAME= unit
PORTVERSION= 1.21.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES?= https://unit.nginx.org/download/
@@ -20,12 +20,11 @@ CPE_PRODUCT= unit
OPTIONS_DEFINE?= \
DEBUG \
- DEVKIT \
IPV6 \
PCRE2 \
SSL \
UNIXSOCK
-OPTIONS_DEFAULT?= DEVKIT IPV6 PCRE2 SSL UNIXSOCK
+OPTIONS_DEFAULT?= IPV6 PCRE2 SSL UNIXSOCK
DEBUG_DESC= Enable debug logging
DEVKIT_DESC= Install headers and library
@@ -75,20 +74,6 @@ SUB_LIST= PREFIX=${PREFIX} \
CONFIGURE_ARGS+=--debug
.endif
-.if ${PORT_OPTIONS:MDEVKIT}
-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
-.endif
-
.if empty(PORT_OPTIONS:MIPV6)
CONFIGURE_ARGS+=--no-ipv6
.endif
@@ -110,9 +95,6 @@ CONFIGURE_ARGS+=--no-unix-sockets
CONFIGURE_ARGS+=--control=unix:${UNIT_SOCK}
.endif
-post-build-DEVKIT-on:
- @cd ${WRKSRC} && ${MAKE} build/libunit.a
-
.if !target(post-install)
post-install:
${MKDIR} ${STAGEDIR}${UNIT_LOGDIR}
@@ -122,9 +104,6 @@ post-install:
${ECHO_CMD} @dir ${UNIT_RUNDIR} >> ${TMPPLIST}
${ECHO_CMD} @dir ${UNIT_TMPDIR} >> ${TMPPLIST}
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules
-
-post-install-DEVKIT-on:
- ${MAKE} -C ${WRKSRC} libunit-install DESTDIR=${STAGEDIR}
.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list