1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/www/unit-perl/Makefile
2018-04-23 23:32:27 +00:00

26 lines
556 B
Makefile

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