[Midnightbsd-cvs] mports [16100] trunk/www/nginx: change man handling

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 22 23:29:25 EDT 2014


Revision: 16100
          http://svnweb.midnightbsd.org/mports/?rev=16100
Author:   laffer1
Date:     2014-03-22 23:29:24 -0400 (Sat, 22 Mar 2014)
Log Message:
-----------
change man handling

Modified Paths:
--------------
    trunk/www/nginx/Makefile
    trunk/www/nginx/pkg-plist

Modified: trunk/www/nginx/Makefile
===================================================================
--- trunk/www/nginx/Makefile	2014-03-23 03:28:11 UTC (rev 16099)
+++ trunk/www/nginx/Makefile	2014-03-23 03:29:24 UTC (rev 16100)
@@ -216,9 +216,6 @@
 		WWWGRP=${WWWGRP} \
 		NGINX_RUNDIR=${NGINX_RUNDIR} \
 		NGINX_TMPDIR=${NGINX_TMPDIR}
-.if !defined(NO_INSTALL_MANPAGES)
-MAN8=		nginx.8
-.endif
 
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS+=--prefix=${ETCDIR} \
@@ -1029,9 +1026,7 @@
 	${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/nginx.pm >> ${TMPPLIST}
 	${ECHO_CMD} @dirrm ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx >> ${TMPPLIST}
 .endif
-.if !defined(NO_INSTALL_MANPAGES)
 	@${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${MAN8PREFIX}/man/man8
-.endif
 
 .if ${PORT_OPTIONS:MNAXSI}
 	${ECHO_CMD} etc/nginx/naxsi_core.rules >> ${TMPPLIST}

Modified: trunk/www/nginx/pkg-plist
===================================================================
--- trunk/www/nginx/pkg-plist	2014-03-23 03:28:11 UTC (rev 16099)
+++ trunk/www/nginx/pkg-plist	2014-03-23 03:29:24 UTC (rev 16100)
@@ -1,4 +1,3 @@
- at comment $FreeBSD$
 @unexec if cmp -s %D/%%ETCDIR%%/fastcgi_params-dist %D/%%ETCDIR%%/fastcgi_params; then rm -f %D/%%ETCDIR%%/fastcgi_params; fi
 %%ETCDIR%%/fastcgi_params-dist
 @exec if [ ! -f %D/%%ETCDIR%%/fastcgi_params ] ; then cp -p %D/%F %B/fastcgi_params; fi
@@ -28,3 +27,4 @@
 %%WWWDATA%%@dirrmtry www/nginx-dist
 sbin/nginx
 @unexec if [ -z ${UPGRADE_PORT} ] ; then rm -fr %%NGINX_TMPDIR%%; fi
+man/man8/nginx.8.gz



More information about the Midnightbsd-cvs mailing list