[Midnightbsd-cvs] mports [16979] trunk/Mk/components/maintainer.mk: ignore license files with generated plists and dont strip man pages anymore.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Sep 9 18:11:28 EDT 2014


Revision: 16979
          http://svnweb.midnightbsd.org/mports/?rev=16979
Author:   laffer1
Date:     2014-09-09 18:11:28 -0400 (Tue, 09 Sep 2014)
Log Message:
-----------
ignore license files with generated plists and dont strip man pages anymore. we actually want them

Modified Paths:
--------------
    trunk/Mk/components/maintainer.mk

Modified: trunk/Mk/components/maintainer.mk
===================================================================
--- trunk/Mk/components/maintainer.mk	2014-09-09 22:05:46 UTC (rev 16978)
+++ trunk/Mk/components/maintainer.mk	2014-09-09 22:11:28 UTC (rev 16979)
@@ -41,10 +41,10 @@
 
 .	if !defined(NO_MTREE)
 		@cd ${FAKE_DESTDIR}${PREFIX}; directories=""; files=""; \
-		new=`${MTREE_CMD} -Uf ${MTREE_FILE} | ${SED} -e 's/\s*extra$$//' | ${EGREP} -v "^man/|^share/nls/POSIX|^share/nls/en_US.US-ASCII"`; \
+		new=`${MTREE_CMD} -Uf ${MTREE_FILE} | ${SED} -e 's/\s*extra$$//' | ${EGREP} -v "^share/licenses|^share/nls/POSIX|^share/nls/en_US.US-ASCII"`; \
 		for file in $$new; do \
 			if [ ! -L $$file ] && [ -d $$file ]; then \
-				tree=`${FIND} -d $$file -type f -or -type d -or -type l | ${EGREP} -v "man/man[123456789]"`; \
+				tree=`${FIND} -d $$file -type f -or -type d -or -type l `; \
 				for f in $$tree; do \
 					if [ -d $$f ]; then \
 						directories="$$directories $$f"; \



More information about the Midnightbsd-cvs mailing list