diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/sather-specification/Makefile | 3 | ||||
-rw-r--r-- | lang/sather-tutorial/Makefile | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lang/sather-specification/Makefile b/lang/sather-specification/Makefile index 85b7f21a21ee..c3d57d5d1905 100644 --- a/lang/sather-specification/Makefile +++ b/lang/sather-specification/Makefile @@ -18,7 +18,6 @@ DOCSDIR= ${PREFIX}/share/doc/sather/${PORTNAME} do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @${TAR} -xzf ${DISTDIR}/${DISTFILES} -C ${STAGEDIR}${DOCSDIR} - @${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \; + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/lang/sather-tutorial/Makefile b/lang/sather-tutorial/Makefile index 0ac4a1671c0c..86795da879d9 100644 --- a/lang/sather-tutorial/Makefile +++ b/lang/sather-tutorial/Makefile @@ -18,7 +18,6 @@ DOCSDIR= ${PREFIX}/share/doc/sather/${PORTNAME} do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @${TAR} -xzf ${DISTDIR}/${DISTFILES} -C ${STAGEDIR}${DOCSDIR} - @${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \; + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |