aboutsummaryrefslogtreecommitdiffstats
path: root/devel/root-doc/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-02-08 19:36:31 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-02-08 19:36:31 +0800
commit3e7ae565aec5ff72e6dcd1cbf050e2b9bc60da5f (patch)
tree70e27bf3f861dff9819a84cfc799865e6d6e757e /devel/root-doc/Makefile
parent1885e492cea80093e2625b2818f2c37befe46c91 (diff)
downloadfreebsd-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/Makefile8
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>