svn commit: r468149 - in head/www: . unit-perl

Sergey A. Osokin osa at FreeBSD.org
Mon Apr 23 23:32:28 UTC 2018


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 at 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"


More information about the svn-ports-head mailing list