Index: head/www/unit/Makefile =================================================================== --- head/www/unit/Makefile (revision 475292) +++ head/www/unit/Makefile (revision 475293) @@ -1,80 +1,81 @@ # Created by: Sergey A. Osokin # $FreeBSD$ PORTNAME= unit PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://unit.nginx.org/download/ MAINTAINER= osa@FreeBSD.org COMMENT?= Dynamic web application server LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES+= cpe CPE_VENDOR= nginx CPE_PRODUCT= unit OPTIONS_DEFINE?= \ DEBUG \ IPV6 \ UNIXSOCK OPTIONS_DEFAULT?=IPV6 UNIXSOCK DEBUG_DESC= Enable debug logging IPV6_DESC= Enable IPv6 UNIXSOCK_DESC= Enable unix sockets .include HAS_CONFIGURE= yes UNIT_VARDIR?= /var UNIT_RUNDIR?= ${UNIT_VARDIR}/run/unit UNIT_LOGDIR?= ${UNIT_VARDIR}/log/${PORTNAME} UNIT_LOGFILE?= ${UNIT_LOGDIR}/${PORTNAME}.log UNIT_PIDFILE?= ${UNIT_RUNDIR}/${PORTNAME}.pid UNIT_SOCK?= ${UNIT_RUNDIR}/control.unit.sock CONFIGURE_ARGS= --prefix=${PREFIX} \ --modules=libexec/unit/modules \ --state=libexec/unit \ --log=${UNIT_LOGFILE} \ --pid=${UNIT_PIDFILE} \ --ld-opt="-L${LOCALBASE}/lib" PLIST_FILES?= sbin/unitd PLIST_DIRS?= libexec/unit/modules \ libexec/unit USE_RC_SUBR?= unitd SUB_LIST= UNIT_PIDFILE=${UNIT_PIDFILE} \ UNIT_SOCK=${UNIT_SOCK} \ PREFIX=${PREFIX} .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--debug .endif .if empty(PORT_OPTIONS:MIPV6) CONFIGURE_ARGS+=--no-ipv6 .endif .if empty(PORT_OPTIONS:MUNIXSOCK) CONFIGURE_ARGS+=--no-unix-sockets .else CONFIGURE_ARGS+=--control=unix:${UNIT_SOCK} .endif .if !target(post-install) post-install: ${MKDIR} ${STAGEDIR}${UNIT_LOGDIR} ${MKDIR} ${STAGEDIR}${UNIT_RUNDIR} ${ECHO_CMD} @dir ${UNIT_LOGDIR} >> ${TMPPLIST} ${ECHO_CMD} @dir ${UNIT_RUNDIR} >> ${TMPPLIST} ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules .endif .include Index: head/www/unit-go/pkg-plist =================================================================== --- head/www/unit-go/pkg-plist (revision 475292) +++ head/www/unit-go/pkg-plist (revision 475293) @@ -1,21 +1,20 @@ %%GO_LIBDIR%%/unit.a -%%GO_SRCDIR%%/%%GO_PKGNAME%%/darwin-cflags.go %%GO_SRCDIR%%/%%GO_PKGNAME%%/ldflags-lrt.go %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_array.c %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_array.h %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_lib.c %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_lib.h %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_log.h %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_mutex.h %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_port_memory.c %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_port_memory.h %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_port.c %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_port.h %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_process.c %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_process.h %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_run_ctx.c %%GO_SRCDIR%%/%%GO_PKGNAME%%/nxt_go_run_ctx.h %%GO_SRCDIR%%/%%GO_PKGNAME%%/port.go %%GO_SRCDIR%%/%%GO_PKGNAME%%/request.go %%GO_SRCDIR%%/%%GO_PKGNAME%%/response.go %%GO_SRCDIR%%/%%GO_PKGNAME%%/unit.go