Date: Wed, 3 Feb 2016 19:47:55 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407972 - head/lang/php_doc Message-ID: <201602031947.u13JltjN067055@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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},@dirrm %%PHPDOCDIR%%," >> ${PLIST} do-install: @${MKDIR} ${STAGEDIR}${PHPDOCDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602031947.u13JltjN067055>