Commit d9ec328e authored by mat's avatar mat
Browse files

Cleanup no longer needed CHMOD usage after r424898.

PR:		213743
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
parent 759b3226
......@@ -17,8 +17,6 @@ INFO= festival
FDOC= ${PREFIX}/share/doc/festival
post-extract:
${CHMOD} -R a+r ${WRKSRC}
${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
${RM} ${WRKSRC}/festival/src-manual/c3750.htm~
${RM} ${WRKSRC}/speechtools/c16909.htm~
${RMDIR} ${WRKSRC}/festival/src-manual/images_gen
......
......@@ -22,10 +22,6 @@ NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
@${MKDIR} ${STAGEDIR}${FHOME}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
......
......@@ -28,10 +28,6 @@ FHOME= ${PREFIX}/share/festival
IGNORE= distfile can only be fetched if you accept the license. Go to https://www.cslu.ogi.edu/tts/download/data/OGIlexicon-2.2.tar.gz and put ${DISTFILE} into ${DISTDIR}
.endif
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
${MKDIR} ${STAGEDIR}${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${STAGEDIR}${FHOME}
......
......@@ -22,10 +22,6 @@ NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
@${MKDIR} ${STAGEDIR}${FHOME}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
......
......@@ -22,10 +22,6 @@ NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
@${MKDIR} ${STAGEDIR}${FHOME}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
......
......@@ -24,10 +24,6 @@ NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
@${MKDIR} ${STAGEDIR}${FHOME}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
......
......@@ -24,10 +24,6 @@ NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
@${MKDIR} ${STAGEDIR}${FHOME}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
......
......@@ -24,10 +24,6 @@ NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
@${MKDIR} ${STAGEDIR}${FHOME}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
......
......@@ -24,10 +24,6 @@ NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
@${MKDIR} ${STAGEDIR}${FHOME}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
......
......@@ -24,10 +24,6 @@ NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
@${MKDIR} ${STAGEDIR}${FHOME}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
......
......@@ -23,10 +23,6 @@ NO_BUILD= yes
FHOME= ${PREFIX}/share/festival/lib/voices/russian/msu_ru_nsh_clunits
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
@${MKDIR} ${STAGEDIR}${FHOME}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME})
......
......@@ -24,7 +24,4 @@ PLIST_FILES= bin/vorbisgain \
RECURSIVE_CONFIGURE_ARGS= --enable-recursive
pre-configure:
@${CHMOD} +x ${WRKSRC}/configure
.include <bsd.port.mk>
......@@ -24,9 +24,6 @@ LIBBINDIR= ${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH}
BROKEN_powerpc64= Does not build on powerpc64
post-extract:
@${CHMOD} -R u+w ${WRKSRC}
pre-patch:
@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${WRKSRC}/xmcd_d/XMcd.ad.in
......
......@@ -46,8 +46,7 @@ post-patch:
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${TAR} -C ${WRKSRC}/examples --exclude "*Makefile*" -cf - . | \
${TAR} -C ${STAGEDIR}${EXAMPLESDIR} --unlink -xf -
@${CHMOD} -R a+rX ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
${STAGEDIR}${EXAMPLESDIR} '! -name *Makefile*'
.include <bsd.port.mk>
......@@ -99,9 +99,7 @@ do-install:
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/doc && ${TAR} --exclude man -cf - .) | \
(cd ${STAGEDIR}${DOCSDIR} && ${TAR} --unlink -xf -)
@${FIND} ${STAGEDIR}${DOCSDIR} -type d | ${XARGS} ${CHMOD} a+rx
@${FIND} ${STAGEDIR}${DOCSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
@(cd ${WRKSRC}/doc && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} '-not ( -name man -o -path ./man\/* )')
.include <bsd.port.mk>
......@@ -30,9 +30,8 @@ PORTDATA= ${DATA} dat examples Technical
OPTIONS_DEFINE= DOCS
# Fix broken permissions and remove Windows executables
# Remove Windows executables
post-extract:
@${CHMOD} -R a+rX ${WRKDIR}
@${FIND} ${WRKSRC}/Technical -name "*.exe" -delete
do-build:
......
......@@ -41,9 +41,6 @@ FFLAGS+= -mfancy-math-387 -malign-double
.endif # i386
.endif
post-extract:
@${CHMOD} -R u+w ${WRKSRC}
pre-build:
@${RM} ${BUILD_WRKSRC}/*.c
......
......@@ -20,8 +20,11 @@ PLIST_FILES= ${FONTSDIR_REL}/local.conf-odo
.include "${.CURDIR}/../ttfm/Makefile.ttf"
.if ${OSVERSION} < 1100077
# chmod -R bug
post-extract:
@${CHMOD} 0755 ${WRKSRC}/license
.endif
post-patch:
@${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},; s,opendesktop,,g' \
......
......@@ -20,7 +20,4 @@ WRKSRC= ${WRKDIR}/src
MAKEFILE= ${FILESDIR}/Makefile
PLIST_FILES= bin/chmview
post-extract:
@${CHMOD} -R u+w ${WRKSRC}
.include <bsd.port.mk>
......@@ -21,13 +21,12 @@ RUN_DEPENDS= p5-Unicode-String>=0:converters/p5-Unicode-String
USES= perl5
USE_PERL5= configure
# Fixing non root builds.
# Distfile has directories with mode 644, which is not nice. Cannot
# use ${FIND} because it will not be able to read because it is not
# root and will not override the directories non executable status.
.if ${OSVERSION} < 1100077
# chmod -R bug
post-extract:
.for d in / /lib /lib/Unicode /t
@${CHMOD} 755 ${WRKSRC}${d}
.endfor
.endif
.include <bsd.port.mk>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment