diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-08 19:36:31 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-08 19:36:31 +0800 |
commit | 3e7ae565aec5ff72e6dcd1cbf050e2b9bc60da5f (patch) | |
tree | 70e27bf3f861dff9819a84cfc799865e6d6e757e /devel/root-doc/Makefile | |
parent | 1885e492cea80093e2625b2818f2c37befe46c91 (diff) | |
download | freebsd-ports-gnome-3e7ae565aec5ff72e6dcd1cbf050e2b9bc60da5f.tar.gz freebsd-ports-gnome-3e7ae565aec5ff72e6dcd1cbf050e2b9bc60da5f.tar.zst freebsd-ports-gnome-3e7ae565aec5ff72e6dcd1cbf050e2b9bc60da5f.zip |
- Add NO_ARCH
- Simplify and accelerate plist generation
Diffstat (limited to 'devel/root-doc/Makefile')
-rw-r--r-- | devel/root-doc/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/root-doc/Makefile b/devel/root-doc/Makefile index 62d6bb4f1803..af25be765040 100644 --- a/devel/root-doc/Makefile +++ b/devel/root-doc/Makefile @@ -11,16 +11,16 @@ MAINTAINER= ports@FreeBSD.org COMMENT= HTML Documentation for Root framework NO_BUILD= yes +NO_ARCH= yes WRKSRC= ${WRKDIR}/htmldoc PLIST= ${WRKDIR}/pkg-plist pre-install: - cd ${WRKSRC} && ${FIND} . \( -type f -or -type l \) -exec ${ECHO_CMD} \ - "%%DOCSDIR%%/{}" \; > ${PLIST}.tmp - ${SED} -e "s/\/\.\//\//" ${PLIST}.tmp > ${PLIST} + @cd ${WRKSRC} && ${FIND} . \( -type f -or -type l \) -print | \ + ${SED} -e 's|^\.|%%DOCSDIR%%|' > ${PLIST} do-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |