diff options
author | pawel <pawel@FreeBSD.org> | 2016-02-04 03:47:54 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2016-02-04 03:47:54 +0800 |
commit | b120e1503efd6ac9e2bbf24787e7885d05933d40 (patch) | |
tree | e7b5dbb7b237c14c857a4201275f56d439b0442d | |
parent | ac6b3ed79157784dc654f475ca937cd437a9adf8 (diff) | |
download | freebsd-ports-gnome-b120e1503efd6ac9e2bbf24787e7885d05933d40.tar.gz freebsd-ports-gnome-b120e1503efd6ac9e2bbf24787e7885d05933d40.tar.zst freebsd-ports-gnome-b120e1503efd6ac9e2bbf24787e7885d05933d40.zip |
- 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
-rw-r--r-- | lang/php_doc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/php_doc/Makefile b/lang/php_doc/Makefile index e90be8691508..0504250066cb 100644 --- a/lang/php_doc/Makefile +++ b/lang/php_doc/Makefile @@ -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} |