summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-11-02 22:45:14 +0000
committermat <mat@FreeBSD.org>2016-11-02 22:45:14 +0000
commitd9ec328e16b795889ee8d72196228f00a0a3393a (patch)
treeadf234bd1f2e56ae130e9960e1467b64c9fa0ed6
parent759b32261f3c119f1062868d580795d19060e71b (diff)
downloadFreeBSD-ports-d9ec328e16b795889ee8d72196228f00a0a3393a.zip
FreeBSD-ports-d9ec328e16b795889ee8d72196228f00a0a3393a.tar.gz
Cleanup no longer needed CHMOD usage after r424898.
PR: 213743 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight
-rw-r--r--audio/festdoc/Makefile2
-rw-r--r--audio/festlex-oald/Makefile4
-rw-r--r--audio/festlex-ogi/Makefile4
-rw-r--r--audio/festvox-don/Makefile4
-rw-r--r--audio/festvox-el11/Makefile4
-rw-r--r--audio/festvox-kal8/Makefile4
-rw-r--r--audio/festvox-ked16/Makefile4
-rw-r--r--audio/festvox-ked8/Makefile4
-rw-r--r--audio/festvox-rab16/Makefile4
-rw-r--r--audio/festvox-rab8/Makefile4
-rw-r--r--audio/festvox-russian/Makefile4
-rw-r--r--audio/vorbisgain/Makefile3
-rw-r--r--audio/xmcd/Makefile3
-rw-r--r--biology/libsbml/Makefile5
-rw-r--r--biology/ncbi-toolkit/Makefile6
-rw-r--r--biology/paml/Makefile3
-rw-r--r--biology/tinker/Makefile3
-rw-r--r--chinese/opendesktop-fonts/Makefile3
-rw-r--r--converters/chmview/Makefile3
-rw-r--r--converters/p5-Unicode-IMAPUtf7/Makefile7
-rw-r--r--deskutils/simplegroupware/Makefile14
-rw-r--r--devel/cvschangelogbuilder/Makefile14
-rw-r--r--devel/erlang-esdl/Makefile3
-rw-r--r--devel/flex-sdk/Makefile3
-rw-r--r--devel/ocaml-camomile-examples/Makefile5
-rw-r--r--devel/py-blist/Makefile3
-rw-r--r--devel/py-efilter/Makefile1
-rw-r--r--devel/py-google-apputils/Makefile3
-rw-r--r--devel/py-prettytable/Makefile3
-rw-r--r--devel/py-pydenticon/Makefile3
-rw-r--r--devel/py-zope.minmax/Makefile3
-rw-r--r--devel/smake/Makefile1
-rw-r--r--editors/nvi-devel/Makefile2
-rw-r--r--emulators/linux_base-c6/Makefile8
-rw-r--r--emulators/linux_base-c7/Makefile6
-rw-r--r--games/alephone-scenarios/Makefile2
-rw-r--r--games/duel/Makefile4
-rw-r--r--games/ember/Makefile6
-rw-r--r--games/linux-nwnclient/Makefile5
-rw-r--r--games/ptkei/Makefile2
-rw-r--r--games/quake-dpmod/Makefile2
-rw-r--r--games/rocksndiamonds-data/Makefile2
-rw-r--r--games/tuxpaint-config/Makefile3
-rw-r--r--games/tuxpaint/Makefile1
-rw-r--r--games/xtet42/Makefile3
-rw-r--r--graphics/4va/Makefile3
-rw-r--r--graphics/blender-doc/Makefile12
-rw-r--r--graphics/seejpeg/Makefile3
-rw-r--r--graphics/xfig/Makefile3
-rw-r--r--japanese/cmigemo-dict/Makefile1
-rw-r--r--japanese/cmigemo/Makefile5
-rw-r--r--lang/gscheme/Makefile3
-rw-r--r--lang/guile/Makefile1
-rw-r--r--lang/hla/Makefile10
-rw-r--r--lang/icc/Makefile2
-rw-r--r--lang/mosml/Makefile6
-rw-r--r--lang/rust/Makefile1
-rw-r--r--lang/squirrel/Makefile4
-rw-r--r--mail/alpine/Makefile3
-rw-r--r--mail/gotmail/Makefile7
-rw-r--r--mail/libspf/Makefile3
-rw-r--r--mail/py-spambayes/Makefile3
-rw-r--r--mail/qpopper/Makefile3
-rw-r--r--mail/rss2email2/Makefile14
-rw-r--r--math/p5-Statistics-LineFit/Makefile3
-rw-r--r--math/py-theano/Makefile3
-rw-r--r--misc/py-progressbar/Makefile3
-rw-r--r--net-mgmt/phpweathermap/Makefile2
-rw-r--r--net-p2p/gtk-gnutella/Makefile3
-rw-r--r--net/abills/Makefile7
-rw-r--r--net/binkd/Makefile1
-rw-r--r--net/samba36/Makefile4
-rw-r--r--net/ssspl/Makefile1
-rw-r--r--science/silo/Makefile3
-rw-r--r--security/apg/Makefile4
-rw-r--r--security/bugs/Makefile2
-rw-r--r--security/py-oauthlib/Makefile3
-rw-r--r--security/py-pyaff4/Makefile3
-rw-r--r--security/py-rekall-core/Makefile3
-rw-r--r--security/py-rekall/Makefile3
-rw-r--r--security/py-rekall_gui/Makefile3
-rw-r--r--security/secure_delete/Makefile3
-rw-r--r--sysutils/dirvish/Makefile2
-rw-r--r--sysutils/e2fsprogs/Makefile4
-rw-r--r--sysutils/linux-nero/Makefile5
-rw-r--r--sysutils/vobcopy/Makefile3
-rw-r--r--textproc/jade/Makefile3
-rw-r--r--textproc/p5-Text-RecordParser/Makefile4
-rw-r--r--textproc/p5-XML-Handler-Trees/Makefile3
-rw-r--r--textproc/p5-XML-Parser/Makefile3
-rw-r--r--textproc/py-Chameleon/Makefile3
-rw-r--r--textproc/py-cloud_sptheme/Makefile3
-rw-r--r--textproc/py-diff-match-patch/Makefile3
-rw-r--r--www/coppermine/Makefile3
-rw-r--r--www/php-plurk-api/Makefile2
-rw-r--r--www/phprecipebook/Makefile3
-rw-r--r--www/pivotx/Makefile8
-rw-r--r--www/piwigo/Makefile4
-rw-r--r--www/py-WebError/Makefile3
-rw-r--r--www/py-flask-bootstrap/Makefile3
-rw-r--r--www/py-httplib2/Makefile3
-rw-r--r--www/py-wsgiauth/Makefile3
-rw-r--r--www/rubygem-robots/Makefile3
-rw-r--r--www/trac-watchlist/Makefile4
-rw-r--r--www/webgrind/Makefile3
-rw-r--r--x11-themes/gtk-digital-cream-theme/Makefile3
-rw-r--r--x11-themes/gtk-digital-harmony-theme/Makefile1
-rw-r--r--x11-themes/gtk-longhorninspirat-theme/Makefile1
-rw-r--r--x11-themes/gtk-milk-theme/Makefile3
-rw-r--r--x11-toolkits/gnocl/Makefile3
110 files changed, 74 insertions, 336 deletions
diff --git a/audio/festdoc/Makefile b/audio/festdoc/Makefile
index 07542cb..8169f08 100644
--- a/audio/festdoc/Makefile
+++ b/audio/festdoc/Makefile
@@ -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
diff --git a/audio/festlex-oald/Makefile b/audio/festlex-oald/Makefile
index d86528a..72cb109c 100644
--- a/audio/festlex-oald/Makefile
+++ b/audio/festlex-oald/Makefile
@@ -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}
diff --git a/audio/festlex-ogi/Makefile b/audio/festlex-ogi/Makefile
index ae1a080..8ca71cd 100644
--- a/audio/festlex-ogi/Makefile
+++ b/audio/festlex-ogi/Makefile
@@ -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}
diff --git a/audio/festvox-don/Makefile b/audio/festvox-don/Makefile
index 3daa4e5..d734385 100644
--- a/audio/festvox-don/Makefile
+++ b/audio/festvox-don/Makefile
@@ -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}
diff --git a/audio/festvox-el11/Makefile b/audio/festvox-el11/Makefile
index b34efb4..f54ee9a 100644
--- a/audio/festvox-el11/Makefile
+++ b/audio/festvox-el11/Makefile
@@ -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}
diff --git a/audio/festvox-kal8/Makefile b/audio/festvox-kal8/Makefile
index 03d159b3..8332378 100644
--- a/audio/festvox-kal8/Makefile
+++ b/audio/festvox-kal8/Makefile
@@ -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}
diff --git a/audio/festvox-ked16/Makefile b/audio/festvox-ked16/Makefile
index e91c0f5..6147ea5 100644
--- a/audio/festvox-ked16/Makefile
+++ b/audio/festvox-ked16/Makefile
@@ -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}
diff --git a/audio/festvox-ked8/Makefile b/audio/festvox-ked8/Makefile
index bdd70aa..003c2ed 100644
--- a/audio/festvox-ked8/Makefile
+++ b/audio/festvox-ked8/Makefile
@@ -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}
diff --git a/audio/festvox-rab16/Makefile b/audio/festvox-rab16/Makefile
index 64aa59b..20e743c 100644
--- a/audio/festvox-rab16/Makefile
+++ b/audio/festvox-rab16/Makefile
@@ -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}
diff --git a/audio/festvox-rab8/Makefile b/audio/festvox-rab8/Makefile
index 5031f61..fbf1a00 100644
--- a/audio/festvox-rab8/Makefile
+++ b/audio/festvox-rab8/Makefile
@@ -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}
diff --git a/audio/festvox-russian/Makefile b/audio/festvox-russian/Makefile
index fa5a6fa..abc770f 100644
--- a/audio/festvox-russian/Makefile
+++ b/audio/festvox-russian/Makefile
@@ -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})
diff --git a/audio/vorbisgain/Makefile b/audio/vorbisgain/Makefile
index 22a3981..6e62de6 100644
--- a/audio/vorbisgain/Makefile
+++ b/audio/vorbisgain/Makefile
@@ -24,7 +24,4 @@ PLIST_FILES= bin/vorbisgain \
RECURSIVE_CONFIGURE_ARGS= --enable-recursive
-pre-configure:
- @${CHMOD} +x ${WRKSRC}/configure
-
.include <bsd.port.mk>
diff --git a/audio/xmcd/Makefile b/audio/xmcd/Makefile
index 8567c3d..b9b61c5a 100644
--- a/audio/xmcd/Makefile
+++ b/audio/xmcd/Makefile
@@ -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
diff --git a/biology/libsbml/Makefile b/biology/libsbml/Makefile
index c665da5..953e832 100644
--- a/biology/libsbml/Makefile
+++ b/biology/libsbml/Makefile
@@ -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>
diff --git a/biology/ncbi-toolkit/Makefile b/biology/ncbi-toolkit/Makefile
index 4a8d980..21b24c6 100644
--- a/biology/ncbi-toolkit/Makefile
+++ b/biology/ncbi-toolkit/Makefile
@@ -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>
diff --git a/biology/paml/Makefile b/biology/paml/Makefile
index fa3b8c5..1219b72 100644
--- a/biology/paml/Makefile
+++ b/biology/paml/Makefile
@@ -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:
diff --git a/biology/tinker/Makefile b/biology/tinker/Makefile
index 76c17c9..8ae6a47 100644
--- a/biology/tinker/Makefile
+++ b/biology/tinker/Makefile
@@ -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
diff --git a/chinese/opendesktop-fonts/Makefile b/chinese/opendesktop-fonts/Makefile
index 33821b6..640e1d6 100644
--- a/chinese/opendesktop-fonts/Makefile
+++ b/chinese/opendesktop-fonts/Makefile
@@ -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' \
diff --git a/converters/chmview/Makefile b/converters/chmview/Makefile
index e35b0d6..5a528f3 100644
--- a/converters/chmview/Makefile
+++ b/converters/chmview/Makefile
@@ -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>
diff --git a/converters/p5-Unicode-IMAPUtf7/Makefile b/converters/p5-Unicode-IMAPUtf7/Makefile
index 9d472f3..4098ddd 100644
--- a/converters/p5-Unicode-IMAPUtf7/Makefile
+++ b/converters/p5-Unicode-IMAPUtf7/Makefile
@@ -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>
diff --git a/deskutils/simplegroupware/Makefile b/deskutils/simplegroupware/Makefile
index c19c9bb..73d639e 100644
--- a/deskutils/simplegroupware/Makefile
+++ b/deskutils/simplegroupware/Makefile
@@ -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>
diff --git a/devel/cvschangelogbuilder/Makefile b/devel/cvschangelogbuilder/Makefile
index 3c3910f..9e5a3ab 100644
--- a/devel/cvschangelogbuilder/Makefile
+++ b/devel/cvschangelogbuilder/Makefile
@@ -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>
diff --git a/devel/erlang-esdl/Makefile b/devel/erlang-esdl/Makefile
index e44abf6..5a45f0a 100644
--- a/devel/erlang-esdl/Makefile
+++ b/devel/erlang-esdl/Makefile
@@ -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}
diff --git a/devel/flex-sdk/Makefile b/devel/flex-sdk/Makefile
index 9c85ff5..0a5a71f 100644
--- a/devel/flex-sdk/Makefile
+++ b/devel/flex-sdk/Makefile
@@ -24,9 +24,6 @@ SCRIPTS= aasdoc acompc amxmlc asdoc compc copylocale digest \
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:
diff --git a/devel/ocaml-camomile-examples/Makefile b/devel/ocaml-camomile-examples/Makefile
index bda49f3..092ca01 100644
--- a/devel/ocaml-camomile-examples/Makefile
+++ b/devel/ocaml-camomile-examples/Makefile
@@ -19,9 +19,6 @@ EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
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>
diff --git a/devel/py-blist/Makefile b/devel/py-blist/Makefile
index 81eef80..c78de56 100644
--- a/devel/py-blist/Makefile
+++ b/devel/py-blist/Makefile
@@ -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)
diff --git a/devel/py-efilter/Makefile b/devel/py-efilter/Makefile
index c3c8ae6..ecebeba 100644
--- a/devel/py-efilter/Makefile
+++ b/devel/py-efilter/Makefile
@@ -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>
diff --git a/devel/py-google-apputils/Makefile b/devel/py-google-apputils/Makefile
index 7c70e0c..c261312 100644
--- a/devel/py-google-apputils/Makefile
+++ b/devel/py-google-apputils/Makefile
@@ -20,7 +20,4 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gflags>2:devel/py-gflags \
USES= python:2
USE_PYTHON= distutils autoplist
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/devel/py-prettytable/Makefile b/devel/py-prettytable/Makefile
index 3fb4755..0099586 100644
--- a/devel/py-prettytable/Makefile
+++ b/devel/py-prettytable/Makefile
@@ -14,7 +14,4 @@ COMMENT= Library for displaying tabular data in an ASCII table format
USES= python
USE_PYTHON= distutils autoplist
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/devel/py-pydenticon/Makefile b/devel/py-pydenticon/Makefile
index e817800..76102fb 100644
--- a/devel/py-pydenticon/Makefile
+++ b/devel/py-pydenticon/Makefile
@@ -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)
diff --git a/devel/py-zope.minmax/Makefile b/devel/py-zope.minmax/Makefile
index eb4de00..7cf83a6 100644
--- a/devel/py-zope.minmax/Makefile
+++ b/devel/py-zope.minmax/Makefile
@@ -19,7 +19,4 @@ RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:databases/zodb3 \
USES= python
USE_PYTHON= distutils autoplist
-post-extract:
- ${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/devel/smake/Makefile b/devel/smake/Makefile
index 0db1d6c..3f0154a 100644
--- a/devel/smake/Makefile
+++ b/devel/smake/Makefile
@@ -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}
diff --git a/editors/nvi-devel/Makefile b/editors/nvi-devel/Makefile
index 76cb301..77ab857 100644
--- a/editors/nvi-devel/Makefile
+++ b/editors/nvi-devel/Makefile
@@ -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
diff --git a/emulators/linux_base-c6/Makefile b/emulators/linux_base-c6/Makefile
index c9dd954..61696e5 100644
--- a/emulators/linux_base-c6/Makefile
+++ b/emulators/linux_base-c6/Makefile
@@ -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}/|}
diff --git a/emulators/linux_base-c7/Makefile b/emulators/linux_base-c7/Makefile
index c0db48f..9d2c0d1 100644
--- a/emulators/linux_base-c7/Makefile
+++ b/emulators/linux_base-c7/Makefile
@@ -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}/|}
diff --git a/games/alephone-scenarios/Makefile b/games/alephone-scenarios/Makefile
index 0752bf5..7905c76 100644
--- a/games/alephone-scenarios/Makefile
+++ b/games/alephone-scenarios/Makefile
@@ -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}
diff --git a/games/duel/Makefile b/games/duel/Makefile
index d94d2ea..6d23682 100644
--- a/games/duel/Makefile
+++ b/games/duel/Makefile
@@ -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>
diff --git a/games/ember/Makefile b/games/ember/Makefile
index 0683360..26df690 100644
--- a/games/ember/Makefile
+++ b/games/ember/Makefile
@@ -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}
diff --git a/games/linux-nwnclient/Makefile b/games/linux-nwnclient/Makefile
index 031f849..31be7ee 100644
--- a/games/linux-nwnclient/Makefile
+++ b/games/linux-nwnclient/Makefile
@@ -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)
diff --git a/games/ptkei/Makefile b/games/ptkei/Makefile
index 97044cc..d171bf7 100644
--- a/games/ptkei/Makefile
+++ b/games/ptkei/Makefile
@@ -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:
diff --git a/games/quake-dpmod/Makefile b/games/quake-dpmod/Makefile
index 2bae302..be466d0 100644
--- a/games/quake-dpmod/Makefile
+++ b/games/quake-dpmod/Makefile
@@ -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}
diff --git a/games/rocksndiamonds-data/Makefile b/games/rocksndiamonds-data/Makefile
index 5035ed8..5aec553 100644
--- a/games/rocksndiamonds-data/Makefile
+++ b/games/rocksndiamonds-data/Makefile
@@ -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 \
diff --git a/games/tuxpaint-config/Makefile b/games/tuxpaint-config/Makefile
index 7230ab5..45dcb68 100644
--- a/games/tuxpaint-config/Makefile
+++ b/games/tuxpaint-config/Makefile
@@ -31,7 +31,4 @@ LDFLAGS+= -L${LOCALBASE}/lib -lintl
OPTIONS_DEFINE= DOCS
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile
index b402e45..4a1442b 100644
--- a/games/tuxpaint/Makefile
+++ b/games/tuxpaint/Makefile
@@ -46,7 +46,6 @@ PORTDATA= *
OPTIONS_DEFINE= DOCS
post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
@${RM} -r ${WRKSRC}/fonts/locale/vi_docs
post-patch:
diff --git a/games/xtet42/Makefile b/games/xtet42/Makefile
index ff49749..4de1af7 100644
--- a/games/xtet42/Makefile
+++ b/games/xtet42/Makefile
@@ -15,9 +15,6 @@ CONFIGURE_ARGS= --localstatedir=/var/games
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
diff --git a/graphics/4va/Makefile b/graphics/4va/Makefile
index 53a5608..8d5dd10 100644
--- a/graphics/4va/Makefile
+++ b/graphics/4va/Makefile
@@ -19,9 +19,6 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
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
diff --git a/graphics/blender-doc/Makefile b/graphics/blender-doc/Makefile
index b4d15fe..238be4d 100644
--- a/graphics/blender-doc/Makefile
+++ b/graphics/blender-doc/Makefile
@@ -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>
diff --git a/graphics/seejpeg/Makefile b/graphics/seejpeg/Makefile
index 0634dfb..116f928 100644
--- a/graphics/seejpeg/Makefile
+++ b/graphics/seejpeg/Makefile
@@ -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>
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index 62c35bb..f88b91e 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -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}
diff --git a/japanese/cmigemo-dict/Makefile b/japanese/cmigemo-dict/Makefile
index 0e4c419..65f0d93 100644
--- a/japanese/cmigemo-dict/Makefile
+++ b/japanese/cmigemo-dict/Makefile
@@ -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"
diff --git a/japanese/cmigemo/Makefile b/japanese/cmigemo/Makefile
index ace9239..dedd95c 100644
--- a/japanese/cmigemo/Makefile
+++ b/japanese/cmigemo/Makefile
@@ -42,11 +42,6 @@ CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX}
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
diff --git a/lang/gscheme/Makefile b/lang/gscheme/Makefile
index 39e9d8d..eeef15b 100644
--- a/lang/gscheme/Makefile
+++ b/lang/gscheme/Makefile
@@ -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
diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index 503da58..f32cf96 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -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:
diff --git a/lang/hla/Makefile b/lang/hla/Makefile
index 1cf4d49..4d1d395 100644
--- a/lang/hla/Makefile
+++ b/lang/hla/Makefile
@@ -33,11 +33,17 @@ DISTFILES+= HLARef_html${EXTRACT_SUFX} HLAstdlib_html${EXTRACT_SUFX}
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>
diff --git a/lang/icc/Makefile b/lang/icc/Makefile
index 7da2a6f..4cdab4c 100644
--- a/lang/icc/Makefile
+++ b/lang/icc/Makefile
@@ -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 | \
diff --git a/lang/mosml/Makefile b/lang/mosml/Makefile
index 959bac4..64472d0 100644
--- a/lang/mosml/Makefile
+++ b/lang/mosml/Makefile
@@ -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
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 29baa44..f295a0f 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -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}|' \
diff --git a/lang/squirrel/Makefile b/lang/squirrel/Makefile
index b35f955..9aea441 100644
--- a/lang/squirrel/Makefile
+++ b/lang/squirrel/Makefile
@@ -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}|' \
diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile
index bbac38e..f55347e 100644
--- a/mail/alpine/Makefile
+++ b/mail/alpine/Makefile
@@ -123,9 +123,6 @@ PATCH_DIST_ARGS+= -E --quiet -d ${PATCH_WRKSRC} -p1
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#" \
diff --git a/mail/gotmail/Makefile b/mail/gotmail/Makefile
index 942ccd1..3e672fa 100644
--- a/mail/gotmail/Makefile
+++ b/mail/gotmail/Makefile
@@ -26,8 +26,13 @@ PLIST_FILES= bin/gotmail man/man1/gotmail.1.gz
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>
diff --git a/mail/libspf/Makefile b/mail/libspf/Makefile
index 6b495fc..f43ffb8 100644
--- a/mail/libspf/Makefile
+++ b/mail/libspf/Makefile
@@ -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}
diff --git a/mail/py-spambayes/Makefile b/mail/py-spambayes/Makefile
index a39c2d8..773c439 100644
--- a/mail/py-spambayes/Makefile
+++ b/mail/py-spambayes/Makefile
@@ -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|' \
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 319df4a..9f36fb0d 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -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
diff --git a/mail/rss2email2/Makefile b/mail/rss2email2/Makefile
index ee60124..141c2a2 100644
--- a/mail/rss2email2/Makefile
+++ b/mail/rss2email2/Makefile
@@ -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>
diff --git a/math/p5-Statistics-LineFit/Makefile b/math/p5-Statistics-LineFit/Makefile
index e5bd7bb..32b8248 100644
--- a/math/p5-Statistics-LineFit/Makefile
+++ b/math/p5-Statistics-LineFit/Makefile
@@ -15,7 +15,4 @@ USES= perl5
USE_PERL5= configure
WRKSRC= ${WRKDIR}/${PORTNAME}
-post-extract:
- ${CHMOD} 755 ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/math/py-theano/Makefile b/math/py-theano/Makefile
index 96bbb60..8701f01 100644
--- a/math/py-theano/Makefile
+++ b/math/py-theano/Makefile
@@ -21,7 +21,4 @@ USE_PYTHON= concurrent distutils autoplist
SUB_FILES= pkg-message
SUB_LIST= CXX=${CXX}
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/misc/py-progressbar/Makefile b/misc/py-progressbar/Makefile
index 121fe1c..fa15ece 100644
--- a/misc/py-progressbar/Makefile
+++ b/misc/py-progressbar/Makefile
@@ -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>
diff --git a/net-mgmt/phpweathermap/Makefile b/net-mgmt/phpweathermap/Makefile
index 92ba2b8..47a86d1 100644
--- a/net-mgmt/phpweathermap/Makefile
+++ b/net-mgmt/phpweathermap/Makefile
@@ -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}
diff --git a/net-p2p/gtk-gnutella/Makefile b/net-p2p/gtk-gnutella/Makefile
index 32fabcb..76b2b5e 100644
--- a/net-p2p/gtk-gnutella/Makefile
+++ b/net-p2p/gtk-gnutella/Makefile
@@ -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|'
diff --git a/net/abills/Makefile b/net/abills/Makefile
index 95c0305..267e1c0 100644
--- a/net/abills/Makefile
+++ b/net/abills/Makefile
@@ -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>
diff --git a/net/binkd/Makefile b/net/binkd/Makefile
index 590e1b2..07b0e2c 100644
--- a/net/binkd/Makefile
+++ b/net/binkd/Makefile
@@ -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
diff --git a/net/samba36/Makefile b/net/samba36/Makefile
index ec185e5..5119d63 100644
--- a/net/samba36/Makefile
+++ b/net/samba36/Makefile
@@ -477,10 +477,6 @@ INSTALL_TARGET= installservers installbin installscripts installdat \
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
diff --git a/net/ssspl/Makefile b/net/ssspl/Makefile
index 9899beb..9b6100f 100644
--- a/net/ssspl/Makefile
+++ b/net/ssspl/Makefile
@@ -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>
diff --git a/science/silo/Makefile b/science/silo/Makefile
index c871280..aaf260e 100644
--- a/science/silo/Makefile
+++ b/science/silo/Makefile
@@ -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"| ; \
diff --git a/security/apg/Makefile b/security/apg/Makefile
index 775c66b..010ff6c 100644
--- a/security/apg/Makefile
+++ b/security/apg/Makefile
@@ -20,10 +20,6 @@ CRACKLIB_DESC= CrackLib support for password quality
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
diff --git a/security/bugs/Makefile b/security/bugs/Makefile
index c300353..fee76b5 100644
--- a/security/bugs/Makefile
+++ b/security/bugs/Makefile
@@ -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+' \
${WRKSRC}/Makefile.bsd
diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile
index 36d6413..523dc6e 100644
--- a/security/py-oauthlib/Makefile
+++ b/security/py-oauthlib/Makefile
@@ -42,9 +42,6 @@ TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2 \
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
.endif
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
diff --git a/security/py-pyaff4/Makefile b/security/py-pyaff4/Makefile
index a5421de..adaa6e5 100644
--- a/security/py-pyaff4/Makefile
+++ b/security/py-pyaff4/Makefile
@@ -20,9 +20,6 @@ NO_ARCH= yes
USES= python zip
USE_PYTHON= distutils autoplist
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
post-patch:
${REINPLACE_CMD} 's/aff4-snappy == 0.5/python-snappy >= 0.5/' ${WRKSRC}/setup.py
diff --git a/security/py-rekall-core/Makefile b/security/py-rekall-core/Makefile
index 405e556..7d8dd0e 100644
--- a/security/py-rekall-core/Makefile
+++ b/security/py-rekall-core/Makefile
@@ -32,7 +32,4 @@ NO_ARCH= yes
USES= python:2.7 zip
USE_PYTHON= distutils autoplist
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/security/py-rekall/Makefile b/security/py-rekall/Makefile
index 84ca2db..d3ddaf4 100644
--- a/security/py-rekall/Makefile
+++ b/security/py-rekall/Makefile
@@ -20,9 +20,6 @@ NO_ARCH= yes
USES= python:2.7 zip
USE_PYTHON= distutils autoplist
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
post-patch:
@${REINPLACE_CMD} 's|ipython >= 4.1.2, < 5.0|ipython|' ${WRKSRC}/setup.py
diff --git a/security/py-rekall_gui/Makefile b/security/py-rekall_gui/Makefile
index 09de6e2..0d023d2 100644
--- a/security/py-rekall_gui/Makefile
+++ b/security/py-rekall_gui/Makefile
@@ -27,7 +27,4 @@ USE_PYTHON= distutils autoplist
PYDISTUTILS_INSTALLARGS+=--install-data ${PYTHONPREFIX_SITELIBDIR}
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.post.mk>
diff --git a/security/secure_delete/Makefile b/security/secure_delete/Makefile
index c23da4e..ea98d37 100644
--- a/security/secure_delete/Makefile
+++ b/security/secure_delete/Makefile
@@ -26,9 +26,6 @@ PLIST_FILES= bin/sdel bin/sfill bin/smem bin/srm bin/sswap \
OPTIONS_DEFINE= DOCS
-post-extract:
- @${CHMOD} u+w ${WRKSRC}
-
post-patch:
@${REINPLACE_CMD} -e \
's|^CC=|CC?=| ; \
diff --git a/sysutils/dirvish/Makefile b/sysutils/dirvish/Makefile
index 70e6d34..378ca34 100644
--- a/sysutils/dirvish/Makefile
+++ b/sysutils/dirvish/Makefile
@@ -29,7 +29,7 @@ do-patch:
${FILESDIR}/header.pl > ${WRKDIR}/header.pl
.for _E in ${EXECUTABLES}
@(cd ${WRKSRC} && ${CAT} ${WRKDIR}/header.pl ${_E}.pl loadconfig.pl \
- > ${_E} && ${CHMOD} 755 ${_E})
+ > ${_E})
.endfor
do-install:
diff --git a/sysutils/e2fsprogs/Makefile b/sysutils/e2fsprogs/Makefile
index 4bbcbe2..9712d5c 100644
--- a/sysutils/e2fsprogs/Makefile
+++ b/sysutils/e2fsprogs/Makefile
@@ -42,10 +42,6 @@ NOTESTS_DESC= Do not run any self-tests (only Tier-1 & DISCOURAGED)
SMALLTESTS_DESC=Run tests that fit into 500 MB disk space (DEFAULT)
ALLTESTS_DESC= Run most self-tests (requires more RAM & disk space)
PARALLELTESTS_DESC= Run self-tests in parallel (requires more disk space)
-
-post-extract:
- @${CHMOD} u+w ${WRKSRC}/po/*.po ${WRKSRC}/po/*.pot \
- ${WRKSRC}/${CONFIGURE_SCRIPT}
.endif
PKGDEINSTALL= ${PKGINSTALL}
diff --git a/sysutils/linux-nero/Makefile b/sysutils/linux-nero/Makefile
index 8432061..318ec22 100644
--- a/sysutils/linux-nero/Makefile
+++ b/sysutils/linux-nero/Makefile
@@ -22,9 +22,4 @@ USE_LINUX_RPM= nolib
SRC_DISTFILES=
PLIST= ${PKGDIR}/pkg-plist
-# normalize permissions of symbolic links to prevent a package with
-# missing files
-post-extract:
- ${FIND} ${WRKSRC} -type l -exec ${CHMOD} -h 0755 {} \;
-
.include <bsd.port.mk>
diff --git a/sysutils/vobcopy/Makefile b/sysutils/vobcopy/Makefile
index 4ac0f1e..68eb902 100644
--- a/sysutils/vobcopy/Makefile
+++ b/sysutils/vobcopy/Makefile
@@ -24,9 +24,6 @@ PORTDOCS= COPYING Changelog README TODO \
alternative_programs.txt
OPTIONS_DEFINE= DOCS
-post-extract:
- @${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT}
-
post-patch:
@${REINPLACE_CMD} -E -e 's|(fopen\( *"/etc/)mtab|\1fstab|; \
s|iso9660|cd9660|' ${WRKSRC}/dvd.c
diff --git a/textproc/jade/Makefile b/textproc/jade/Makefile
index 50cf701..2c4680a 100644
--- a/textproc/jade/Makefile
+++ b/textproc/jade/Makefile
@@ -26,9 +26,6 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog
MAKE_JOBS_UNSAFE= yes
-post-extract:
- @${CHMOD} u+w ${WRKSRC}/configure
-
pre-install:
@${FIND} ${WRKSRC} \( -name \*.orig -o -name \*~ \) \
-exec ${RM} \{} \;
diff --git a/textproc/p5-Text-RecordParser/Makefile b/textproc/p5-Text-RecordParser/Makefile
index e9f29c7..8ff99328 100644
--- a/textproc/p5-Text-RecordParser/Makefile
+++ b/textproc/p5-Text-RecordParser/Makefile
@@ -27,8 +27,4 @@ TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception
USES= perl5
USE_PERL5= modbuild
-post-extract:
- # workaround for https://rt.cpan.org/Public/Bug/Display.html?id=87855
- ${CHMOD} +w ${WRKSRC}/README.md
-
.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Handler-Trees/Makefile b/textproc/p5-XML-Handler-Trees/Makefile
index 3bdfcdd..fb9ed8e 100644
--- a/textproc/p5-XML-Handler-Trees/Makefile
+++ b/textproc/p5-XML-Handler-Trees/Makefile
@@ -15,7 +15,4 @@ USES= perl5 dos2unix
USE_PERL5= configure
DOS2UNIX_FILES= Trees.pm
-post-extract:
- @${CHMOD} +w ${WRKSRC}/Trees.pm
-
.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Parser/Makefile b/textproc/p5-XML-Parser/Makefile
index 923dc90..49c4884 100644
--- a/textproc/p5-XML-Parser/Makefile
+++ b/textproc/p5-XML-Parser/Makefile
@@ -60,8 +60,7 @@ pre-build:
XE= ${.CURDIR}/../p5-XML-Encoding
extract-encodings:
@cd ${XE}; \
- ${MAKE} patch; \
- ${CHMOD} og+rX `make -VWRKSRC`
+ ${MAKE} patch
build-encodings:
.for e in 1 6 10 11 13 14 15
diff --git a/textproc/py-Chameleon/Makefile b/textproc/py-Chameleon/Makefile
index d848086..dde88df 100644
--- a/textproc/py-Chameleon/Makefile
+++ b/textproc/py-Chameleon/Makefile
@@ -16,7 +16,4 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python
USE_PYTHON= autoplist distutils
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/textproc/py-cloud_sptheme/Makefile b/textproc/py-cloud_sptheme/Makefile
index 40035c5..b44966a 100644
--- a/textproc/py-cloud_sptheme/Makefile
+++ b/textproc/py-cloud_sptheme/Makefile
@@ -29,9 +29,6 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
OPTIONS_DEFINE= DOCS
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR2}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
diff --git a/textproc/py-diff-match-patch/Makefile b/textproc/py-diff-match-patch/Makefile
index abc292f..a9d8acb 100644
--- a/textproc/py-diff-match-patch/Makefile
+++ b/textproc/py-diff-match-patch/Makefile
@@ -20,9 +20,6 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
diff --git a/www/coppermine/Makefile b/www/coppermine/Makefile
index e9210e04..8ff6769 100644
--- a/www/coppermine/Makefile
+++ b/www/coppermine/Makefile
@@ -38,9 +38,6 @@ pre-everything::
@${ECHO_MSG} "You may select IMAGEMAGICK to depend on ImageMagick instead of GD."
@${ECHO_MSG} ""
-post-extract:
- @${CHMOD} -R o-w ${WRKSRC}/
-
pre-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR}
diff --git a/www/php-plurk-api/Makefile b/www/php-plurk-api/Makefile
index b168a16..28ce16c 100644
--- a/www/php-plurk-api/Makefile
+++ b/www/php-plurk-api/Makefile
@@ -28,8 +28,6 @@ SUB_FILES= pkg-message
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
- @${FIND} ${STAGEDIR}${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
- @${FIND} ${STAGEDIR}${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
@${CHMOD} 755 ${STAGEDIR}${WWWDIR}/example.php
.include <bsd.port.mk>
diff --git a/www/phprecipebook/Makefile b/www/phprecipebook/Makefile
index ebbc5dd..f953ce0 100644
--- a/www/phprecipebook/Makefile
+++ b/www/phprecipebook/Makefile
@@ -31,9 +31,6 @@ MYSQL_VARS= IGNORE_WITH_PHP+=70
PGSQL_USE= PHP=pgsql
PGSQL_USES= pgsql
-post-extract:
- @${CHMOD} -R u+w ${WRKSRC}
-
do-install:
${MV} ${WRKSRC}/custom_inc.php ${WRKSRC}/custom_inc.php.sample
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
diff --git a/www/pivotx/Makefile b/www/pivotx/Makefile
index 1bc33f8..00faf61 100644
--- a/www/pivotx/Makefile
+++ b/www/pivotx/Makefile
@@ -54,10 +54,6 @@ WWWDIR= ${PREFIX}/${BLOGDIR}
SUB_FILES= pkg-message
SUB_LIST= BLOGURL=${BLOGURL}
-# http://book.pivotx.net/page/1-2#anchor-setting-the-file-rights
-WRITABLEDIRS= images pivotx/templates pivotx/db
-USEREDITABLEDIRS= pivotx/templates
-
post-extract:
@if ${TEST} -e '${TEMP_WRKSRC}'; then ${RM} -r '${TEMP_WRKSRC}'; fi
@${MKDIR} '${TEMP_WRKSRC}'
@@ -86,9 +82,5 @@ do-install:
.endfor
@${MKDIR} '${STAGEDIR}${WWWDIR}'
@cd '${WRKSRC}' && ${COPYTREE_SHARE} . '${STAGEDIR}${WWWDIR}'
-.for DIR in ${WRITABLEDIRS}
- @${FIND} '${STAGEDIR}${WWWDIR}/${DIR}' -type d -print0 | ${XARGS} -0 ${CHMOD} u=rwx,go=rx
- @${FIND} '${STAGEDIR}${WWWDIR}/${DIR}' -type f -print0 | ${XARGS} -0 ${CHMOD} u=rw,go=r
-.endfor
.include <bsd.port.mk>
diff --git a/www/piwigo/Makefile b/www/piwigo/Makefile
index eed1205..e84c5f6 100644
--- a/www/piwigo/Makefile
+++ b/www/piwigo/Makefile
@@ -50,10 +50,6 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/convert:graphics/ImageMagick-nox11
.endif
.endif
-post-extract:
- @${FIND} -d ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
- @${FIND} -d ${WRKSRC} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
-
pre-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
diff --git a/www/py-WebError/Makefile b/www/py-WebError/Makefile
index 5b0fe6d..c80354e 100644
--- a/www/py-WebError/Makefile
+++ b/www/py-WebError/Makefile
@@ -20,7 +20,4 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Paste>=1.7:www/py-paste \
USES= python
USE_PYTHON= autoplist distutils
-post-extract:
- ${CHMOD} -R a+r ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/www/py-flask-bootstrap/Makefile b/www/py-flask-bootstrap/Makefile
index 089c35d..48ba78e 100644
--- a/www/py-flask-bootstrap/Makefile
+++ b/www/py-flask-bootstrap/Makefile
@@ -17,7 +17,4 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.10.1:www/py-flask
USES= python
USE_PYTHON= autoplist distutils
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/www/py-httplib2/Makefile b/www/py-httplib2/Makefile
index 2524c2d..7290e43 100644
--- a/www/py-httplib2/Makefile
+++ b/www/py-httplib2/Makefile
@@ -17,7 +17,4 @@ NO_ARCH= yes
USE_PYTHON= autoplist distutils
USES= python
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/www/py-wsgiauth/Makefile b/www/py-wsgiauth/Makefile
index 993578c..65db402 100644
--- a/www/py-wsgiauth/Makefile
+++ b/www/py-wsgiauth/Makefile
@@ -14,7 +14,4 @@ COMMENT= WSGI authentication middleware
USES= python
USE_PYTHON= distutils autoplist
-post-extract:
- @${CHMOD} -R a+rX ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/www/rubygem-robots/Makefile b/www/rubygem-robots/Makefile
index 221640d..3b0b767 100644
--- a/www/rubygem-robots/Makefile
+++ b/www/rubygem-robots/Makefile
@@ -16,7 +16,4 @@ NO_ARCH= yes
USE_RUBY= yes
USES= gem
-post-extract:
- ${CHMOD} -R a+r ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/www/trac-watchlist/Makefile b/www/trac-watchlist/Makefile
index 334f138..808a2c9 100644
--- a/www/trac-watchlist/Makefile
+++ b/www/trac-watchlist/Makefile
@@ -26,8 +26,4 @@ NO_ARCH= yes
FETCH_BEFORE_ARGS= -o ${DISTFILES}
-post-extract:
- @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} 644
- @${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755
-
.include <bsd.port.mk>
diff --git a/www/webgrind/Makefile b/www/webgrind/Makefile
index 46c4bf0..1e302d3 100644
--- a/www/webgrind/Makefile
+++ b/www/webgrind/Makefile
@@ -35,7 +35,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} "! -name *.bak")
- @${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 0444 {} \;
- @${FIND} ${STAGEDIR}${WWWDIR} -type d -exec ${CHMOD} 0755 {} \;
-
.include <bsd.port.mk>
diff --git a/x11-themes/gtk-digital-cream-theme/Makefile b/x11-themes/gtk-digital-cream-theme/Makefile
index 9b04b13..1801286 100644
--- a/x11-themes/gtk-digital-cream-theme/Makefile
+++ b/x11-themes/gtk-digital-cream-theme/Makefile
@@ -28,9 +28,6 @@ THEME_DIR= ${PREFIX}/share/themes/${THEME_NAME}
PLIST_SUB+= GTK20="@comment " METACITY=""
.endif
-post-extract:
- @${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
-
do-install:
@${MKDIR} ${STAGEDIR}${THEME_DIR}
${INSTALL_DATA} ${WRKSRC}/index.theme ${STAGEDIR}${THEME_DIR}
diff --git a/x11-themes/gtk-digital-harmony-theme/Makefile b/x11-themes/gtk-digital-harmony-theme/Makefile
index f84ea4d..82c36c7 100644
--- a/x11-themes/gtk-digital-harmony-theme/Makefile
+++ b/x11-themes/gtk-digital-harmony-theme/Makefile
@@ -30,7 +30,6 @@ PLIST_SUB+= GTK20="@comment " METACITY=""
post-extract:
@${RM} -r ${WRKSRC}/gtk-2.0/Scrollbars/Backup \
${WRKSRC}/gtk-2.0/ReadME.txt
- @${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
do-install:
@${MKDIR} ${STAGEDIR}${THEME_DIR}
diff --git a/x11-themes/gtk-longhorninspirat-theme/Makefile b/x11-themes/gtk-longhorninspirat-theme/Makefile
index 845bbaf..2d30196 100644
--- a/x11-themes/gtk-longhorninspirat-theme/Makefile
+++ b/x11-themes/gtk-longhorninspirat-theme/Makefile
@@ -30,7 +30,6 @@ PLIST_SUB+= GTK20="@comment " METACITY=""
.endif
post-extract:
- @${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
@${RM} -r ${WRKSRC}/gtk-2.0/.Trash-roberto
do-install:
diff --git a/x11-themes/gtk-milk-theme/Makefile b/x11-themes/gtk-milk-theme/Makefile
index e1f92df..fd346c2 100644
--- a/x11-themes/gtk-milk-theme/Makefile
+++ b/x11-themes/gtk-milk-theme/Makefile
@@ -29,9 +29,6 @@ THEME_DIR= ${PREFIX}/share/themes/${THEME_NAME}
PLIST_SUB+= GTK20="@comment " METACITY=""
.endif
-post-extract:
- @${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
-
do-install:
@${MKDIR} ${STAGEDIR}${THEME_DIR}
${INSTALL_DATA} ${WRKSRC}/index.theme ${STAGEDIR}${THEME_DIR}
diff --git a/x11-toolkits/gnocl/Makefile b/x11-toolkits/gnocl/Makefile
index d8146cd..e7fda37 100644
--- a/x11-toolkits/gnocl/Makefile
+++ b/x11-toolkits/gnocl/Makefile
@@ -34,9 +34,6 @@ BASEDIR= lib/${PORTNAME}${BASE_VERSION}
PLIST_FILES= ${BASEDIR}/${PORTNAME}.so \
${BASEDIR}/pkgIndex.tcl
-post-extract:
- ${CHMOD} -R u+w ${WRKSRC}
-
post-patch:
${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|; \
s|%%LOCALBASE%%|${LOCALBASE}|; \
OpenPOWER on IntegriCloud