svn commit: r407972 - head/lang/php_doc

Pawel Pekala pawel at FreeBSD.org
Wed Feb 3 19:47:56 UTC 2016


Author: pawel
Date: Wed Feb  3 19:47:54 2016
New Revision: 407972
URL: https://svnweb.freebsd.org/changeset/ports/407972

Log:
  - Due to changes in NO_WRKSUBDIR handling this port installed
    empty package. Tarball was unpacked to different directory
    making WRK_SRC point to void, fix this.
  - Remove usage of deprecated @dirrm keyword
  - Add NO_ARCH, it's just bunch of text files
  
  PR:		206385
  Submitted by:	myself
  Approved by:	maintainer timeout

Modified:
  head/lang/php_doc/Makefile

Modified: head/lang/php_doc/Makefile
==============================================================================
--- head/lang/php_doc/Makefile	Wed Feb  3 19:33:32 2016	(r407971)
+++ head/lang/php_doc/Makefile	Wed Feb  3 19:47:54 2016	(r407972)
@@ -11,6 +11,7 @@ MAINTAINER=	edwin at mavetju.org
 COMMENT?=	PHP documentation in HTML
 
 NO_BUILD=	YES
+NO_ARCH=	yes
 NO_WRKSUBDIR=	YES
 SLAVEDIRS=	french/php_doc \
 		german/php_doc \
@@ -26,12 +27,12 @@ PLIST=		${WRKDIR}/pkg-plist
 
 .for lang in ${PHP_HTML_NORMAL}
 .if ${PHP_LANG} == ${lang}
-WRK_SRC=	${WRKDIR}/html/
+WRK_SRC=	${WRKDIR}/${PORTNAME}-${PHP_LANG}-${PORTVERSION}/html/
 .endif
 .endfor
 .for lang in ${PHP_HTML_CHUNKED}
 .if ${PHP_LANG} == ${lang}
-WRK_SRC=	${WRKDIR}/php-chunked-xhtml/
+WRK_SRC=	${WRKDIR}/${PORTNAME}-${PHP_LANG}-${PORTVERSION}/php-chunked-xhtml/
 .endif
 .endfor
 
@@ -53,7 +54,6 @@ pre-fetch:
 
 pre-install:
 	${FIND} ${WRK_SRC} -type f ! -name '.*' ! -name pkg-plist | ${SED} -e "s,${WRK_SRC},%%PHPDOCDIR%%," > ${PLIST}
-	${FIND} ${WRK_SRC} -type d | ${SORT} -r | ${SED} -e "s,${WRK_SRC}, at dirrm %%PHPDOCDIR%%," >> ${PLIST}
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${PHPDOCDIR}


More information about the svn-ports-all mailing list