Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2018 23:32:27 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468149 - in head/www: . unit-perl
Message-ID:  <201804232332.w3NNWR9g098620@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <osa@FreeBSD.org>
+# $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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804232332.w3NNWR9g098620>