From owner-svn-ports-all@freebsd.org Mon Apr 23 23:32:28 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22C89FAE080; Mon, 23 Apr 2018 23:32:28 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C8FE186118; Mon, 23 Apr 2018 23:32:27 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C3E932E84; Mon, 23 Apr 2018 23:32:27 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3NNWR8V098622; Mon, 23 Apr 2018 23:32:27 GMT (envelope-from osa@FreeBSD.org) Received: (from osa@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3NNWR9g098620; Mon, 23 Apr 2018 23:32:27 GMT (envelope-from osa@FreeBSD.org) Message-Id: <201804232332.w3NNWR9g098620@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: osa set sender to osa@FreeBSD.org using -f From: "Sergey A. Osokin" Date: Mon, 23 Apr 2018 23:32:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468149 - in head/www: . unit-perl X-SVN-Group: ports-head X-SVN-Commit-Author: osa X-SVN-Commit-Paths: in head/www: . unit-perl X-SVN-Commit-Revision: 468149 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 23:32:28 -0000 Author: osa Date: Mon Apr 23 23:32:27 2018 New Revision: 468149 URL: https://svnweb.freebsd.org/changeset/ports/468149 Log: www/unit: add perl language module. Added: head/www/unit-perl/ head/www/unit-perl/Makefile (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon Apr 23 23:31:26 2018 (r468148) +++ head/www/Makefile Mon Apr 23 23:32:27 2018 (r468149) @@ -2394,6 +2394,7 @@ SUBDIR += ufdbguard SUBDIR += unit SUBDIR += unit-go + SUBDIR += unit-perl SUBDIR += unit-php SUBDIR += usermanager SUBDIR += uwsgi Added: head/www/unit-perl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/unit-perl/Makefile Mon Apr 23 23:32:27 2018 (r468149) @@ -0,0 +1,25 @@ +# Created by: Sergey Osokin +# $FreeBSD$ + +PKGNAMESUFFIX= -perl${PERL_VER} + +COMMENT= Perl module for NGINX Unit + +PLIST_FILES= libexec/unit/modules/perl${PERL_VER}.unit.so + +USES= perl5 + +USE_RC_SUBR?= # reset to empty + +MASTERDIR= ${.CURDIR}/../unit + +post-configure: + cd ${CONFIGURE_WRKSRC} && \ + ./configure perl --module=perl${PERL_VER} + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/ + ${INSTALL_LIB} ${WRKSRC}/build/perl${PERL_VER}.unit.so \ + ${STAGEDIR}${PREFIX}/libexec/unit/modules/ + +.include "${MASTERDIR}/Makefile"