mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
Cleanup no longer needed CHMOD usage after r424898.
PR: 213743 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight
This commit is contained in:
parent
2321134263
commit
d26ef18700
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425174
@ -17,8 +17,6 @@ INFO= festival
|
||||
FDOC= ${PREFIX}/share/doc/festival
|
||||
|
||||
post-extract:
|
||||
${CHMOD} -R a+r ${WRKSRC}
|
||||
${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
${RM} ${WRKSRC}/festival/src-manual/c3750.htm~
|
||||
${RM} ${WRKSRC}/speechtools/c16909.htm~
|
||||
${RMDIR} ${WRKSRC}/festival/src-manual/images_gen
|
||||
|
@ -22,10 +22,6 @@ NO_BUILD= yes
|
||||
|
||||
FHOME= ${PREFIX}/share/festival
|
||||
|
||||
post-extract:
|
||||
@ ${CHMOD} -R a+r ${WRKSRC}
|
||||
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${FHOME}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
|
||||
|
@ -28,10 +28,6 @@ FHOME= ${PREFIX}/share/festival
|
||||
IGNORE= distfile can only be fetched if you accept the license. Go to https://www.cslu.ogi.edu/tts/download/data/OGIlexicon-2.2.tar.gz and put ${DISTFILE} into ${DISTDIR}
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@ ${CHMOD} -R a+r ${WRKSRC}
|
||||
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${FHOME}
|
||||
cd ${WRKSRC} && ${CP} -pPR * ${STAGEDIR}${FHOME}
|
||||
|
@ -22,10 +22,6 @@ NO_BUILD= yes
|
||||
|
||||
FHOME= ${PREFIX}/share/festival
|
||||
|
||||
post-extract:
|
||||
@ ${CHMOD} -R a+r ${WRKSRC}
|
||||
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${FHOME}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
|
||||
|
@ -22,10 +22,6 @@ NO_BUILD= yes
|
||||
|
||||
FHOME= ${PREFIX}/share/festival
|
||||
|
||||
post-extract:
|
||||
@ ${CHMOD} -R a+r ${WRKSRC}
|
||||
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${FHOME}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
|
||||
|
@ -24,10 +24,6 @@ NO_BUILD= yes
|
||||
|
||||
FHOME= ${PREFIX}/share/festival
|
||||
|
||||
post-extract:
|
||||
@ ${CHMOD} -R a+r ${WRKSRC}
|
||||
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${FHOME}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
|
||||
|
@ -24,10 +24,6 @@ NO_BUILD= yes
|
||||
|
||||
FHOME= ${PREFIX}/share/festival
|
||||
|
||||
post-extract:
|
||||
@ ${CHMOD} -R a+r ${WRKSRC}
|
||||
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${FHOME}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
|
||||
|
@ -24,10 +24,6 @@ NO_BUILD= yes
|
||||
|
||||
FHOME= ${PREFIX}/share/festival
|
||||
|
||||
post-extract:
|
||||
@ ${CHMOD} -R a+r ${WRKSRC}
|
||||
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${FHOME}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
|
||||
|
@ -24,10 +24,6 @@ NO_BUILD= yes
|
||||
|
||||
FHOME= ${PREFIX}/share/festival
|
||||
|
||||
post-extract:
|
||||
@ ${CHMOD} -R a+r ${WRKSRC}
|
||||
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${FHOME}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
|
||||
|
@ -24,10 +24,6 @@ NO_BUILD= yes
|
||||
|
||||
FHOME= ${PREFIX}/share/festival
|
||||
|
||||
post-extract:
|
||||
@ ${CHMOD} -R a+r ${WRKSRC}
|
||||
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${FHOME}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
|
||||
|
@ -23,10 +23,6 @@ NO_BUILD= yes
|
||||
|
||||
FHOME= ${PREFIX}/share/festival/lib/voices/russian/msu_ru_nsh_clunits
|
||||
|
||||
post-extract:
|
||||
@ ${CHMOD} -R a+r ${WRKSRC}
|
||||
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${FHOME}
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME})
|
||||
|
@ -24,7 +24,4 @@ PLIST_FILES= bin/vorbisgain \
|
||||
|
||||
RECURSIVE_CONFIGURE_ARGS= --enable-recursive
|
||||
|
||||
pre-configure:
|
||||
@${CHMOD} +x ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -24,9 +24,6 @@ LIBBINDIR= ${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH}
|
||||
|
||||
BROKEN_powerpc64= Does not build on powerpc64
|
||||
|
||||
post-extract:
|
||||
@${CHMOD} -R u+w ${WRKSRC}
|
||||
|
||||
pre-patch:
|
||||
@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${WRKSRC}/xmcd_d/XMcd.ad.in
|
||||
|
||||
|
@ -46,8 +46,7 @@ post-patch:
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${TAR} -C ${WRKSRC}/examples --exclude "*Makefile*" -cf - . | \
|
||||
${TAR} -C ${STAGEDIR}${EXAMPLESDIR} --unlink -xf -
|
||||
@${CHMOD} -R a+rX ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
|
||||
${STAGEDIR}${EXAMPLESDIR} '! -name *Makefile*'
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -99,9 +99,7 @@ do-install:
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@(cd ${WRKSRC}/doc && ${TAR} --exclude man -cf - .) | \
|
||||
(cd ${STAGEDIR}${DOCSDIR} && ${TAR} --unlink -xf -)
|
||||
@${FIND} ${STAGEDIR}${DOCSDIR} -type d | ${XARGS} ${CHMOD} a+rx
|
||||
@${FIND} ${STAGEDIR}${DOCSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
|
||||
@(cd ${WRKSRC}/doc && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} '-not ( -name man -o -path ./man\/* )')
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -30,9 +30,8 @@ PORTDATA= ${DATA} dat examples Technical
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
# Fix broken permissions and remove Windows executables
|
||||
# Remove Windows executables
|
||||
post-extract:
|
||||
@${CHMOD} -R a+rX ${WRKDIR}
|
||||
@${FIND} ${WRKSRC}/Technical -name "*.exe" -delete
|
||||
|
||||
do-build:
|
||||
|
@ -41,9 +41,6 @@ FFLAGS+= -mfancy-math-387 -malign-double
|
||||
.endif # i386
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${CHMOD} -R u+w ${WRKSRC}
|
||||
|
||||
pre-build:
|
||||
@${RM} ${BUILD_WRKSRC}/*.c
|
||||
|
||||
|
@ -20,8 +20,11 @@ PLIST_FILES= ${FONTSDIR_REL}/local.conf-odo
|
||||
|
||||
.include "${.CURDIR}/../ttfm/Makefile.ttf"
|
||||
|
||||
.if ${OSVERSION} < 1100077
|
||||
# chmod -R bug
|
||||
post-extract:
|
||||
@${CHMOD} 0755 ${WRKSRC}/license
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},; s,opendesktop,,g' \
|
||||
|
@ -20,7 +20,4 @@ WRKSRC= ${WRKDIR}/src
|
||||
MAKEFILE= ${FILESDIR}/Makefile
|
||||
PLIST_FILES= bin/chmview
|
||||
|
||||
post-extract:
|
||||
@${CHMOD} -R u+w ${WRKSRC}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,13 +21,12 @@ RUN_DEPENDS= p5-Unicode-String>=0:converters/p5-Unicode-String
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
# Fixing non root builds.
|
||||
# Distfile has directories with mode 644, which is not nice. Cannot
|
||||
# use ${FIND} because it will not be able to read because it is not
|
||||
# root and will not override the directories non executable status.
|
||||
.if ${OSVERSION} < 1100077
|
||||
# chmod -R bug
|
||||
post-extract:
|
||||
.for d in / /lib /lib/Unicode /t
|
||||
@${CHMOD} 755 ${WRKSRC}${d}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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}
|
||||
|
@ -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:
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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}/|}
|
||||
|
@ -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}/|}
|
||||
|
@ -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}
|
||||
|
@ -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>
|
||||
|
@ -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}
|
||||
|
@ -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)
|
||||
|
@ -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:
|
||||
|
@ -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}
|
||||
|
@ -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 \
|
||||
|
@ -31,7 +31,4 @@ LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-extract:
|
||||
@${CHMOD} -R a+rX ${WRKSRC}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -46,7 +46,6 @@ PORTDATA= *
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-extract:
|
||||
@${CHMOD} -R a+rX ${WRKSRC}
|
||||
@${RM} -r ${WRKSRC}/fonts/locale/vi_docs
|
||||
|
||||
post-patch:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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>
|
||||
|
@ -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 | \
|
||||
|
@ -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
|
||||
|
@ -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}|' \
|
||||
|
@ -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}|' \
|
||||
|
@ -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#" \
|
||||
|
@ -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>
|
||||
|
@ -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}
|
||||
|
@ -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|' \
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -15,7 +15,4 @@ USES= perl5
|
||||
USE_PERL5= configure
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
post-extract:
|
||||
${CHMOD} 755 ${WRKSRC}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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}
|
||||
|
@ -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|'
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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"| ; \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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?=| ; \
|
||||
|
@ -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:
|
||||
|
@ -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}
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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} \{} \;
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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>
|
||||
|
@ -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}
|
||||
|
@ -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>
|
||||
|
@ -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}/
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user