Don't quote {} in find -exec calls.
Braces are not shell metacharacters, and they do not need to be quoted. By the time find parses its arguments and dicovers them, the quoting will have been removed by the shell anyway. Sponsored by: Absolight
This commit is contained in:
parent
30de4c11b2
commit
8664861b1a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427491
56 changed files with 94 additions and 94 deletions
|
@ -15,6 +15,6 @@ USES= gnustep
|
|||
USE_GNUSTEP= back build
|
||||
|
||||
post-patch:
|
||||
cd ${WRKSRC} && ${FIND} . -name "*#*" -exec ${RM} -v "{}" ";"
|
||||
cd ${WRKSRC} && ${FIND} . -name "*#*" -exec ${RM} -v {} ";"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -28,9 +28,9 @@ USE_GCC= yes
|
|||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name Makefile -exec \
|
||||
${REINPLACE_CMD} -e 's|^CFLAGS =|CFLAGS +=|' "{}" \;
|
||||
${REINPLACE_CMD} -e 's|^CFLAGS =|CFLAGS +=|' {} \;
|
||||
@${FIND} ${WRKSRC} -name Makefile -exec \
|
||||
${REINPLACE_CMD} -e 's|^CPPFLAGS =|CPPFLAGS +=|' "{}" \;
|
||||
${REINPLACE_CMD} -e 's|^CPPFLAGS =|CPPFLAGS +=|' {} \;
|
||||
@${CP} ${FILESDIR}/makefile.defs.freebsd.alsa \
|
||||
${WRKSRC}/makefile.defs
|
||||
@${REINPLACE_CMD} -e 's|%%WRKSRC%%|${WRKSRC}|g' \
|
||||
|
|
|
@ -36,6 +36,6 @@ BROKEN_powerpc64= Does not build on powerpc64
|
|||
|
||||
post-patch: .SILENT
|
||||
${FIND} ${WRKSRC} \( -name '*.cc' -or -name '*.h' \) \
|
||||
-exec ${PERL} -i -pe '$$. == 1 && s/^\xef\xbb\xbf//;' '{}' \;
|
||||
-exec ${PERL} -i -pe '$$. == 1 && s/^\xef\xbb\xbf//;' {} \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -47,7 +47,7 @@ pre-install:
|
|||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}/
|
||||
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w '{}' \;
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \;
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
|
|
|
@ -47,7 +47,7 @@ pre-install:
|
|||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}/
|
||||
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w '{}' \;
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \;
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
|
|
|
@ -82,20 +82,20 @@ do-install:
|
|||
@${MKDIR} ${STAGEDIR}${DATADIR}/lang
|
||||
(cd ${WRKSRC}/include && \
|
||||
${FIND} lang -type f ! -iregex ".*Makefile" -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;)
|
||||
${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;)
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/textlogs
|
||||
(cd ${WRKSRC}/data && \
|
||||
${FIND} textlogs -type f -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}${EXAMPLESDIR}/{}" \;)
|
||||
${INSTALL_DATA} {} "${STAGEDIR}${EXAMPLESDIR}/{}" \;)
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/sql
|
||||
(cd ${WRKSRC}/data && \
|
||||
${FIND} sql -type f -iregex ".*\.sql" -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;)
|
||||
${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;)
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/data/sql/install-sql.pl ${STAGEDIR}${DATADIR}/sql
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
|
||||
(cd ${WRKSRC}/libexec && \
|
||||
${FIND} -E . -type f ! -iregex ".*\.(sh|orig)" -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/{}" \;)
|
||||
${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/{}" \;)
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/libexec/genindex.sh ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
|
@ -103,7 +103,7 @@ do-install:
|
|||
${FIND} . -type d ! -empty -exec \
|
||||
${MKDIR} "${STAGEDIR}${WWWDIR}/{}" \; && \
|
||||
${FIND} -E . -type f ! -iregex "(.*Makefile|.*\.orig)" -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}${WWWDIR}/{}" \;
|
||||
${INSTALL_DATA} {} "${STAGEDIR}${WWWDIR}/{}" \;
|
||||
${MV} ${STAGEDIR}${WWWDIR}/include/config.inc.php.default ${STAGEDIR}${WWWDIR}/include/config.inc.php.sample
|
||||
|
||||
do-install-DOCS-on:
|
||||
|
|
|
@ -32,6 +32,6 @@ post-patch:
|
|||
.endif
|
||||
|
||||
post-install:
|
||||
${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Encode/ -name '*.so' -exec ${STRIP_CMD} '{}' +
|
||||
${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Encode/ -name '*.so' -exec ${STRIP_CMD} {} +
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -32,7 +32,7 @@ post-patch:
|
|||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libkyotocabinet.so.16.13.0
|
||||
${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} ${BINMODE} '{}' \;
|
||||
${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${DOCMODE} '{}' \;
|
||||
${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} ${BINMODE} {} \;
|
||||
${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${DOCMODE} {} \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -32,7 +32,7 @@ post-patch:
|
|||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libkyototycoon.so.2.19.0 ${STAGEDIR}${PREFIX}/libexec/*.so
|
||||
${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} ${BINMODE} '{}' \;
|
||||
${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${DOCMODE} '{}' \;
|
||||
${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} ${BINMODE} {} \;
|
||||
${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${DOCMODE} {} \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -21,7 +21,7 @@ INFO= ccrtp
|
|||
|
||||
post-patch:
|
||||
@cd ${WRKSRC}/src && \
|
||||
${FIND} * -type f -exec ${REINPLACE_CMD} -i "" -e "s|<malloc.h>|<stdlib.h>|g" "{}" \;
|
||||
${FIND} * -type f -exec ${REINPLACE_CMD} -i "" -e "s|<malloc.h>|<stdlib.h>|g" {} \;
|
||||
|
||||
post-configure:
|
||||
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
|
||||
|
|
|
@ -17,7 +17,7 @@ NO_BUILD= yes
|
|||
REINPLACE_ARGS= -i ''
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-printf .*$$|-exec basename "{}" ";"|' \
|
||||
@${REINPLACE_CMD} -e 's|-printf .*$$|-exec basename {} ";"|' \
|
||||
${WRKSRC}/ManageTranslation.cmake
|
||||
|
||||
do-install:
|
||||
|
|
|
@ -59,7 +59,7 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e "s|%%FLYSPRAYDIR%%|"${FLYSPRAYDIR}"|g" \
|
||||
-e "s|%%DOCSDIR%%|"${DOCSDIR}"|g" \
|
||||
${WRKSRC}/docs/README.FreeBSD
|
||||
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} '{}' ';'
|
||||
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} ';'
|
||||
@${REINPLACE_CMD} "s|E_ALL|E_ALL \& ~E_STRICT|g" \
|
||||
${WRKSRC}/includes/fix.inc.php
|
||||
@${RM} ${WRKSRC}/includes/fix.inc.php.bak
|
||||
|
|
|
@ -75,6 +75,6 @@ do-install:
|
|||
(cd ${STAGEDIR}${GB_HOME}/WEB-INF/data && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PORTNAME})
|
||||
(cd ${STAGEDIR}${PREFIX}/${PORTNAME} && ${FIND} . -type f \
|
||||
-not -name '*.gitignore' -exec ${MV} '{}' '{}'.sample \;)
|
||||
-not -name '*.gitignore' -exec ${MV} {} {}.sample \;)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -25,6 +25,6 @@ do-install:
|
|||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
(cd ${WRKSRC} \
|
||||
&& ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
|
||||
${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 '{}' +
|
||||
${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 {} +
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -98,7 +98,7 @@ do-install:
|
|||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
||||
@(cd ${STAGEDIR}${DATADIR} && ${MV} conf ${STAGEDIR}${ETCDIR})
|
||||
@(cd ${STAGEDIR}${ETCDIR} \
|
||||
&& ${FIND} . -type f -exec ${MV} '{}' '{}'.sample \;)
|
||||
&& ${FIND} . -type f -exec ${MV} {} {}.sample \;)
|
||||
@${MKDIR} ${STAGEDIR}${NEXUS_RUNDIR}
|
||||
@${MKDIR} ${STAGEDIR}${NEXUS_LOGDIR}
|
||||
@${MKDIR} ${STAGEDIR}${NEXUS_WORKDIR}
|
||||
|
|
|
@ -27,6 +27,6 @@ do-install:
|
|||
${MKDIR} ${STAGEDIR}${PREFIX}/${WEBSVNDIR}
|
||||
(cd ${WRKSRC} \
|
||||
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/${WEBSVNDIR})
|
||||
${FIND} ${STAGEDIR}${PREFIX}/${WEBSVNDIR} -type f -exec ${CHMOD} 644 '{}' +
|
||||
${FIND} ${STAGEDIR}${PREFIX}/${WEBSVNDIR} -type f -exec ${CHMOD} 644 {} +
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -151,7 +151,7 @@ do-install:
|
|||
@${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE}
|
||||
@cd ${WRKSRC}/${DIRE} && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/${DIRE}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \;
|
||||
.endfor
|
||||
@${CHMOD} +x ${STAGEDIR}${DATADIR}/tools/svn2revisioninc ${STAGEDIR}${DATADIR}/tools/lazres ${STAGEDIR}${DATADIR}/tools/lrstolfm \
|
||||
${STAGEDIR}${DATADIR}/tools/updatepofiles
|
||||
|
@ -162,12 +162,12 @@ do-install:
|
|||
|
||||
@cd ${WRKDIR}/docs && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \;
|
||||
@${LN} -s ${DOCSDIR} ${STAGEDIR}${DATADIR}/docs
|
||||
|
||||
@cd ${WRKDIR}/examples && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${EXAMPLESDIR}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${EXAMPLESDIR}/{}" \;
|
||||
@${LN} -s ${EXAMPLESDIR} ${STAGEDIR}${DATADIR}/examples
|
||||
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/localize.sh ${STAGEDIR}${DATADIR}
|
||||
|
|
|
@ -89,16 +89,16 @@ do-install:
|
|||
@${MKDIR} ${STAGEDIR}${DATADIR}/components/lazcontrols/lib/${BUILDNAME}/${LCL_INTERFACE}
|
||||
|
||||
@cd ${WRKSRC}/units/${BUILDNAME}/${LCL_INTERFACE} && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/lcl/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/lcl/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
|
||||
.if ${PKGNAMESUFFIX} == "-lcl-nogui"
|
||||
@cd ${WRKDIR}/${PORTNAME}/components/debuggerintf/lib/${BUILDNAME} && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/components/debuggerintf/lib/${BUILDNAME}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/components/debuggerintf/lib/${BUILDNAME}/{}" \;
|
||||
@cd ${WRKDIR}/${PORTNAME}/components/lazdebuggergdbmi/lib/${BUILDNAME} && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/components/lazdebuggergdbmi/lib/${BUILDNAME}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/components/lazdebuggergdbmi/lib/${BUILDNAME}/{}" \;
|
||||
.endif
|
||||
@cd ${WRKDIR}/${PORTNAME}/components/ideintf/units/${BUILDNAME}/${LCL_INTERFACE} && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/components/ideintf/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/components/ideintf/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
|
||||
@cd ${WRKDIR}/${PORTNAME}/components/synedit/units/${BUILDNAME}/${LCL_INTERFACE} && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/components/synedit/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/components/synedit/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
|
||||
@cd ${WRKDIR}/${PORTNAME}/components/lazcontrols/lib/${BUILDNAME}/${LCL_INTERFACE} && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/components/lazcontrols/lib/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/components/lazcontrols/lib/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
|
||||
|
|
|
@ -24,7 +24,7 @@ SHAREOWN= ${WWWOWN}
|
|||
SHAREGRP= ${WWWGRP}
|
||||
|
||||
post-patch:
|
||||
@${FIND} -d ${WRKSRC} -name CVS -type d -exec ${RM} -R "{}" \;
|
||||
@${FIND} -d ${WRKSRC} -name CVS -type d -exec ${RM} -R {} \;
|
||||
@${RM} ${WRKSRC}/img/Thumbs.db
|
||||
@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php.sample
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ post-patch: .SILENT
|
|||
-name Makefile \) \
|
||||
-exec ${REINPLACE_CMD} -E -e 's/[[:cntrl:]]*$$//' \
|
||||
-e 's/#pragma[[:blank:]]+pack[[:blank:]]*\([[:blank:]]*push[[:blank:]]*,[[:blank:]]*1[[:blank:]]*\)/#pragma pack(1)/g' \
|
||||
-e 's/#pragma[[:blank:]]+pack[[:blank:]]*\([[:blank:]]*pop[[:blank:]]*\)/#pragma pack()/g' '{}' \;
|
||||
-e 's/#pragma[[:blank:]]+pack[[:blank:]]*\([[:blank:]]*pop[[:blank:]]*\)/#pragma pack()/g' {} \;
|
||||
${REINPLACE_CMD} -e 's/jpeg\/JPEGLIB\.H/jpeglib.h/' \
|
||||
${WRKSRC}/cake/texture.cpp
|
||||
# Fmod library is not supported on FreeBSD, so no sound :(
|
||||
|
|
|
@ -43,7 +43,7 @@ do-install:
|
|||
${INSTALL_PROGRAM} ceferino ceferinoeditor ceferinosetup ${STAGEDIR}${PREFIX}/bin
|
||||
@cd ${WRKSRC}/data && \
|
||||
${FIND} ${CEFEDIRS} -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
|
||||
${FIND} -E ${CEFEDIRS} -type f -iregex ".*\.(png|jpg|xm|map|wav)" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
|
||||
${FIND} -E ${CEFEDIRS} -type f -iregex ".*\.(png|jpg|xm|map|wav)" -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;
|
||||
${LN} -sf ${DATADIR}/ima/icono.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ do-install:
|
|||
@${MKDIR} ${STAGEDIR}${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}
|
||||
@cd ${WRKSRC}/src && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}/{}" \; && \
|
||||
${FIND} -E * -type f -iregex ".*\.(py)" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}/{}" \;
|
||||
${FIND} -E * -type f -iregex ".*\.(py)" -exec ${INSTALL_DATA} {} "${STAGEDIR}${FOF_DIR}/${PORTNAME:S/f/F/g:S/o/O/}/{}" \;
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${FOF_DIR}/data
|
||||
${LN} -s ${LOCALBASE}/${DATADIR}/* ${STAGEDIR}${FOF_DIR}/data
|
||||
|
|
|
@ -44,7 +44,7 @@ do-install:
|
|||
.for DIRE in ${GLESTDATADIRE}
|
||||
@cd ${WRKSRC} && \
|
||||
${FIND} ${DIRE} -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
|
||||
${FIND} ${DIRE} -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
|
||||
${FIND} ${DIRE} -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -51,7 +51,7 @@ do-install:
|
|||
${INSTALL_PROGRAM} ${WRKSRC}/gtklife ${STAGEDIR}${PREFIX}/bin
|
||||
cd ${WRKSRC} && \
|
||||
${FIND} ${DATA_SUBDIRS} -type d ! -empty -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
|
||||
${FIND} ${DATA_SUBDIRS} ! -type d -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
|
||||
${FIND} ${DATA_SUBDIRS} ! -type d -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;
|
||||
.for s in ${ICON_SIZES}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
|
||||
${INSTALL_DATA} ${WRKSRC}/icon_${s}.png \
|
||||
|
|
|
@ -40,17 +40,17 @@ do-install:
|
|||
${INSTALL_PROGRAM} ${WRKSRC}/data/etqwded.x86 ${STAGEDIR}${ETQWDIR}
|
||||
@cd ${WRKSRC}/data && \
|
||||
${FIND} -E . -type f -iregex ".*\.so\.[0-9]+" \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${ETQWDIR}/base/bots
|
||||
@cd ${WRKSRC}/data && \
|
||||
${FIND} base -type f \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${ETQWDIR}/pb/htm
|
||||
@cd ${WRKSRC}/data && \
|
||||
${FIND} pb -type f \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for FILE in EULA.txt README.txt copyrights.txt etqwtv.txt pb/PBEULA.txt
|
||||
|
|
|
@ -43,17 +43,17 @@ do-install:
|
|||
${INSTALL_PROGRAM} ${WRKSRC}/data/etqwded.x86 ${STAGEDIR}${ETQWDIR}
|
||||
@cd ${WRKSRC}/data && \
|
||||
${FIND} -E . -type f -iregex ".*\.so\.[0-9]+" \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${ETQWDIR}/base/bots
|
||||
@cd ${WRKSRC}/data && \
|
||||
${FIND} base -type f \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${ETQWDIR}/pb/htm
|
||||
@cd ${WRKSRC}/data && \
|
||||
${FIND} pb -type f \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${ETQWDIR}/{}" \;
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for FILE in EULA.txt README.txt copyrights.txt etqwtv.txt readme_1_5_patch.txt server_readme.txt pb/PBEULA.txt
|
||||
|
|
|
@ -33,7 +33,7 @@ do-install:
|
|||
@${MKDIR} ${STAGEDIR}${PREFIX}/${DATADIR}/${DIRE}
|
||||
@cd ${WRKSRC}/${DIRE} && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/${DATADIR}/${DIRE}/{}" \; && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${DATADIR}/${DIRE}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${DATADIR}/${DIRE}/{}" \;
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/main.cs ${STAGEDIR}${PREFIX}/${DATADIR}
|
||||
|
||||
|
|
|
@ -70,30 +70,30 @@ do-install:
|
|||
@${MKDIR} ${STAGEDIR}${PREFIX}/${Q4DIR}/q4base
|
||||
@cd ${WRKSRC} && \
|
||||
${FIND} -E pb -type f -iregex ".*\.(so)" \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \; && \
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \; && \
|
||||
${FIND} -E pb/htm -type f -iregex ".*\.(htm)" \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
|
||||
# Q4base
|
||||
@cd ${WRKSRC} && \
|
||||
${FIND} -E q4base -type f -iregex ".*\.(cfg|scriptcfg|pk4|off)" \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
|
||||
|
||||
# All version (except germany) or only germany version
|
||||
.if ${PORT_OPTIONS:MGERMANY}
|
||||
@cd ${WRKSRC}/germany && \
|
||||
${FIND} -E q4base -type f -iregex ".*\.(pk4)" \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
|
||||
.else
|
||||
@cd ${WRKSRC}/us && \
|
||||
${FIND} -E q4base -type f -iregex ".*\.(pk4)" \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
|
||||
.endif
|
||||
|
||||
# Documentation
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@cd ${WRKSRC}/Docs && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \;
|
||||
${INSTALL_DATA} ${WRKSRC}/License.txt ${STAGEDIR}${DOCSDIR}/LICENSE && \
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README && \
|
||||
${INSTALL_DATA} ${WRKSRC}/pb/PBEULA.txt ${STAGEDIR}${DOCSDIR}/PBEULA
|
||||
|
|
|
@ -60,7 +60,7 @@ do-install:
|
|||
${FIND} ${LIBDIRS} -type d ! -empty -exec \
|
||||
${MKDIR} "${STAGEDIR}${UTDIR}/{}" \; && \
|
||||
${FIND} ${LIBDIRS} -type f -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}${UTDIR}/{}" \;
|
||||
${INSTALL_DATA} {} "${STAGEDIR}${UTDIR}/{}" \;
|
||||
${CHMOD} ${BINMODE} ${STAGEDIR}${UTDIR}/Benchmark/*.sh ${STAGEDIR}${UTDIR}/System/*-bin
|
||||
${CHMOD} ${LIBMODE} ${STAGEDIR}${UTDIR}/System/*.so*
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
|
|
|
@ -28,7 +28,7 @@ do-install:
|
|||
cd ${WRKSRC}/data && ${FIND} * -type d \
|
||||
-exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
|
||||
${FIND} -E * -type f -iregex ".*\.(jpg|bmp)" \
|
||||
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
|
||||
-exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} \
|
||||
AUTHORS ChangeLog README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ do-install:
|
|||
.for i in filterscripts gamemodes include npcmodes scriptfiles
|
||||
cd ${WRKSRC} && \
|
||||
${FIND} ${i} -type f -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
|
||||
${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;
|
||||
${LN} -sf ${DATADIR}/${i} ${STAGEDIR}${SAMPDIR}/${i}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/server.cfg \
|
||||
|
|
|
@ -32,7 +32,7 @@ BROKEN_mips64= Fails to install: runaway process
|
|||
|
||||
post-extract:
|
||||
@cd ${WRKSRC}/base && \
|
||||
${FIND} * -type f -exec ${UNZIP_CMD} "{}" -d ${WRKSRC}/base \;
|
||||
${FIND} * -type f -exec ${UNZIP_CMD} {} -d ${WRKSRC}/base \;
|
||||
@${RM} ${WRKSRC}/base/*.pk3
|
||||
|
||||
pre-install:
|
||||
|
|
|
@ -131,13 +131,13 @@ do-install:
|
|||
${MKDIR} ${STAGEDIR}${UFO_DIR}/radiant/${DIRE}
|
||||
cd ${WRKSRC}/radiant/${DIRE} && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${UFO_DIR}/radiant/${DIRE}/{}" \; && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${UFO_DIR}/radiant/${DIRE}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${UFO_DIR}/radiant/${DIRE}/{}" \;
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
cd ${WRKSRC}/base/i18n && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/${DATADIR}/base/i18n/{}" \; && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${DATADIR}/base/i18n/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${DATADIR}/base/i18n/{}" \;
|
||||
${LN} -s ${PREFIX}/${DATADIR}/base ${STAGEDIR}${UFO_DIR}/base
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -50,7 +50,7 @@ pre-install:
|
|||
do-install:
|
||||
${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/
|
||||
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w '{}' \;
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \;
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
|
|
|
@ -37,6 +37,6 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|-lstdc++||' ${WRKSRC}/tests/geostest/Makefile.in ${WRKSRC}/tests/thread/Makefile.in
|
||||
|
||||
post-configure:
|
||||
@${FIND} ${WRKSRC} -name Makefile -exec ${REINPLACE_CMD} -e '/CXXFLAGS = / s| -O2||' '{}' \;
|
||||
@${FIND} ${WRKSRC} -name Makefile -exec ${REINPLACE_CMD} -e '/CXXFLAGS = / s| -O2||' {} \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -79,7 +79,7 @@ do-install:
|
|||
@${MKDIR} ${STAGEDIR}${DATADIR}/language
|
||||
${INSTALL_DATA} ${WRKSRC}/language/core.*.lang ${STAGEDIR}${DATADIR}/language
|
||||
@cd ${WRKSRC}/src/mod \
|
||||
&& ${FIND} . -name "*.lang" -exec ${INSTALL_DATA} "{}" \
|
||||
&& ${FIND} . -name "*.lang" -exec ${INSTALL_DATA} {} \
|
||||
${STAGEDIR}${DATADIR}/language ";"
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/scripts
|
||||
.for f in CONTENTS action.fix.tcl autobotchk alltools.tcl botchk \
|
||||
|
|
|
@ -72,7 +72,7 @@ do-install:
|
|||
@${MKDIR} ${STAGEDIR}${DATADIR}/language
|
||||
${INSTALL_DATA} ${WRKSRC}/language/core.*.lang ${STAGEDIR}${DATADIR}/language
|
||||
@cd ${WRKSRC}/src/mod \
|
||||
&& ${FIND} . -name "*.lang" -exec ${INSTALL_DATA} "{}" \
|
||||
&& ${FIND} . -name "*.lang" -exec ${INSTALL_DATA} {} \
|
||||
${STAGEDIR}${DATADIR}/language ";"
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/scripts
|
||||
.for f in CONTENTS action.fix.tcl autobotchk alltools.tcl botchk \
|
||||
|
|
|
@ -50,7 +50,7 @@ pre-install:
|
|||
do-install:
|
||||
${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/
|
||||
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w '{}' \;
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \;
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
|
|
|
@ -25,7 +25,7 @@ DEPRECATED= Port is unmaintained and has known security vulnerabilites
|
|||
EXPIRATION_DATE=2016-12-01
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL} -d ${STAGEDIR}${PREFIX}/${TDIR}/'{}' \; && \
|
||||
${FIND} . -type f -exec ${INSTALL_DATA} '{}' ${STAGEDIR}${PREFIX}/${TDIR}/'{}' \;
|
||||
cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL} -d ${STAGEDIR}${PREFIX}/${TDIR}/{} \; && \
|
||||
${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/${TDIR}/{} \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -28,7 +28,7 @@ do-install:
|
|||
@cd ${WRKSRC} && ${FIND} . -type d -exec \
|
||||
${MKDIR} "${STAGEDIR}${DATADIR}/{}" \;
|
||||
@cd ${WRKSRC} && ${FIND} . -type f -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
|
||||
${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/tvbrowser ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -101,6 +101,6 @@ post-install:
|
|||
${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/priv/bin/epam
|
||||
.endif
|
||||
@${FIND} ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR} -type f \
|
||||
-name '*.so' -exec ${STRIP_CMD} '{}' \;
|
||||
-name '*.so' -exec ${STRIP_CMD} {} \;
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -96,8 +96,8 @@ do-install:
|
|||
${INSTALL_DATA} ${WRKSRC}/data/defaultAIMAvatar.png ${STAGEDIR}${INST_DIR}/data/
|
||||
${INSTALL_DATA} ${WRKSRC}/data/defaultICQAvatar.png ${STAGEDIR}${INST_DIR}/data/
|
||||
${CP} -Rv ${WRKSRC}/src/* ${STAGEDIR}${INST_DIR}/src/
|
||||
${FIND} ${STAGEDIR}${INST_DIR}/src/ -type d -exec ${CHMOD} 755 "{}" \;
|
||||
${FIND} ${STAGEDIR}${INST_DIR}/src/ -type f -exec ${CHMOD} 644 "{}" \;
|
||||
${FIND} ${STAGEDIR}${INST_DIR}/src/ -type d -exec ${CHMOD} 755 {} \;
|
||||
${FIND} ${STAGEDIR}${INST_DIR}/src/ -type f -exec ${CHMOD} 644 {} \;
|
||||
${INSTALL_DATA} ${WRKSRC}/config_example.xml ${STAGEDIR}${PREFIX}/etc/jabber-pyicq.xml.sample
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
||||
|
|
|
@ -32,6 +32,6 @@ do-install:
|
|||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
(cd ${WRKSRC} \
|
||||
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR})
|
||||
${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 '{}' +
|
||||
${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 {} +
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -49,7 +49,7 @@ pre-install:
|
|||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${WWWDIR}/
|
||||
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w '{}' \;
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \;
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
|
|
|
@ -32,6 +32,6 @@ SWIG_BUILD_DEPENDS= swig:devel/swig13
|
|||
SWIG_CONFIGURE_OFF= --disable-swig
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name Makefile.am -exec ${REINPLACE_CMD} 's|-Werror||; s| -ansi -pedantic||' '{}' \;
|
||||
@${FIND} ${WRKSRC} -name Makefile.am -exec ${REINPLACE_CMD} 's|-Werror||; s| -ansi -pedantic||' {} \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -91,7 +91,7 @@ do-install:
|
|||
# line taken from textproc/xerces-j maintained by hq@FreeBSD.org
|
||||
@cd ${JAVADOC_WRKSRC} && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
|
||||
${FIND} * -not -type d -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \;
|
||||
${FIND} * -not -type d -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \;
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -26,7 +26,7 @@ post-install:
|
|||
${MKDIR} ${STAGEDIR}${DATADIR}/LM
|
||||
@${ECHO_MSG} "Installing language models provided in Gertjan van Noord's TextCat package"
|
||||
(cd ${WRKSRC}/langclass/LM && \
|
||||
${FIND} . -name "*.lm" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/LM/{}" \;)
|
||||
${FIND} . -name "*.lm" -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/LM/{}" \;)
|
||||
${INSTALL_DATA} ${WRKSRC}/langclass/conf.txt "${STAGEDIR}${DATADIR}"
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
|
|
@ -53,11 +53,11 @@ do-install:
|
|||
${MKDIR} ${STAGEDIR}/${DATADIR}/lang
|
||||
cd ${WRKSRC}/lang && \
|
||||
${FIND} . -type f -regex '.*\.lng' -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}/${DATADIR}/lang/{}" \;
|
||||
${INSTALL_DATA} {} "${STAGEDIR}/${DATADIR}/lang/{}" \;
|
||||
${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}
|
||||
cd ${WRKSRC}/ip2name && \
|
||||
${FIND} . -type f -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/{}" \;
|
||||
${INSTALL_DATA} {} "${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/{}" \;
|
||||
${MKDIR} ${STAGEDIR}/${ETCDIR}
|
||||
.for i in ${CONFIGS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}/${ETCDIR}/${i}.sample
|
||||
|
@ -68,10 +68,10 @@ do-install:
|
|||
${FIND} . -type d ! -empty -exec \
|
||||
${MKDIR} "${STAGEDIR}/${WWWDIR}/tpl/{}" \; && \
|
||||
${FIND} . -type f -exec \
|
||||
${INSTALL_DATA} "{}" "${STAGEDIR}/${WWWDIR}/tpl/{}" \;
|
||||
${INSTALL_DATA} {} "${STAGEDIR}/${WWWDIR}/tpl/{}" \;
|
||||
cd ${WRKSRC} && \
|
||||
${FIND} -E . -maxdepth 1 -regex '.*\.(cgi|pl)' -exec \
|
||||
${INSTALL_SCRIPT} "{}" "${STAGEDIR}/${WWWDIR}/{}" \; && \
|
||||
${INSTALL_SCRIPT} {} "${STAGEDIR}/${WWWDIR}/{}" \; && \
|
||||
${INSTALL_DATA} .htaccess ${STAGEDIR}/${WWWDIR}/
|
||||
|
||||
do-install-DOCS-on:
|
||||
|
|
|
@ -1333,7 +1333,7 @@ do-install:
|
|||
# Install dynamic modules
|
||||
.if !empty(PORT_OPTIONS:MDSO)
|
||||
(cd ${WRKSRC}/objs/ && ${FIND} . -name '*.so' -maxdepth 1 -type f \
|
||||
-exec ${INSTALL_PROGRAM} "{}" ${STAGEDIR}${MODULESDIR} \;)
|
||||
-exec ${INSTALL_PROGRAM} {} ${STAGEDIR}${MODULESDIR} \;)
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MNAXSI}
|
||||
|
|
|
@ -1323,7 +1323,7 @@ do-install:
|
|||
# Install dynamic modules
|
||||
.if !empty(PORT_OPTIONS:MDSO)
|
||||
(cd ${WRKSRC}/objs/ && ${FIND} . -name '*.so' -maxdepth 1 -type f \
|
||||
-exec ${INSTALL_PROGRAM} "{}" ${STAGEDIR}${MODULESDIR} \;)
|
||||
-exec ${INSTALL_PROGRAM} {} ${STAGEDIR}${MODULESDIR} \;)
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MNAXSI}
|
||||
|
|
|
@ -83,9 +83,9 @@ maketar: do-clean
|
|||
@${REINPLACE_CMD} -e '1 s|#!/bin/bash|#!${LOCALBASE}/bin/bash|; s|${MAKE}|${GMAKE}|g; s|perl -pi|perl -p|' ${MS_WRKSRC}/${MS_DISTNAME}/scripts/doc-build.sh
|
||||
@${GREP} -lr share/man ${MS_WRKSRC}/${MS_DISTNAME}/doc/ ${MS_WRKSRC}/${MS_DISTNAME}/scripts/ | ${XARGS} -I % ${REINPLACE_CMD} 's|share/man|man|g' %
|
||||
@cd ${MS_WRKSRC}/${MS_DISTNAME}/ && ${GMAKE} docclean markedclean all html/doc/misc/npm-index.html
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type d -exec ${CHMOD} 755 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -exec ${CHMOD} 644 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -name '*.sh' -exec ${CHMOD} 755 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type d -exec ${CHMOD} 755 {} \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -exec ${CHMOD} 644 {} \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -name '*.sh' -exec ${CHMOD} 755 {} \;
|
||||
@cd ${MS_WRKSRC}/ && ${TAR} -Jcf ${MS_DISTNAME}.tar.xz ${MS_DISTNAME}/
|
||||
@${REINPLACE_CMD} -e '/^PORTVERSION=/ s|${PORTVERSION}|'${MS_VERSION}'|; /^PORTREVISION=/d' ${.CURDIR}/Makefile
|
||||
@sudo ${INSTALL} -m 644 ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}.tar.xz ${DISTDIR}/
|
||||
|
|
|
@ -83,9 +83,9 @@ maketar: do-clean
|
|||
@${REINPLACE_CMD} -e '1 s|#!/bin/bash|#!${LOCALBASE}/bin/bash|; s|${MAKE}|${GMAKE}|g; s|perl -pi|perl -p|' ${MS_WRKSRC}/${MS_DISTNAME}/scripts/doc-build.sh
|
||||
@${GREP} -lr share/man ${MS_WRKSRC}/${MS_DISTNAME}/doc/ ${MS_WRKSRC}/${MS_DISTNAME}/scripts/ | ${XARGS} -I % ${REINPLACE_CMD} 's|share/man|man|g' %
|
||||
@cd ${MS_WRKSRC}/${MS_DISTNAME}/ && ${GMAKE} docclean markedclean all html/doc/misc/npm-index.html
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type d -exec ${CHMOD} 755 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -exec ${CHMOD} 644 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -name '*.sh' -exec ${CHMOD} 755 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type d -exec ${CHMOD} 755 {} \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -exec ${CHMOD} 644 {} \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -name '*.sh' -exec ${CHMOD} 755 {} \;
|
||||
@cd ${MS_WRKSRC}/ && ${TAR} -Jcf ${MS_DISTNAME}.tar.xz ${MS_DISTNAME}/
|
||||
@${REINPLACE_CMD} -e '/^PORTVERSION=/ s|${PORTVERSION}|'${MS_VERSION}'|; /^PORTREVISION=/d' ${.CURDIR}/Makefile
|
||||
@sudo ${INSTALL} -m 644 ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}.tar.xz ${DISTDIR}/
|
||||
|
|
|
@ -92,9 +92,9 @@ maketar: do-clean
|
|||
@${REINPLACE_CMD} -e '1 s|#!/bin/bash|#!${LOCALBASE}/bin/bash|; s|${MAKE}|${GMAKE}|g; s|perl -pi|perl -p|' ${MS_WRKSRC}/${MS_DISTNAME}/scripts/doc-build.sh
|
||||
@${GREP} -lr share/man ${MS_WRKSRC}/${MS_DISTNAME}/doc/ ${MS_WRKSRC}/${MS_DISTNAME}/scripts/ | ${XARGS} -I % ${REINPLACE_CMD} 's|share/man|man|g' %
|
||||
@cd ${MS_WRKSRC}/${MS_DISTNAME}/ && ${GMAKE} docclean markedclean all html/doc/misc/npm-index.html
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type d -exec ${CHMOD} 755 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -exec ${CHMOD} 644 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -name '*.sh' -exec ${CHMOD} 755 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type d -exec ${CHMOD} 755 {} \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -exec ${CHMOD} 644 {} \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -name '*.sh' -exec ${CHMOD} 755 {} \;
|
||||
@cd ${MS_WRKSRC}/ && ${TAR} -Jcf ${MS_DISTNAME}.tar.xz ${MS_DISTNAME}/
|
||||
@${REINPLACE_CMD} -e '/^PORTVERSION=/ s|${PORTVERSION}|'${MS_VERSION}'|; /^PORTREVISION=/d' ${.CURDIR}/Makefile
|
||||
@sudo ${INSTALL} -m 644 ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}.tar.xz ${DISTDIR}/
|
||||
|
|
|
@ -84,9 +84,9 @@ maketar: do-clean
|
|||
@${REINPLACE_CMD} -e '1 s|#!/bin/bash|#!${LOCALBASE}/bin/bash|; s|${MAKE}|${GMAKE}|g; s|perl -pi|perl -p|' ${MS_WRKSRC}/${MS_DISTNAME}/scripts/doc-build.sh
|
||||
@${GREP} -lr share/man ${MS_WRKSRC}/${MS_DISTNAME}/doc/ ${MS_WRKSRC}/${MS_DISTNAME}/scripts/ | ${XARGS} -I % ${REINPLACE_CMD} 's|share/man|man|g' %
|
||||
@cd ${MS_WRKSRC}/${MS_DISTNAME}/ && ${GMAKE} docclean markedclean all html/doc/misc/npm-index.html
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type d -exec ${CHMOD} 755 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -exec ${CHMOD} 644 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -name '*.sh' -exec ${CHMOD} 755 '{}' \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type d -exec ${CHMOD} 755 {} \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -exec ${CHMOD} 644 {} \;
|
||||
@${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -name '*.sh' -exec ${CHMOD} 755 {} \;
|
||||
@cd ${MS_WRKSRC}/ && ${TAR} -Jcf ${MS_DISTNAME}.tar.xz ${MS_DISTNAME}/
|
||||
@${REINPLACE_CMD} -e '/^PORTVERSION=/ s|${PORTVERSION}|'${MS_VERSION}'|; /^PORTREVISION=/d' ${.CURDIR}/Makefile
|
||||
@sudo ${INSTALL} -m 644 ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}.tar.xz ${DISTDIR}/
|
||||
|
|
|
@ -47,7 +47,7 @@ pre-install:
|
|||
do-install:
|
||||
${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/
|
||||
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w '{}' \;
|
||||
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \;
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
|
|
|
@ -368,7 +368,7 @@ do-install:
|
|||
@${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE}
|
||||
@cd ${WRKSRC}/${DIRE} && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/${DIRE}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \;
|
||||
.endfor
|
||||
|
||||
.for FILE in doublecmd.ext.example pixmaps.txt multiarc.ini install/linux/doublecmd.xml
|
||||
|
@ -387,7 +387,7 @@ post-install:
|
|||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@cd ${DOCSRC} && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \;
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue