mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
Update to latest release version: 0.4.1.
Add one more knob - WITH_PERL_MODULE. [1] Submitted by: Yuri Karaban <ykar at list dot ru> [1]
This commit is contained in:
parent
a9af5d69b0
commit
6c79376f0b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173051
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= nginx
|
||||
PORTVERSION= 0.4.0
|
||||
PORTVERSION= 0.4.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://sysoev.ru/nginx/
|
||||
MASTER_SITES+= ${MASTER_SITE_LOCAL}
|
||||
@ -21,6 +21,10 @@ NGINX_RUNDIR?= ${NGINX_VARDIR}/run
|
||||
NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx
|
||||
HTTP_PORT?= 80
|
||||
|
||||
.if defined(WITH_PERL_MODULE)
|
||||
USE_PERL5= yes
|
||||
.endif
|
||||
|
||||
USE_RC_SUBR= nginx.sh
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--prefix=${PREFIX}/etc/nginx \
|
||||
@ -65,6 +69,10 @@ CONFIGURE_ARGS+=--without-http_rewrite_module \
|
||||
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PERL_MODULE)
|
||||
CONFIGURE_ARGS+=--with-http_perl_module
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_WWW)
|
||||
PLIST_SUB+= WWWDATA="@comment "
|
||||
.else
|
||||
@ -103,4 +111,22 @@ do-install:
|
||||
${LN} -sf ${PREFIX}/www/nginx-dist ${PREFIX}/www/nginx
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PERL_MODULE)
|
||||
${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto/nginx
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \
|
||||
${SITE_PERL}/${PERL_ARCH}/auto/nginx
|
||||
${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.bs \
|
||||
${SITE_PERL}/${PERL_ARCH}/auto/nginx
|
||||
${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \
|
||||
${SITE_PERL}/${PERL_ARCH}/
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if defined(WITH_PERL_MODULE)
|
||||
${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx/nginx.so >> ${TMPPLIST}
|
||||
${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx/nginx.bs >> ${TMPPLIST}
|
||||
${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/nginx.pm >> ${TMPPLIST}
|
||||
${ECHO_CMD} @dirrm ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (nginx-0.4.0.tar.gz) = 59db2b315f65cbe9f9452bc882d77999
|
||||
SHA256 (nginx-0.4.0.tar.gz) = 4bd30b1ae75f64553d03ce5f2657cb4f8685a272d02c1390e47a92c9d11d9b62
|
||||
SIZE (nginx-0.4.0.tar.gz) = 421031
|
||||
MD5 (nginx-0.4.1.tar.gz) = ddc338af7697094d42dcb712be99c953
|
||||
SHA256 (nginx-0.4.1.tar.gz) = c032e9743e882b18a0e496de3206e6697648ddbe251b89e3ebe586b0195606aa
|
||||
SIZE (nginx-0.4.1.tar.gz) = 419532
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= nginx
|
||||
PORTVERSION= 0.4.0
|
||||
PORTVERSION= 0.4.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://sysoev.ru/nginx/
|
||||
MASTER_SITES+= ${MASTER_SITE_LOCAL}
|
||||
@ -21,6 +21,10 @@ NGINX_RUNDIR?= ${NGINX_VARDIR}/run
|
||||
NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx
|
||||
HTTP_PORT?= 80
|
||||
|
||||
.if defined(WITH_PERL_MODULE)
|
||||
USE_PERL5= yes
|
||||
.endif
|
||||
|
||||
USE_RC_SUBR= nginx.sh
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--prefix=${PREFIX}/etc/nginx \
|
||||
@ -65,6 +69,10 @@ CONFIGURE_ARGS+=--without-http_rewrite_module \
|
||||
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PERL_MODULE)
|
||||
CONFIGURE_ARGS+=--with-http_perl_module
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_WWW)
|
||||
PLIST_SUB+= WWWDATA="@comment "
|
||||
.else
|
||||
@ -103,4 +111,22 @@ do-install:
|
||||
${LN} -sf ${PREFIX}/www/nginx-dist ${PREFIX}/www/nginx
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PERL_MODULE)
|
||||
${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto/nginx
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \
|
||||
${SITE_PERL}/${PERL_ARCH}/auto/nginx
|
||||
${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.bs \
|
||||
${SITE_PERL}/${PERL_ARCH}/auto/nginx
|
||||
${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \
|
||||
${SITE_PERL}/${PERL_ARCH}/
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if defined(WITH_PERL_MODULE)
|
||||
${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx/nginx.so >> ${TMPPLIST}
|
||||
${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx/nginx.bs >> ${TMPPLIST}
|
||||
${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/nginx.pm >> ${TMPPLIST}
|
||||
${ECHO_CMD} @dirrm ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (nginx-0.4.0.tar.gz) = 59db2b315f65cbe9f9452bc882d77999
|
||||
SHA256 (nginx-0.4.0.tar.gz) = 4bd30b1ae75f64553d03ce5f2657cb4f8685a272d02c1390e47a92c9d11d9b62
|
||||
SIZE (nginx-0.4.0.tar.gz) = 421031
|
||||
MD5 (nginx-0.4.1.tar.gz) = ddc338af7697094d42dcb712be99c953
|
||||
SHA256 (nginx-0.4.1.tar.gz) = c032e9743e882b18a0e496de3206e6697648ddbe251b89e3ebe586b0195606aa
|
||||
SIZE (nginx-0.4.1.tar.gz) = 419532
|
||||
|
Loading…
Reference in New Issue
Block a user