svn commit: r425174 - in head: audio/festdoc audio/festlex-oald audio/festlex-ogi audio/festvox-don audio/festvox-el11 audio/festvox-kal8 audio/festvox-ked16 audio/festvox-ked8 audio/festvox-rab16 ...
Mathieu Arnold
mat at FreeBSD.org
Wed Nov 2 22:45:24 UTC 2016
Author: mat
Date: Wed Nov 2 22:45:14 2016
New Revision: 425174
URL: https://svnweb.freebsd.org/changeset/ports/425174
Log:
Cleanup no longer needed CHMOD usage after r424898.
PR: 213743
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Modified:
head/audio/festdoc/Makefile (contents, props changed)
head/audio/festlex-oald/Makefile (contents, props changed)
head/audio/festlex-ogi/Makefile (contents, props changed)
head/audio/festvox-don/Makefile (contents, props changed)
head/audio/festvox-el11/Makefile (contents, props changed)
head/audio/festvox-kal8/Makefile (contents, props changed)
head/audio/festvox-ked16/Makefile (contents, props changed)
head/audio/festvox-ked8/Makefile (contents, props changed)
head/audio/festvox-rab16/Makefile (contents, props changed)
head/audio/festvox-rab8/Makefile (contents, props changed)
head/audio/festvox-russian/Makefile (contents, props changed)
head/audio/vorbisgain/Makefile (contents, props changed)
head/audio/xmcd/Makefile (contents, props changed)
head/biology/libsbml/Makefile (contents, props changed)
head/biology/ncbi-toolkit/Makefile (contents, props changed)
head/biology/paml/Makefile (contents, props changed)
head/biology/tinker/Makefile (contents, props changed)
head/chinese/opendesktop-fonts/Makefile (contents, props changed)
head/converters/chmview/Makefile (contents, props changed)
head/converters/p5-Unicode-IMAPUtf7/Makefile (contents, props changed)
head/deskutils/simplegroupware/Makefile (contents, props changed)
head/devel/cvschangelogbuilder/Makefile (contents, props changed)
head/devel/erlang-esdl/Makefile (contents, props changed)
head/devel/flex-sdk/Makefile (contents, props changed)
head/devel/ocaml-camomile-examples/Makefile (contents, props changed)
head/devel/py-blist/Makefile (contents, props changed)
head/devel/py-efilter/Makefile (contents, props changed)
head/devel/py-google-apputils/Makefile (contents, props changed)
head/devel/py-prettytable/Makefile (contents, props changed)
head/devel/py-pydenticon/Makefile (contents, props changed)
head/devel/py-zope.minmax/Makefile (contents, props changed)
head/devel/smake/Makefile (contents, props changed)
head/editors/nvi-devel/Makefile (contents, props changed)
head/emulators/linux_base-c6/Makefile (contents, props changed)
head/emulators/linux_base-c7/Makefile (contents, props changed)
head/games/alephone-scenarios/Makefile (contents, props changed)
head/games/duel/Makefile (contents, props changed)
head/games/ember/Makefile (contents, props changed)
head/games/linux-nwnclient/Makefile (contents, props changed)
head/games/ptkei/Makefile (contents, props changed)
head/games/quake-dpmod/Makefile (contents, props changed)
head/games/rocksndiamonds-data/Makefile (contents, props changed)
head/games/tuxpaint-config/Makefile (contents, props changed)
head/games/tuxpaint/Makefile (contents, props changed)
head/games/xtet42/Makefile (contents, props changed)
head/graphics/4va/Makefile (contents, props changed)
head/graphics/blender-doc/Makefile (contents, props changed)
head/graphics/seejpeg/Makefile (contents, props changed)
head/graphics/xfig/Makefile (contents, props changed)
head/japanese/cmigemo-dict/Makefile (contents, props changed)
head/japanese/cmigemo/Makefile (contents, props changed)
head/lang/gscheme/Makefile (contents, props changed)
head/lang/guile/Makefile (contents, props changed)
head/lang/hla/Makefile (contents, props changed)
head/lang/icc/Makefile (contents, props changed)
head/lang/mosml/Makefile (contents, props changed)
head/lang/rust/Makefile (contents, props changed)
head/lang/squirrel/Makefile (contents, props changed)
head/mail/alpine/Makefile (contents, props changed)
head/mail/gotmail/Makefile (contents, props changed)
head/mail/libspf/Makefile (contents, props changed)
head/mail/py-spambayes/Makefile (contents, props changed)
head/mail/qpopper/Makefile (contents, props changed)
head/mail/rss2email2/Makefile (contents, props changed)
head/math/p5-Statistics-LineFit/Makefile (contents, props changed)
head/math/py-theano/Makefile (contents, props changed)
head/misc/py-progressbar/Makefile (contents, props changed)
head/net-mgmt/phpweathermap/Makefile (contents, props changed)
head/net-p2p/gtk-gnutella/Makefile (contents, props changed)
head/net/abills/Makefile (contents, props changed)
head/net/binkd/Makefile (contents, props changed)
head/net/samba36/Makefile (contents, props changed)
head/net/ssspl/Makefile (contents, props changed)
head/science/silo/Makefile (contents, props changed)
head/security/apg/Makefile (contents, props changed)
head/security/bugs/Makefile (contents, props changed)
head/security/py-oauthlib/Makefile (contents, props changed)
head/security/py-pyaff4/Makefile (contents, props changed)
head/security/py-rekall-core/Makefile (contents, props changed)
head/security/py-rekall/Makefile (contents, props changed)
head/security/py-rekall_gui/Makefile (contents, props changed)
head/security/secure_delete/Makefile (contents, props changed)
head/sysutils/dirvish/Makefile (contents, props changed)
head/sysutils/e2fsprogs/Makefile (contents, props changed)
head/sysutils/linux-nero/Makefile (contents, props changed)
head/sysutils/vobcopy/Makefile (contents, props changed)
head/textproc/jade/Makefile (contents, props changed)
head/textproc/p5-Text-RecordParser/Makefile (contents, props changed)
head/textproc/p5-XML-Handler-Trees/Makefile (contents, props changed)
head/textproc/p5-XML-Parser/Makefile (contents, props changed)
head/textproc/py-Chameleon/Makefile (contents, props changed)
head/textproc/py-cloud_sptheme/Makefile (contents, props changed)
head/textproc/py-diff-match-patch/Makefile (contents, props changed)
head/www/coppermine/Makefile (contents, props changed)
head/www/php-plurk-api/Makefile (contents, props changed)
head/www/phprecipebook/Makefile (contents, props changed)
head/www/pivotx/Makefile (contents, props changed)
head/www/piwigo/Makefile (contents, props changed)
head/www/py-WebError/Makefile (contents, props changed)
head/www/py-flask-bootstrap/Makefile (contents, props changed)
head/www/py-httplib2/Makefile (contents, props changed)
head/www/py-wsgiauth/Makefile (contents, props changed)
head/www/rubygem-robots/Makefile (contents, props changed)
head/www/trac-watchlist/Makefile (contents, props changed)
head/www/webgrind/Makefile (contents, props changed)
head/x11-themes/gtk-digital-cream-theme/Makefile (contents, props changed)
head/x11-themes/gtk-digital-harmony-theme/Makefile (contents, props changed)
head/x11-themes/gtk-longhorninspirat-theme/Makefile (contents, props changed)
head/x11-themes/gtk-milk-theme/Makefile (contents, props changed)
head/x11-toolkits/gnocl/Makefile (contents, props changed)
Modified: head/audio/festdoc/Makefile
==============================================================================
--- head/audio/festdoc/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/festdoc/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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
Modified: head/audio/festlex-oald/Makefile
==============================================================================
--- head/audio/festlex-oald/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/festlex-oald/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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}
Modified: head/audio/festlex-ogi/Makefile
==============================================================================
--- head/audio/festlex-ogi/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/festlex-ogi/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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}
Modified: head/audio/festvox-don/Makefile
==============================================================================
--- head/audio/festvox-don/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/festvox-don/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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}
Modified: head/audio/festvox-el11/Makefile
==============================================================================
--- head/audio/festvox-el11/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/festvox-el11/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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}
Modified: head/audio/festvox-kal8/Makefile
==============================================================================
--- head/audio/festvox-kal8/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/festvox-kal8/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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}
Modified: head/audio/festvox-ked16/Makefile
==============================================================================
--- head/audio/festvox-ked16/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/festvox-ked16/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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}
Modified: head/audio/festvox-ked8/Makefile
==============================================================================
--- head/audio/festvox-ked8/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/festvox-ked8/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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}
Modified: head/audio/festvox-rab16/Makefile
==============================================================================
--- head/audio/festvox-rab16/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/festvox-rab16/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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}
Modified: head/audio/festvox-rab8/Makefile
==============================================================================
--- head/audio/festvox-rab8/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/festvox-rab8/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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}
Modified: head/audio/festvox-russian/Makefile
==============================================================================
--- head/audio/festvox-russian/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/festvox-russian/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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})
Modified: head/audio/vorbisgain/Makefile
==============================================================================
--- head/audio/vorbisgain/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/vorbisgain/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -24,7 +24,4 @@ PLIST_FILES= bin/vorbisgain \
RECURSIVE_CONFIGURE_ARGS= --enable-recursive
-pre-configure:
- @${CHMOD} +x ${WRKSRC}/configure
-
.include <bsd.port.mk>
Modified: head/audio/xmcd/Makefile
==============================================================================
--- head/audio/xmcd/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/audio/xmcd/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -24,9 +24,6 @@ LIBBINDIR= ${STAGEDIR}${PREFIX}/lib/X11/
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
Modified: head/biology/libsbml/Makefile
==============================================================================
--- head/biology/libsbml/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/biology/libsbml/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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>
Modified: head/biology/ncbi-toolkit/Makefile
==============================================================================
--- head/biology/ncbi-toolkit/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/biology/ncbi-toolkit/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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>
Modified: head/biology/paml/Makefile
==============================================================================
--- head/biology/paml/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/biology/paml/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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:
Modified: head/biology/tinker/Makefile
==============================================================================
--- head/biology/tinker/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/biology/tinker/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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
Modified: head/chinese/opendesktop-fonts/Makefile
==============================================================================
--- head/chinese/opendesktop-fonts/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/chinese/opendesktop-fonts/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -20,8 +20,11 @@ PLIST_FILES= ${FONTSDIR_REL}/local.conf-
.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' \
Modified: head/converters/chmview/Makefile
==============================================================================
--- head/converters/chmview/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/converters/chmview/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -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>
Modified: head/converters/p5-Unicode-IMAPUtf7/Makefile
==============================================================================
--- head/converters/p5-Unicode-IMAPUtf7/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/converters/p5-Unicode-IMAPUtf7/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -21,13 +21,12 @@ RUN_DEPENDS= p5-Unicode-String>=0:conver
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>
Modified: head/deskutils/simplegroupware/Makefile
==============================================================================
--- head/deskutils/simplegroupware/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/deskutils/simplegroupware/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -20,11 +20,17 @@ SUB_FILES= pkg-message
SHAREOWN= ${WWWOWN}
SHAREGRP= ${WWWGRP}
-post-extract:
- @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
-
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1100077
+# chmod -R bug.
+# Do not use "-exec ... +", because of the same bug, it will not work.
+post-extract:
+ @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
+.endif
+
+.include <bsd.port.post.mk>
Modified: head/devel/cvschangelogbuilder/Makefile
==============================================================================
--- head/devel/cvschangelogbuilder/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/devel/cvschangelogbuilder/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -22,10 +22,6 @@ NO_ARCH= yes
PLIST_FILES= bin/cvschangelogbuilder
PORTDOCS= *
-post-extract:
- @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
- @${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \;
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@@ -35,4 +31,12 @@ do-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/docs/*.* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/images/* ${STAGEDIR}${DOCSDIR}/images
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1100077
+# chmod -R bug.
+post-extract:
+ @${CHMOD} 755 ${WRKSRC}/docs/images
+.endif
+
+.include <bsd.port.post.mk>
Modified: head/devel/erlang-esdl/Makefile
==============================================================================
--- head/devel/erlang-esdl/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/devel/erlang-esdl/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -46,9 +46,6 @@ PLIST_SUB+= SDL_IMAGE=""
PLIST_SUB+= SDL_IMAGE="@comment "
.endif
-post-extract:
- @${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${CHMOD} go+r
-
post-patch:
@${REINPLACE_CMD} -Ee 's|addons|lib|' ${WRKSRC}/Makefile
.if ${PORT_OPTIONS:MSDL_TTF}
Modified: head/devel/flex-sdk/Makefile
==============================================================================
--- head/devel/flex-sdk/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/devel/flex-sdk/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -24,9 +24,6 @@ SCRIPTS= aasdoc acompc amxmlc asdoc comp
post-extract:
${RM} ${WRKSRC}/bin/*.bat ${WRKSRC}/bin/*.exe
- ${FIND} ${WRKSRC} -print0 -type f | ${XARGS} -0 ${CHMOD} og+r
- ${FIND} ${WRKSRC} -print0 -type f -perm +0111 | ${XARGS} -0 ${CHMOD} og+rx
- ${FIND} ${WRKSRC} -print0 -type d | ${XARGS} -0 ${CHMOD} og+rx
${FIND} ${WRKSRC} -name "._*" -delete
do-install:
Modified: head/devel/ocaml-camomile-examples/Makefile
==============================================================================
--- head/devel/ocaml-camomile-examples/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/devel/ocaml-camomile-examples/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -19,9 +19,6 @@ EXAMPLESDIR= ${PREFIX}/share/examples/oc
do-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- @${TAR} -cf- -C ${WRKSRC} . | \
- ${TAR} -xf- -C ${STAGEDIR}${EXAMPLESDIR}
- @${FIND} ${STAGEDIR}${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
- @${FIND} ${STAGEDIR}${EXAMPLESDIR} -exec ${CHOWN} ${SHAREOWN} {} \;
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
Modified: head/devel/py-blist/Makefile
==============================================================================
--- head/devel/py-blist/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/devel/py-blist/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -17,9 +17,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_PYTHON= autoplist distutils
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
do-test:
@(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
Modified: head/devel/py-efilter/Makefile
==============================================================================
--- head/devel/py-efilter/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/devel/py-efilter/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -24,7 +24,6 @@ USES= python
USE_PYTHON= distutils autoplist
post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
@${RM} -r ${WRKSRC}/sample_projects
.include <bsd.port.mk>
Modified: head/devel/py-google-apputils/Makefile
==============================================================================
--- head/devel/py-google-apputils/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/devel/py-google-apputils/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -20,7 +20,4 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gfla
USES= python:2
USE_PYTHON= distutils autoplist
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
Modified: head/devel/py-prettytable/Makefile
==============================================================================
--- head/devel/py-prettytable/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/devel/py-prettytable/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -14,7 +14,4 @@ COMMENT= Library for displaying tabular
USES= python
USE_PYTHON= distutils autoplist
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
Modified: head/devel/py-pydenticon/Makefile
==============================================================================
--- head/devel/py-pydenticon/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/devel/py-pydenticon/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -21,9 +21,6 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
do-test:
@(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
Modified: head/devel/py-zope.minmax/Makefile
==============================================================================
--- head/devel/py-zope.minmax/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/devel/py-zope.minmax/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -19,7 +19,4 @@ RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}
USES= python
USE_PYTHON= distutils autoplist
-post-extract:
- ${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
Modified: head/devel/smake/Makefile
==============================================================================
--- head/devel/smake/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/devel/smake/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -27,7 +27,6 @@ MKLINKS= ${WRKSRC}/RULES/MKLINKS
GCCRULE= ${WRKSRC}/RULES/cc-gcc.rul
pre-build:
- @${CHMOD} +w ${MKLINKS} ${GCCRULE}
@${REINPLACE_CMD} -e 's|gcc$$|${CC}|' ${GCCRULE}
@${ECHO_CMD} "\$$symlink i386-freebsd-cc.rul ${ARCH}-freebsd-${CC}.rul" >> ${MKLINKS}
Modified: head/editors/nvi-devel/Makefile
==============================================================================
--- head/editors/nvi-devel/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/editors/nvi-devel/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -29,13 +29,11 @@ WIDECHAR_CONFIGURE_ON= --enable-widechar
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib
-# configure is 555, so you can't do a "make configure" as non-root.
post-patch:
@${REINPLACE_CMD} -e '/libvi_la_LIBADD =/s,$$, ${ICONV_LIB},' \
${WRKSRC}/../dist/Makefile.in
@${REINPLACE_CMD} -e 's,-ldb,-l${BDB_LIB_NAME},g' \
${WRKSRC}/../dist/configure
- @${CHMOD} 755 ${WRKSRC}/../dist/configure
post-install:
@${RM} ${STAGEDIR}${PREFIX}/man/cat1/*.0
Modified: head/emulators/linux_base-c6/Makefile
==============================================================================
--- head/emulators/linux_base-c6/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/emulators/linux_base-c6/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -126,14 +126,6 @@ SYSCTLMIB= kern.features.linux64
SYSCTLMIB= compat.linux.osrelease
.endif
-post-extract:
-# Fix permissions so a regular user can run make clean.
-.if ${LINUX_ARCH} == x86_64
- @${CHMOD} 755 ${WRKSRC}/usr/lib64/pm-utils
-.else
- @${CHMOD} 755 ${WRKSRC}/usr/lib/pm-utils
-.endif
-
post-patch:
@${RM} -r ${REMOVE_DIRS:S|^|${WRKSRC}/|}
@${RM} ${REMOVE_FILES:S|^|${WRKSRC}/|}
Modified: head/emulators/linux_base-c7/Makefile
==============================================================================
--- head/emulators/linux_base-c7/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/emulators/linux_base-c7/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -149,12 +149,6 @@ post-extract:
@(cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/${DIST_SUBDIR}/filesystem-3.2-20.el7${EXTRACT_SUFX} \
${EXTRACT_AFTER_ARGS})
-# Fix permissions so a regular user can run make clean.
-.if ${LINUX_ARCH} == x86_64
- @${CHMOD} 755 ${WRKSRC}/usr/lib64/pm-utils
-.else
- @${CHMOD} 755 ${WRKSRC}/usr/lib/pm-utils
-.endif
post-patch:
@${RM} -r ${REMOVE_DIRS:S|^|${WRKSRC}/|}
Modified: head/games/alephone-scenarios/Makefile
==============================================================================
--- head/games/alephone-scenarios/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/games/alephone-scenarios/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -142,8 +142,6 @@ pre-install:
.for f in ${AO_PACKS}
@cd ${WRKDIR} && ${SED} -e 's|%%GAMEDIR%%|${f}|' wrapper > alephone-${f}
.endfor
- @cd ${WRKSRC} && \
- ${FIND} . -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
Modified: head/games/duel/Makefile
==============================================================================
--- head/games/duel/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/games/duel/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -31,8 +31,6 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
@${MKDIR} ${STAGEDIR}${DATADIR}
- ${CP} -R ${WRKSRC}/runDir/* ${STAGEDIR}${DATADIR}
- ${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
- ${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} ${BINMODE}
+ cd ${WRKSRC}/runDir && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
Modified: head/games/ember/Makefile
==============================================================================
--- head/games/ember/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/games/ember/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -53,10 +53,8 @@ post-patch:
${WRKSRC}/src/components/ogre/terrain/HeightMap.cpp
post-install:
- (cd ${WRKDIR}/ember-media-${PORTVERSION}/media && ${FIND} . -type f -print | \
- ${CPIO} -pdmu -R${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}/media)
- ${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 0755
- ${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 0644
+ (cd ${WRKDIR}/ember-media-${PORTVERSION}/media && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/media)
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Modified: head/games/linux-nwnclient/Makefile
==============================================================================
--- head/games/linux-nwnclient/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/games/linux-nwnclient/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -89,10 +89,7 @@ do-configure:
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
- (cd ${WRKSRC} && ${FIND} . -print | \
- ${CPIO} -pdmuv -R${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR})
- ${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 0755
- ${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 0644
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
(cd ${STAGEDIR}${DATADIR} && ${CHMOD} 0755 dmclient nwmain nwserver)
.if defined(BINKPLAYERFILE)
(cd ${STAGEDIR}${DATADIR} && ${CHMOD} 0755 nwmovies/BinkPlayer)
Modified: head/games/ptkei/Makefile
==============================================================================
--- head/games/ptkei/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/games/ptkei/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -16,8 +16,6 @@ USES= python
do-build:
@${FIND} ${WRKSRC} -name "*.pyc" -delete
- @${FIND} ${WRKSRC} \( -type f -or -type l \) | ${XARGS} ${CHMOD} 644
- @${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} 2>/dev/null
do-install:
Modified: head/games/quake-dpmod/Makefile
==============================================================================
--- head/games/quake-dpmod/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/games/quake-dpmod/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -23,8 +23,6 @@ DATADIR= ${Q1DIR}/${PORTNAME}
post-extract:
# Remove CVS directories
@${FIND} ${WRKSRC} -type d -name CVS -print0 | ${XARGS} -0 ${RM} -r
-# Fix permissions
- @${CHMOD} go-w ${WRKSRC}/dpmod/progs.dat
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
Modified: head/games/rocksndiamonds-data/Makefile
==============================================================================
--- head/games/rocksndiamonds-data/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/games/rocksndiamonds-data/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -91,7 +91,7 @@ post-extract-script:
.for l in DX_Boulderdash Supaplex
@${FIND} ${WRKDIR}/${PORTNAME}/${l} -name '*.level' | ${XARGS} \
- ${CHMOD} 644
+ ${CHMOD} go-w
.endfor
.for l in ${LEVELS_BD_FANS:S/$/.zip/} Alans_Random_Levels.zip \
Modified: head/games/tuxpaint-config/Makefile
==============================================================================
--- head/games/tuxpaint-config/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/games/tuxpaint-config/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -31,7 +31,4 @@ LDFLAGS+= -L${LOCALBASE}/lib -lintl
OPTIONS_DEFINE= DOCS
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
Modified: head/games/tuxpaint/Makefile
==============================================================================
--- head/games/tuxpaint/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/games/tuxpaint/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -46,7 +46,6 @@ PORTDATA= *
OPTIONS_DEFINE= DOCS
post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
@${RM} -r ${WRKSRC}/fonts/locale/vi_docs
post-patch:
Modified: head/games/xtet42/Makefile
==============================================================================
--- head/games/xtet42/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/games/xtet42/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -15,9 +15,6 @@ CONFIGURE_ARGS= --localstatedir=/var/gam
USE_XORG= x11
ALL_TARGET= ${PORTNAME}
-post-extract:
- @${CHMOD} -R u+w ${WRKSRC}
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xtet42 ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xtet42.6 ${STAGEDIR}${MANPREFIX}/man/man6
Modified: head/graphics/4va/Makefile
==============================================================================
--- head/graphics/4va/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/graphics/4va/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -19,9 +19,6 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}
4VA_DATA_FILES= 16cell.4vd 24cell.4vd 5cell.4vd 600cell.4vd ctor.4vd \
ctor2.4vd hcube.4vd hsph.4vd sin.4vd tripris.4vd
-post-extract:
- @${CHMOD} -R go-x ${WRKSRC}/
-
do-install:
.for file in 4va 4vdmake ctorus cutctorus
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
Modified: head/graphics/blender-doc/Makefile
==============================================================================
--- head/graphics/blender-doc/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/graphics/blender-doc/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -17,9 +17,15 @@ NO_ARCH= yes
SUB_FILES= pkg-message
+.include <bsd.port.pre.mk>
+
post-extract:
- @${CHMOD} u+rwx ${WRKSRC}/* && ${CHMOD} u+rwx ${WRKSRC}/*/* && \
- ${CHMOD} u+rwx ${WRKSRC}/*/*/* && ${CHMOD} u+rwx ${WRKSRC}/*/*/*/*
+.if ${OSVERSION} < 1100077
+# chmod -R bug.
+# Do not use "-exec ... +", because of the same bug, it will not work.
+ @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
+.endif
+
@cd ${WRKSRC}/htmlI/PartAT/volumetrics/gfx/ && \
${RM} -r "Nuova cartella" "Nuova cartella (2)"
@@ -27,4 +33,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/&&${COPYTREE_SHARE} "htmlI htmlII" ${STAGEDIR}${DOCSDIR}/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Modified: head/graphics/seejpeg/Makefile
==============================================================================
--- head/graphics/seejpeg/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/graphics/seejpeg/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -19,7 +19,4 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/seejpeg man/man1/seejpeg.1.gz
-post-extract:
- ${CHMOD} 0644 ${WRKSRC}/Makefile
-
.include <bsd.port.mk>
Modified: head/graphics/xfig/Makefile
==============================================================================
--- head/graphics/xfig/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/graphics/xfig/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -56,10 +56,7 @@ post-extract:
@${RM} ${WRKSRC}/Doc/html/images/pspbrwse.jbf
@${RM} ${WRKSRC}/Libraries/Examples/xfig.exe.stackdump
@${RM} ${WRKSRC}/Libraries/Fasteners/Fasteners.tar
- @cd ${WRKSRC}/Doc && ${FIND} -s . -type d -print0 | ${XARGS} -0 ${CHMOD} a+rx
@cd ${WRKSRC}/Doc && ${FIND} . -type f -print0 | ${XARGS} -0 ${CHMOD} a-x+r
- @${CHMOD} a+rx ${WRKSRC}/Libraries
- @cd ${WRKSRC}/Libraries && ${FIND} -s . -type d -print0 | ${XARGS} -0 ${CHMOD} a+rx
@cd ${WRKSRC}/Libraries && ${FIND} . -type f -print0 | ${XARGS} -0 ${CHMOD} a-x+r
@${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC}
Modified: head/japanese/cmigemo-dict/Makefile
==============================================================================
--- head/japanese/cmigemo-dict/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/japanese/cmigemo-dict/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -27,6 +27,5 @@ LICENSE_DISTFILES= ${SKKDIC_FILE}
post-extract:
${BZCAT} ${DISTDIR}/${DIST_SUBDIR}/${SKKDIC_FILE} > ${WRKSRC}/dict/SKK-JISYO.L
- ${CHMOD} a+x ${WRKSRC}/configure
.include "${MASTERDIR}/Makefile"
Modified: head/japanese/cmigemo/Makefile
==============================================================================
--- head/japanese/cmigemo/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/japanese/cmigemo/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -42,11 +42,6 @@ CONFIGURE_ARGS= --prefix=${STAGEDIR}${PR
INSTALL_TARGET+=gcc-install-doc
.endif
-.if !target(post-extract)
-post-extract:
- ${CHMOD} a+x ${WRKSRC}/configure
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/compile/config.mk.in
Modified: head/lang/gscheme/Makefile
==============================================================================
--- head/lang/gscheme/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/lang/gscheme/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -18,9 +18,6 @@ LICENSE= GPLv2+
USES= gnustep
USE_GNUSTEP= back build
-post-extract:
- @${CHMOD} -R u+w ${WRKSRC}
-
post-patch:
@${REINPLACE_CMD} -e 's|setMark:|setMarkScheme:|' \
${WRKSRC}/SchemeTypes.h ${WRKSRC}/SchemeTypes.m
Modified: head/lang/guile/Makefile
==============================================================================
--- head/lang/guile/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/lang/guile/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -44,7 +44,6 @@ NLS_USES= gettext
NLS_USES_OFF= gettext-tools
post-extract:
- cd ${WRKSRC}; ${CHMOD} u+w ${REINPLACE_FILES}
@${FIND} ${WRKSRC}/doc -name "*.info*" -delete
post-patch:
Modified: head/lang/hla/Makefile
==============================================================================
--- head/lang/hla/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/lang/hla/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -33,11 +33,17 @@ DISTFILES+= HLARef_html${EXTRACT_SUFX} H
DISTFILES+= hello.hla
.endif
+.include <bsd.port.pre.mk>
+
post-extract:
${MKDIR} ${WRKDIR}/stdlib && \
${TAR} -zxf ${_DISTDIR}/bsd.${PORTNAME}.tar.gz -C ${WRKDIR}/stdlib
${CP} ${_DISTDIR}/lex.yy.c ${WRKSRC}
- ${FIND} ${WRKDIR} -type d -exec ${CHMOD} 755 {} \;
+.if ${OSVERSION} < 1100077
+# chmod -R bug.
+# Do not use "-exec ... +", because of the same bug, it will not work.
+ @${FIND} ${WRKDIR} -type d -exec ${CHMOD} 755 {} \;
+.endif
post-extract-TEST-on:
${CP} ${_DISTDIR}/hello.hla ${WRKSRC}
@@ -79,4 +85,4 @@ do-test-TEST-on:
${WRKSRC}/hello \
)
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Modified: head/lang/icc/Makefile
==============================================================================
--- head/lang/icc/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/lang/icc/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -94,8 +94,6 @@ pre-patch: intel-patch
for i in `${CAT} ${FILESDIR}/exclude_noportdocs`; do \
${RM} -r ${WRKSRC}/opt/${COMPILERDIR}/$$i; done
.endif
-# Allow everyone to use it.
- ${CHMOD} a+rx ${WRKSRC}/opt
# Remove unneeded/unsafe access rights.
.for i in doc include lib
${FIND} ${WRKSRC}/opt/${COMPILERDIR}/${i} -type f -print0 | \
Modified: head/lang/mosml/Makefile
==============================================================================
--- head/lang/mosml/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/lang/mosml/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -46,10 +46,8 @@ post-install:
${WRKSRC}/../copyrght/gpl2 \
${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC}/../examples && ${TAR} -cf - --dereference \
- --exclude=\*.orig --exclude=\*.bak --exclude=\*.w32 * | \
- ${TAR} -xf - -C "${STAGEDIR}${EXAMPLESDIR}"
- @${FIND} ${STAGEDIR}${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+ cd ${WRKSRC}/../examples && ${COPYTREE_SHARE} . "${STAGEDIR}${EXAMPLESDIR}" \
+ '-not ( -name *\.orig -o -name *\.bak -o -name *\.w32 )'
@${REINPLACE_CMD} -i '' -e 's|${STAGEDIR}||' \
${STAGEDIR}${PREFIX}/lib/mosml/header
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mosml/lib*.so
Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/lang/rust/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -118,7 +118,6 @@ pre-fetch:
post-extract:
@${MKDIR} ${WRKSRC}/dl
${LN} -sf ${DISTDIR}/${RUST_BOOT} ${WRKSRC}/dl
- ${FIND} ${WRKSRC} -type d -exec ${CHMOD} 0755 {} +
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
Modified: head/lang/squirrel/Makefile
==============================================================================
--- head/lang/squirrel/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/lang/squirrel/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -25,10 +25,6 @@ CFLAGS+= -fPIC
ALL_TARGET= sq32
.endif
-post-extract:
- @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
- @${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \;
-
post-patch:
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
-e '/^MAKE/d; s|gcc|$${CC}|; s|-O2|$${CFLAGS}|; s|g++|$${CXX}|' \
Modified: head/mail/alpine/Makefile
==============================================================================
--- head/mail/alpine/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/mail/alpine/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -123,9 +123,6 @@ PATCH_DIST_ARGS+= -E --quiet -d ${PATCH_
EXTRA_PATCHES= ${FILESDIR}/cons25-alpine_keymenu.c
.endif
-pre-patch:
- @${CHMOD} -R u+w ${WRKSRC}
-
post-patch:
@${CP} ${WRKSRC}/imap/Makefile ${WRKSRC}/imap/Makefile.presed
@${SED} -e "s#^\(all:.*\) bundled\$$#\1#" \
Modified: head/mail/gotmail/Makefile
==============================================================================
--- head/mail/gotmail/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/mail/gotmail/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -26,8 +26,13 @@ PLIST_FILES= bin/gotmail man/man1/gotmai
OPTIONS_DEFINE= DOCS
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1100077
+# chmod -R bug
post-extract:
@${CHMOD} 755 ${WRKSRC}
+.endif
do-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \
@@ -40,4 +45,4 @@ do-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Modified: head/mail/libspf/Makefile
==============================================================================
--- head/mail/libspf/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/mail/libspf/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -41,9 +41,6 @@ CONFIGURE_ARGS+= --enable-logfile-stats
CONFIGURE_ARGS+= --enable-debug
.endif
-post-extract:
- @${CHMOD} u+w ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Modified: head/mail/py-spambayes/Makefile
==============================================================================
--- head/mail/py-spambayes/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/mail/py-spambayes/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -45,9 +45,6 @@ PORTDOCS= CHANGELOG.txt \
utilities/ \
contrib/
-post-extract:
- @${CHMOD} -Rf u+w ${WRKSRC}
-
post-patch:
@${REINPLACE_CMD} -e \
'/persistent_storage_file/s|hammie.db|${DBDIR}/hammie.db|' \
Modified: head/mail/qpopper/Makefile
==============================================================================
--- head/mail/qpopper/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/mail/qpopper/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -141,9 +141,6 @@ post-patch:
${WRKSRC}/popper/main.c
.endif
-pre-configure:
- @(cd ${WRKSRC}; ${CHMOD} u+w configure*)
-
do-install:
.if ${PORT_OPTIONS:MAPOP}
${INSTALL_PROGRAM} ${WRKSRC}/popper/popauth ${STAGEDIR}${PREFIX}/bin/qpopauth
Modified: head/mail/rss2email2/Makefile
==============================================================================
--- head/mail/rss2email2/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/mail/rss2email2/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -30,10 +30,6 @@ PORTEXAMPLES= config.py.example
OPTIONS_DEFINE= EXAMPLES
-post-extract:
- @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
- @${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \;
-
post-patch:
@${REINPLACE_CMD} -e 's|@PYTHONCMD@|${PYTHON_CMD}|;s|@DATADIR@|${DATADIR}|'\
${WRKSRC}/r2e
@@ -46,4 +42,12 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/r2e ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/config.py.example ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1100077
+# chmod -R bug.
+post-extract:
+ @${CHMOD} 0755 ${WRKSRC}
+.endif
+
+.include <bsd.port.post.mk>
Modified: head/math/p5-Statistics-LineFit/Makefile
==============================================================================
--- head/math/p5-Statistics-LineFit/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/math/p5-Statistics-LineFit/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -15,7 +15,4 @@ USES= perl5
USE_PERL5= configure
WRKSRC= ${WRKDIR}/${PORTNAME}
-post-extract:
- ${CHMOD} 755 ${WRKSRC}
-
.include <bsd.port.mk>
Modified: head/math/py-theano/Makefile
==============================================================================
--- head/math/py-theano/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/math/py-theano/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -21,7 +21,4 @@ USE_PYTHON= concurrent distutils autopli
SUB_FILES= pkg-message
SUB_LIST= CXX=${CXX}
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
Modified: head/misc/py-progressbar/Makefile
==============================================================================
--- head/misc/py-progressbar/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/misc/py-progressbar/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -16,7 +16,4 @@ LICENSE= BSD3CLAUSE
USE_PYTHON= autoplist distutils
USES= python:2.7
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
Modified: head/net-mgmt/phpweathermap/Makefile
==============================================================================
--- head/net-mgmt/phpweathermap/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/net-mgmt/phpweathermap/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -59,8 +59,6 @@ do-install:
do-install-EXAMPLES-on:
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "random-bits" ${STAGEDIR}/${EXAMPLESDIR})
- ${FIND} ${STAGEDIR}/${EXAMPLESDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
- ${FIND} ${STAGEDIR}/${EXAMPLESDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
Modified: head/net-p2p/gtk-gnutella/Makefile
==============================================================================
--- head/net-p2p/gtk-gnutella/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/net-p2p/gtk-gnutella/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -56,9 +56,6 @@ TLS_CONFIGURE_OFF= -Ud_gnutls
CONFIGURE_ARGS+= -ders
.endif
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.SH" | ${XARGS} ${REINPLACE_CMD} -e \
's|@exit 0|@echo done|'
Modified: head/net/abills/Makefile
==============================================================================
--- head/net/abills/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/net/abills/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -37,10 +37,7 @@ post-patch:
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/abills
- @(${TAR} -C ${WRKSRC} --exclude "*.DS*" --exclude "*.bak" \
- --exclude "*.orig" -cf - . | ${TAR} -C ${STAGEDIR}${PREFIX}/abills \
- --unlink -xf -)
- @${FIND} ${STAGEDIR}${PREFIX}/abills -type d | ${XARGS} ${CHMOD} a+rx
- @${FIND} ${STAGEDIR}${PREFIX}/abills -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/abills \
+ '-not ( -name *\.DS* -o -name *\.bak -o -name *\.orig )'
.include <bsd.port.mk>
Modified: head/net/binkd/Makefile
==============================================================================
--- head/net/binkd/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/net/binkd/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -24,7 +24,6 @@ HTTPS_CONFIGURE_WITH= https
pre-configure:
@${RM} -r ${WRKSRC}/mkfls/unix/CVS
@${CP} ${WRKSRC}/mkfls/unix/* ${WRKSRC}/
- @${CHMOD} a+x ${WRKSRC}/configure
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/binkd ${STAGEDIR}${PREFIX}/sbin
Modified: head/net/samba36/Makefile
==============================================================================
--- head/net/samba36/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/net/samba36/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -477,10 +477,6 @@ INSTALL_TARGET= installservers installbi
INSTALL_TARGET+=installswat
.endif
-pre-configure:
- @${FIND} ${WRKDIR}/${DISTNAME} -type d | ${XARGS} ${CHMOD} u+w,a+rx
- @${FIND} ${WRKDIR}/${DISTNAME} -type f | ${XARGS} ${CHMOD} u+w,a+r
-
post-configure:
# It's in another port
@${RM} ${WRKDIR}/${DISTNAME}/docs/htmldocs/manpages/libsmbclient.7.html
Modified: head/net/ssspl/Makefile
==============================================================================
--- head/net/ssspl/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/net/ssspl/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -25,7 +25,6 @@ do-extract:
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
do-install:
- ${CHMOD} +x ${WRKSRC}/${DISTFILES}
${INSTALL_PROGRAM} ${WRKSRC}/${DISTFILES} ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>
Modified: head/science/silo/Makefile
==============================================================================
--- head/science/silo/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/science/silo/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -43,9 +43,6 @@ QT4_VARS= QT_NONSTANDARD=yes
QT4_DESKTOP_ENTRIES= "Silex" "Silex browser for Silo files" \
"" "silex" "" true
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
post-patch:
@${REINPLACE_CMD} -e \
's|\(_Qt_dir/include\)"|\1/qt4"| ; \
Modified: head/security/apg/Makefile
==============================================================================
--- head/security/apg/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/security/apg/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -20,10 +20,6 @@ CRACKLIB_DESC= CrackLib support for pass
CRACKLIB_LIB_DEPENDS= libcrack.so:security/cracklib
CRACKLIB_MAKE_ARGS= -DWITH_CRACKLIB
-post-extract:
- @${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} u+wx
- @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} u+w
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/apg ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/apgbfm ${STAGEDIR}${PREFIX}/bin
Modified: head/security/bugs/Makefile
==============================================================================
--- head/security/bugs/Makefile Wed Nov 2 22:10:25 2016 (r425173)
+++ head/security/bugs/Makefile Wed Nov 2 22:45:14 2016 (r425174)
@@ -25,8 +25,6 @@ DOCSDIR= ${PREFIX}/${DISTNAME}/doc
OPTIONS_DEFINE= DOCS
post-patch:
-# Sanitize permissions so "make clean" can work
- @${CHMOD} +x ${WRKSRC}/lib/unix ${WRKSRC}/lib/windows
# Allow parallel builds (-jX): fix make(1) syntax, register dependencies
@${REINPLACE_CMD} -E 's+cd (.*); make+$$(MAKE) -C \1+' \
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-ports-head
mailing list