Use the FIND and XARGS macros introduced in bsd.port.mk 1.391.
This commit is contained in:
parent
985ad01865
commit
f725dc8ef5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93885
@ -46,9 +46,9 @@ do-install:
|
||||
${MKDIR} ${SITE_PERL}/${D}
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/${D}/* ${SITE_PERL}/${D}
|
||||
.endfor
|
||||
(cd ${WRKSRC}; /usr/bin/find profile_samples site_samples -type d \
|
||||
(cd ${WRKSRC}; ${FIND} profile_samples site_samples -type d \
|
||||
-exec ${MKDIR} "${PREFIX}/share/sitescooper/{}" \;)
|
||||
(cd ${WRKSRC}; /usr/bin/find profile_samples site_samples -type f \
|
||||
(cd ${WRKSRC}; ${FIND} profile_samples site_samples -type f \
|
||||
-exec ${INSTALL_DATA} "{}" "${PREFIX}/share/sitescooper/{}" \;)
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
||||
|
@ -22,7 +22,7 @@ RESOURCE= ${PREFIX}/share/ghostscript/Resource
|
||||
do-install:
|
||||
@${MKDIR} ${RESOURCE}/CIDFont
|
||||
@${MKDIR} ${RESOURCE}/Font
|
||||
@cd ${WRKSRC} && find . \! -name '.*' \
|
||||
@cd ${WRKSRC} && ${FIND} . \! -name '.*' \
|
||||
| cpio --quiet -pdum -R ${SHAREOWN}:${SHAREGRP} ${RESOURCE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -27,7 +27,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
|
||||
post-patch:
|
||||
@find ${WRKSRC} -name '*.[ch]' | xargs ${REINPLACE_CMD} -e \
|
||||
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|<malloc[.]h>|<stdlib.h>|'
|
||||
|
||||
post-install:
|
||||
|
@ -60,7 +60,7 @@ post-install:
|
||||
cd ${WRKSRC}/input ; \
|
||||
${TAR} -chf - --exclude=out --exclude=CVS --exclude=GNUmakefile . | \
|
||||
${TAR} -xf - -C ${EXAMPLESDIR};\
|
||||
${FIND} ${EXAMPLESDIR} -name "out" | xargs ${RM} -rf ;
|
||||
${FIND} ${EXAMPLESDIR} -name "out" | ${XARGS} ${RM} -rf ;
|
||||
.for ii in login profile
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/buildscripts/out/lilypond-${ii} \
|
||||
${EXAMPLESDIR}/scripts
|
||||
|
@ -37,7 +37,7 @@ INFO= kpathsea web2c
|
||||
MAKE_FLAGS= fmts= all_mems=
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKDIR} && find . -name \*.gz | xargs gunzip -f
|
||||
cd ${WRKDIR} && ${FIND} . -name \*.gz | ${XARGS} gunzip -f
|
||||
|
||||
post-configure:
|
||||
@cd ${WRKSRC}/web2c; \
|
||||
|
@ -23,7 +23,7 @@ USE_GMAKE=YES
|
||||
MAN1=xdvi.1 gsftopk.1
|
||||
|
||||
pre-build:
|
||||
(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)
|
||||
(cd ${WRKSRC} ; ${FIND} . -name '*.orig' -exec ${RM} -f {} \;)
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC}/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
||||
|
@ -217,7 +217,7 @@ pre-patch:
|
||||
|
||||
post-patch:
|
||||
@cd ${WRKSRC} \
|
||||
&& find . -type f -name "*.orig" -print | xargs ${RM} -f
|
||||
&& ${FIND} . -type f -name "*.orig" -print | ${XARGS} ${RM} -f
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} \
|
||||
|
@ -23,7 +23,8 @@ do-install:
|
||||
${MKDIR} ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/bin
|
||||
${MKDIR} ${PREFIX}/libexec/at
|
||||
${INSTALL_PROGRAM} `find ${WRKSRC} -name \*.out -print` ${PREFIX}/libexec/at
|
||||
${INSTALL_PROGRAM} `${FIND} ${WRKSRC} -name \*.out -print` \
|
||||
${PREFIX}/libexec/at
|
||||
${MKDIR} ${PREFIX}/share/examples/at
|
||||
${CP} -rp ${WRKSRC}/tests/* ${PREFIX}/share/examples/at
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/at_init ${PREFIX}/share/examples/at
|
||||
|
@ -42,7 +42,7 @@ do-install:
|
||||
(cd ${WRKSRC}/src; \
|
||||
${INSTALL_SCRIPT} gcipher ${PREFIX}/bin/gcipher; \
|
||||
${INSTALL_DATA} gcipher.desktop ${PREFIX}/share/gnome/applications; \
|
||||
for i in `find . -name '*.py' \
|
||||
for i in `${FIND} . -name '*.py' \
|
||||
-o -name '*.pyc' \
|
||||
-o -name '*.glade' \
|
||||
-o -name '*.gladep'`; do \
|
||||
@ -50,7 +50,7 @@ do-install:
|
||||
done)
|
||||
|
||||
(cd ${WRKSRC}/plugins; \
|
||||
for i in `find . -name '*.py' \
|
||||
for i in `${FIND} . -name '*.py' \
|
||||
-o -name '*.glade' \
|
||||
-o -name '*.gladep'`; do \
|
||||
${INSTALL_DATA} "$$i" "${GCIPHER_PREFIX}/plugins/$$i"; \
|
||||
|
@ -32,7 +32,7 @@ do-build:
|
||||
pre-install:
|
||||
${ECHO_CMD} bin/lc_CLI > ${PLIST}
|
||||
.if !defined(NOPORTDOCS)
|
||||
for i in `find ${WRKDIR} -name '*txt'`; \
|
||||
for i in `${FIND} ${WRKDIR} -name '*txt'`; \
|
||||
do ${ECHO_CMD} ${DOCDIR}/`${BASENAME} $${i}` >> ${PLIST}; \
|
||||
done
|
||||
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
|
||||
|
@ -49,15 +49,15 @@ MAN4= skipd.conf.4 raw_keys.4
|
||||
# Also, we remove all the "#pragma ident" lines that generate
|
||||
# a bazillion warnings from the compiler.
|
||||
post-patch:
|
||||
@find ${WRKSRC} -name '*.orig' -print | xargs ${RM}
|
||||
@${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM}
|
||||
@cd ${WRKSRC}; \
|
||||
FILES=`find . -type f -print | xargs ${GREP} -l @@PREFIX@@`; \
|
||||
FILES=`${FIND} . -type f -print | ${XARGS} ${GREP} -l @@PREFIX@@`; \
|
||||
for FILE in $$FILES; do \
|
||||
${SED} 's!@@PREFIX@@!${PREFIX}!g' < $$FILE > $$FILE.new ; \
|
||||
${MV} $$FILE.new $$FILE; \
|
||||
done; \
|
||||
FILES=`find . -type f -name '*.[cCh]' -print \
|
||||
| xargs ${GREP} -l '^#pragma ident'`; \
|
||||
FILES=`${FIND} . -type f -name '*.[cCh]' -print \
|
||||
| ${XARGS} ${GREP} -l '^#pragma ident'`; \
|
||||
for FILE in $$FILES; do \
|
||||
${SED} '/^#pragma ident/d' < $$FILE > $$FILE.new ; \
|
||||
${MV} $$FILE.new $$FILE; \
|
||||
|
@ -30,7 +30,7 @@ pre-install:
|
||||
do-install:
|
||||
@${MKDIR} ${DATADIR}
|
||||
@ cd ${WRKSRC} && ${FIND} * -type f -print | ${CPIO} ${BINOWN}:${BINGRP} ${DATADIR}
|
||||
@ cd ${DATADIR} && ${FIND} * -type d -print | xargs ${CHMOD} 0755
|
||||
@ cd ${DATADIR} && ${FIND} * -type d -print | ${XARGS} ${CHMOD} 0755
|
||||
@ cd ${PREFIX} && ${FIND} share/${PORTNAME} -type f -print | ${SORT} > ${TMPPLIST}
|
||||
@ cd ${PREFIX} && ${FIND} share/${PORTNAME} -type d -print | ${SORT} | ${SED} -e 's#^#@dirrm #' >> ${TMPPLIST}
|
||||
|
||||
|
@ -26,7 +26,7 @@ pre-patch:
|
||||
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
||||
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \
|
||||
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
||||
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
||||
|
||||
|
@ -21,8 +21,8 @@ USE_REINPLACE= yes
|
||||
|
||||
.if ${OSVERSION} >= 500014
|
||||
pre-patch:
|
||||
@find ${WRKSRC} -name 'proc????.c' | xargs ${REINPLACE_CMD} -E -e \
|
||||
's/kp_.?proc\.._/ki_/ ; s/pcred\.p_//'
|
||||
@${FIND} ${WRKSRC} -name 'proc????.c' | ${XARGS} ${REINPLACE_CMD} -E \
|
||||
-e 's/kp_.?proc\.._/ki_/ ; s/pcred\.p_//'
|
||||
.endif
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
@ -40,7 +40,7 @@ pre-patch:
|
||||
|
||||
# delete dust files before build
|
||||
pre-build:
|
||||
find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
|
||||
${FIND} ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
|
||||
${RM} -f ${WRKSRC}/etc/DOC* ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${EMACS_VERSION}.*
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -35,8 +35,8 @@ do-build:
|
||||
|
||||
pre-install:
|
||||
@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
|
||||
@find ${WRKDIR} -name '*~' -exec ${RM} {} \;
|
||||
@find ${WRKDIR} -name '*.orig' -exec ${RM} {} \;
|
||||
@${FIND} ${WRKDIR} -name '*~' -exec ${RM} {} \;
|
||||
@${FIND} ${WRKDIR} -name '*.orig' -exec ${RM} {} \;
|
||||
|
||||
do-install:
|
||||
@${CP} -Rp ${WRKSRC}/* ${INSTDIR}
|
||||
|
@ -26,7 +26,8 @@ JAVA_LIBDIR= ${PREFIX}/share/java/classes
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${JAVA_LIBDIR} ${DATADIR} ${DOCSDIR}
|
||||
find ${WRKSRC} \( -name \*.orig -o -name \*~ -o -name CVS \) -exec ${RM} -rf \{} \;
|
||||
${FIND} ${WRKSRC} \( -name \*.orig -o -name \*~ -o -name CVS \) \
|
||||
-exec ${RM} -rf \{} \;
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}; \
|
||||
|
@ -34,7 +34,7 @@ pre-install:
|
||||
|
||||
do-install:
|
||||
@zcat ${DISTDIR}/${DISTFILES} |(cd ${INSTDIR}; pax -r)
|
||||
@${CHMOD} ${SHAREMODE} `find ${INSTDIR} -type f`
|
||||
@${CHMOD} ${SHAREMODE} `${FIND} ${INSTDIR} -type f`
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
||||
|
||||
post-install:
|
||||
|
@ -34,7 +34,8 @@ post-extract:
|
||||
@${CHMOD} u+w ${WRKSRC}/configure
|
||||
|
||||
pre-install:
|
||||
@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
|
||||
@${FIND} ${WRKSRC} \( -name \*.orig -o -name \*~ \) \
|
||||
-exec ${RM} -f \{} \;
|
||||
|
||||
post-install:
|
||||
.for i in jade nsgmls sgmlnorm spam spent sx
|
||||
|
@ -40,7 +40,7 @@ DOCSUBDIR= / RDF RDF/Core RDF/Core/Enumerator RDF/Core/Model \
|
||||
RDF/Core/Storage
|
||||
|
||||
pre-patch:
|
||||
@find ${WRKSRC} -name "*.pm" | xargs ${PERL} -pi -e \
|
||||
@${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${PERL} -pi -e \
|
||||
'$$package=$$1 if /^package\s+([^\s;]*);/; s!^require 5.005_62;!!; s!^use warnings;!!; s!^our\s+(\$$)(VERSION)\s+=!$$1$${package}::$$2=!;'
|
||||
|
||||
post-install:
|
||||
|
@ -32,7 +32,7 @@ MAN3= RDF::Notation3.3 RDF::Notation3::PrefTriples.3 \
|
||||
RDF::Notation3::XML.3
|
||||
|
||||
pre-patch:
|
||||
@${FIND} ${WRKSRC} -name "*.pm" | xargs ${PERL} -pi -e \
|
||||
@${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${PERL} -pi -e \
|
||||
'$$package=$$1 if /^package\s+([^\s;]*);/; s!^require 5.005_62;!!; s!^use warnings;!!; s!^our\s+(\$$)(VERSION)\s+=!$$1$${package}::$$2=!;'
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
@ -21,7 +21,7 @@ MAN3= SVG.3 SVG::DOM.3 SVG::Element.3 SVG::Manual.3 SVG::XML.3
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} \( -name "*.p[lm]" -or -name "*.cgi" \
|
||||
-or -name "*.pod" \)|xargs ${PERL} -pi -e 's/\x0d//g;'
|
||||
-or -name "*.pod" \)|${XARGS} ${PERL} -pi -e 's/\x0d//g;'
|
||||
|
||||
post-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
|
@ -26,7 +26,7 @@ MAN3= XML::Directory.3 XML::Directory::Apache.3 \
|
||||
|
||||
|
||||
pre-patch:
|
||||
@find ${WRKSRC} -name "*.pm" | xargs ${PERL} -pi -e \
|
||||
@${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${PERL} -pi -e \
|
||||
'$$package=$$1 if /^package\s+([^\s;]*);/; s!^require 5.005_62;!!; s!^use warnings;!!; s!^our\s+(\$$|@)(VERSION|ISA|EXPORT|EXPORT_OK)\s+=!$$1$${package}::$$2=!;'
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
@ -37,10 +37,10 @@ post-install:
|
||||
.for docfile in ANNOUNCE CREDITS LICENCE README* TODO
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
||||
.endfor
|
||||
@ cd ${WRKSRC}/doc && find * \
|
||||
@ cd ${WRKSRC}/doc && ${FIND} * \
|
||||
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
||||
@ ${MKDIR} ${EXAMPLESDIR}
|
||||
@ cd ${WRKSRC} && find demo test \
|
||||
@ cd ${WRKSRC} && ${FIND} demo test \
|
||||
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
|
@ -62,7 +62,7 @@ MTREE_FILE= /etc/mtree/BSD.x11-4.dist
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@find ${WRKSRC} -name Makefile.in | xargs ${REINPLACE_CMD} -e \
|
||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|[(]LN_S[)] -f -n|(LN_S) -f|g'
|
||||
@${REINPLACE_CMD} -e 's|/usr/share/locale|${PREFIX}/share/locale|g' \
|
||||
${WRKSRC}/libs/scrollkeeper.h.in
|
||||
|
@ -27,7 +27,7 @@ USE_GMAKE= yes
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
${FIND} ${WRKSRC} -name '*.h' | xargs ${REINPLACE_CMD} \
|
||||
${FIND} ${WRKSRC} -name '*.h' | ${XARGS} ${REINPLACE_CMD} \
|
||||
's|IO->close()|if(IO) IO->close()|g'
|
||||
|
||||
post-install:
|
||||
|
@ -22,7 +22,7 @@ USE_GMAKE= yes
|
||||
INSTALL_TARGET= install INST=${PREFIX}/${PORTNAME}
|
||||
|
||||
post-extract:
|
||||
find ${WRKSRC} -name CVS | xargs ${RM} -rf
|
||||
${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
|
||||
|
||||
post-install:
|
||||
# Headers
|
||||
|
@ -120,7 +120,7 @@ PLIST_SUB+= SUEXEC="@comment "
|
||||
post-patch:
|
||||
.if !defined(PATCH_DEBUG)
|
||||
@ cd ${WRKSRC} \
|
||||
&& find . -type f -name "*.orig" -print | xargs ${RM} -f
|
||||
&& ${FIND} . -type f -name "*.orig" -print | ${XARGS} ${RM} -f
|
||||
.endif
|
||||
|
||||
# Create apache user and group
|
||||
|
@ -81,7 +81,7 @@ pre-everything::
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}-gtk2|g' \
|
||||
${WRKSRC}/configure
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|-lpthread|${PTHREAD_LIBS}|g'
|
||||
@${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|malloc\.h|stdlib.h|g'
|
||||
|
@ -49,7 +49,7 @@ post-configure:
|
||||
|
||||
do-install:
|
||||
@ ${MKDIR} -m 0755 ${PREFIX}/${GALLERYDIR}
|
||||
@ cd ${WRKSRC} && find * -name \*.bat ${EXCEPTFILES:S/^/-o -name /} \
|
||||
@ cd ${WRKSRC} && ${FIND} * -name \*.bat ${EXCEPTFILES:S/^/-o -name /} \
|
||||
-o -print | ${CPIO} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GALLERYDIR}
|
||||
|
||||
post-install:
|
||||
|
@ -49,7 +49,7 @@ post-configure:
|
||||
|
||||
do-install:
|
||||
@ ${MKDIR} -m 0755 ${PREFIX}/${GALLERYDIR}
|
||||
@ cd ${WRKSRC} && find * -name \*.bat ${EXCEPTFILES:S/^/-o -name /} \
|
||||
@ cd ${WRKSRC} && ${FIND} * -name \*.bat ${EXCEPTFILES:S/^/-o -name /} \
|
||||
-o -print | ${CPIO} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GALLERYDIR}
|
||||
|
||||
post-install:
|
||||
|
@ -49,7 +49,7 @@ post-configure:
|
||||
|
||||
do-install:
|
||||
@ ${MKDIR} -m 0755 ${PREFIX}/${GALLERYDIR}
|
||||
@ cd ${WRKSRC} && find * -name \*.bat ${EXCEPTFILES:S/^/-o -name /} \
|
||||
@ cd ${WRKSRC} && ${FIND} * -name \*.bat ${EXCEPTFILES:S/^/-o -name /} \
|
||||
-o -print | ${CPIO} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GALLERYDIR}
|
||||
|
||||
post-install:
|
||||
|
@ -143,7 +143,7 @@ do-install:
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Fixing permissions..."
|
||||
@${CHMOD} 755 `find ${APP_HOME} -type d`
|
||||
@${CHMOD} 755 `${FIND} ${APP_HOME} -type d`
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Creating PID file..."
|
||||
|
@ -155,7 +155,7 @@ do-install:
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Fixing permissions..."
|
||||
@${CHMOD} 755 `find ${APP_HOME} -type d`
|
||||
@${CHMOD} 755 `${FIND} ${APP_HOME} -type d`
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Creating PID file..."
|
||||
|
@ -156,7 +156,7 @@ do-install:
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Fixing permissions..."
|
||||
@${CHMOD} 755 `find ${APP_HOME} -type d`
|
||||
@${CHMOD} 755 `${FIND} ${APP_HOME} -type d`
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Creating PID file..."
|
||||
|
@ -154,7 +154,7 @@ do-install:
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Fixing permissions..."
|
||||
@${CHMOD} 755 `find ${APP_HOME} -type d`
|
||||
@${CHMOD} 755 `${FIND} ${APP_HOME} -type d`
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Creating PID file..."
|
||||
|
@ -154,7 +154,7 @@ do-install:
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Fixing permissions..."
|
||||
@${CHMOD} 755 `find ${APP_HOME} -type d`
|
||||
@${CHMOD} 755 `${FIND} ${APP_HOME} -type d`
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Creating PID file..."
|
||||
|
@ -145,11 +145,11 @@ pre-install:
|
||||
${ECHO_CMD} bin/${STARTUP_CMD} > ${PLIST}
|
||||
${ECHO_CMD} "@unexec ${FIND} ${FULL_INSTALL_DIR}/plugins \
|
||||
-type l -exec ${RM} {} \;" >> ${PLIST}
|
||||
cd ${WRKSRC}/bin; for i in `find * \! -type d | sort`; do \
|
||||
cd ${WRKSRC}/bin; for i in `${FIND} * \! -type d | sort`; do \
|
||||
${ECHO_CMD} lib/${INSTALL_DIR}/$${i} >> ${PLIST}; \
|
||||
done
|
||||
cd ${WRKSRC}/bin; \
|
||||
for i in `find -d * -type d`; do \
|
||||
for i in `${FIND} -d * -type d`; do \
|
||||
${ECHO_CMD} @dirrm lib/${INSTALL_DIR}/$${i} >> ${PLIST}; \
|
||||
done
|
||||
${ECHO_CMD} lib/${INSTALL_DIR}/linkfarm >> ${PLIST}
|
||||
|
@ -146,11 +146,11 @@ pre-install:
|
||||
${ECHO_CMD} bin/${STARTUP_CMD} > ${PLIST}
|
||||
${ECHO_CMD} "@unexec ${FIND} ${PREFIX}/lib/linux-mozilla/plugins -type l \
|
||||
-exec ${RM} {} \;" >> ${PLIST}
|
||||
cd ${WRKSRC}/bin; for i in `find * \! -type d | sort`; do \
|
||||
cd ${WRKSRC}/bin; for i in `${FIND} * \! -type d | sort`; do \
|
||||
${ECHO_CMD} lib/linux-mozilla/$${i} >> ${PLIST}; \
|
||||
done
|
||||
cd ${WRKSRC}/bin; \
|
||||
for i in `find -d * -type d`; do \
|
||||
for i in `${FIND} -d * -type d`; do \
|
||||
${ECHO_CMD} @dirrm lib/linux-mozilla/$${i} >> ${PLIST}; \
|
||||
done
|
||||
${ECHO_CMD} lib/linux-mozilla/linkfarm >> ${PLIST}
|
||||
|
@ -36,7 +36,7 @@ post-patch:
|
||||
|
||||
pre-install:
|
||||
${ECHO_CMD} bin/mmosaic > ${PLIST}
|
||||
cd ${WRKSRC}/Copyrights; for i in `find * -type f`; do \
|
||||
cd ${WRKSRC}/Copyrights; for i in `${FIND} * -type f`; do \
|
||||
${ECHO_CMD} share/doc/mmosaic/$${i} >> ${PLIST}; \
|
||||
done
|
||||
|
||||
|
@ -31,11 +31,11 @@ EXTRACT_AFTER_ARGS:=| ${TAR} -xf - ${SUBDIRS:%=${PORTNAME}-${PORTVERSION}/%}
|
||||
post-patch:
|
||||
# Replacing writeGIF with writePNG
|
||||
${PERL} -pi -e 's/writeGIF/writePNG/g' \
|
||||
`find ${WRKSRC}/.. -type f | xargs fgrep -l --mmap writeGIF`
|
||||
`${FIND} ${WRKSRC}/.. -type f|${XARGS} fgrep -l --mmap writeGIF`
|
||||
|
||||
pre-install:
|
||||
# Removing *.orig files and empty directories:
|
||||
find ${WRKSRC}/../neowebscript ${WRKSRC}/../htdocs \
|
||||
${FIND} ${WRKSRC}/../neowebscript ${WRKSRC}/../htdocs \
|
||||
\( -type f -name \*.orig -o -type d -empty \) -delete
|
||||
|
||||
CONFSCRIPT= ${LOCALBASE}/etc/apache/neowebscript.conf
|
||||
|
@ -92,14 +92,14 @@ do-configure:
|
||||
|
||||
pre-install:
|
||||
${ECHO_CMD} bin/${MAJ}${NETSCAPE_LANG} > ${PLIST}
|
||||
cd ${WRKSRC}/bin; for ii in `find * \! -type d | sort`; do \
|
||||
cd ${WRKSRC}/bin; for ii in `${FIND} * \! -type d | sort`; do \
|
||||
${ECHO_CMD} ${INSTALL_DIR}/$${ii} >> ${PLIST}; \
|
||||
done
|
||||
cd ${WRKSRC}/plugins; for ii in `find * \! -type d | sort`; do \
|
||||
cd ${WRKSRC}/plugins; for ii in `${FIND} * \! -type d | sort`; do \
|
||||
${ECHO_CMD} ${INSTALL_DIR}/plugins/$${ii} >> ${PLIST}; \
|
||||
done
|
||||
cd ${WRKSRC}/bin; \
|
||||
for ii in `find -d * -type d`; do \
|
||||
for ii in `${FIND} -d * -type d`; do \
|
||||
${ECHO_CMD} @dirrm ${INSTALL_DIR}/$${ii} >> ${PLIST}; \
|
||||
done
|
||||
${ECHO_CMD} @dirrm ${INSTALL_DIR} >> ${PLIST}
|
||||
|
@ -158,7 +158,7 @@ do-install:
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Fixing permissions..."
|
||||
@${CHMOD} 755 `find ${APP_HOME} -type d`
|
||||
@${CHMOD} 755 `${FIND} ${APP_HOME} -type d`
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Creating PID file..."
|
||||
|
@ -156,7 +156,7 @@ do-install:
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Fixing permissions..."
|
||||
@${CHMOD} 755 `find ${APP_HOME} -type d`
|
||||
@${CHMOD} 755 `${FIND} ${APP_HOME} -type d`
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Creating PID file..."
|
||||
|
@ -154,7 +154,7 @@ do-install:
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Fixing permissions..."
|
||||
@${CHMOD} 755 `find ${APP_HOME} -type d`
|
||||
@${CHMOD} 755 `${FIND} ${APP_HOME} -type d`
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Creating PID file..."
|
||||
|
@ -154,7 +154,7 @@ do-install:
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Fixing permissions..."
|
||||
@${CHMOD} 755 `find ${APP_HOME} -type d`
|
||||
@${CHMOD} 755 `${FIND} ${APP_HOME} -type d`
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Creating PID file..."
|
||||
|
@ -154,7 +154,7 @@ do-install:
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Fixing permissions..."
|
||||
@${CHMOD} 755 `find ${APP_HOME} -type d`
|
||||
@${CHMOD} 755 `${FIND} ${APP_HOME} -type d`
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
||||
@${ECHO_CMD} -n ">> Creating PID file..."
|
||||
|
@ -40,7 +40,7 @@ pre-install:
|
||||
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
|
||||
.endif
|
||||
${ECHO_CMD} etc/wb0.config >> ${PLIST}
|
||||
for i in `find ${PREFIX}/share/wb0 -type f`; \
|
||||
for i in `${FIND} ${PREFIX}/share/wb0 -type f`; \
|
||||
do ${ECHO_CMD} share/wb0/`${BASENAME} $${i}` >> ${PLIST}; \
|
||||
done
|
||||
${ECHO_CMD} @dirrm share/wb0 >> ${PLIST}
|
||||
|
@ -27,7 +27,7 @@ USE_GMAKE= yes
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
${FIND} ${WRKSRC} -name '*.h' | xargs ${REINPLACE_CMD} \
|
||||
${FIND} ${WRKSRC} -name '*.h' | ${XARGS} ${REINPLACE_CMD} \
|
||||
's|IO->close()|if(IO) IO->close()|g'
|
||||
|
||||
post-install:
|
||||
|
@ -38,7 +38,7 @@ do-build:
|
||||
|
||||
do-install:
|
||||
@ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
||||
@ cd ${WRKSRC} && find * | ${CPIO} ${BINOWN}:${BINGRP} \
|
||||
@ cd ${WRKSRC} && ${FIND} * | ${CPIO} ${BINOWN}:${BINGRP} \
|
||||
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
||||
|
||||
post-install:
|
||||
|
@ -40,7 +40,7 @@ do-build:
|
||||
|
||||
do-install:
|
||||
@ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
||||
@ cd ${WRKSRC} && find * | ${CPIO} ${BINOWN}:${BINGRP} \
|
||||
@ cd ${WRKSRC} && ${FIND} * | ${CPIO} ${BINOWN}:${BINGRP} \
|
||||
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
||||
|
||||
post-install:
|
||||
|
@ -50,12 +50,12 @@ do-install:
|
||||
.endfor
|
||||
.for product in TAL ZTUtils
|
||||
@ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPYTHONDIR}/${product}
|
||||
@ cd ${WRKDIR}/${product} && find * \
|
||||
@ cd ${WRKDIR}/${product} && ${FIND} * \
|
||||
| ${CPIO} ${BINOWN}:${BINGRP} \
|
||||
${ZOPEBASEDIR}/${ZOPEPYTHONDIR}/${product}/
|
||||
.endfor
|
||||
@ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
||||
@ cd ${WRKSRC} && find * \( -name examples -a -prune \) -o -print \
|
||||
@ cd ${WRKSRC} && ${FIND} * \( -name examples -a -prune \) -o -print \
|
||||
| ${CPIO} ${BINOWN}:${BINGRP} \
|
||||
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
||||
@ ${MKDIR} ${ZOPEBASEDIR}/import
|
||||
|
@ -40,7 +40,7 @@ do-build:
|
||||
do-install:
|
||||
@ ${CHMOD} -R og+rX ${WRKSRC}/
|
||||
@ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
||||
@ cd ${WRKSRC} && find * \! -name \*.zexp \
|
||||
@ cd ${WRKSRC} && ${FIND} * \! -name \*.zexp \
|
||||
| ${CPIO} ${BINOWN}:${BINGRP} \
|
||||
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user