diff --git a/databases/p5-DBD-ODBC/Makefile b/databases/p5-DBD-ODBC/Makefile index 7c42fcde8466..955553f14e0e 100644 --- a/databases/p5-DBD-ODBC/Makefile +++ b/databases/p5-DBD-ODBC/Makefile @@ -50,17 +50,17 @@ MYODBC= unixodbc post-patch: @${REINPLACE_CMD} -e '/my $$myodbc/ s|q{}|"${MYODBC}"|' ${WRKSRC}/Makefile.PL -post-configure: .if ${PORT_OPTIONS:MUNIXODBC} +post-configure: @${PERL} -pi -e 's/-lodbc/-lodbc ${PTHREAD_LIBS}/g;' \ -e 's/$$/ ${PTHREAD_CFLAGS}/ if (/^CCFLAGS/);' \ ${WRKSRC}/Makefile .endif -post-install: .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif diff --git a/databases/p5-DBI/Makefile b/databases/p5-DBI/Makefile index 55b210974cbb..05220dd16699 100644 --- a/databases/p5-DBI/Makefile +++ b/databases/p5-DBI/Makefile @@ -34,8 +34,8 @@ RUN_DEPENDS+= p5-PlRPC>=0.2001:${PORTSDIR}/net/p5-PlRPC post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif diff --git a/deskutils/mirall/Makefile b/deskutils/mirall/Makefile index 936a6d37ce75..52372873f822 100644 --- a/deskutils/mirall/Makefile +++ b/deskutils/mirall/Makefile @@ -39,7 +39,7 @@ post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${INSTALL_WRKSRC}/doc/latex/ownCloudClientManual.pdf ${STAGEDIR}${DOCSDIR} - cd ${INSTALL_WRKSRC}/doc/html/unthemed ; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html + (cd ${INSTALL_WRKSRC}/doc/html/unthemed && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html) .endif .include diff --git a/devel/p5-DateTime-Event-Recurrence/Makefile b/devel/p5-DateTime-Event-Recurrence/Makefile index eded8c1918ae..f128db02eab7 100644 --- a/devel/p5-DateTime-Event-Recurrence/Makefile +++ b/devel/p5-DateTime-Event-Recurrence/Makefile @@ -25,8 +25,8 @@ PORTDOCS= CREDITS Changes README TODO post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif diff --git a/devel/p5-DateTime-Format-Builder/Makefile b/devel/p5-DateTime-Format-Builder/Makefile index cfe370380fdc..a4be2ea80096 100644 --- a/devel/p5-DateTime-Format-Builder/Makefile +++ b/devel/p5-DateTime-Format-Builder/Makefile @@ -31,12 +31,12 @@ PORTEXAMPLES= Apache.pm Fall.pm ICal.pm MySQL.pm Simple.pm Tivoli.pm W3CDTF.pm post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/ + (cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}) .endif .include diff --git a/devel/p5-DateTime-Set/Makefile b/devel/p5-DateTime-Set/Makefile index 089aa5f89bc0..9b81cc163a93 100644 --- a/devel/p5-DateTime-Set/Makefile +++ b/devel/p5-DateTime-Set/Makefile @@ -27,8 +27,8 @@ PORTDOCS= Changes README TODO post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif diff --git a/devel/p5-Event/Makefile b/devel/p5-Event/Makefile index 61ebf23c7b65..6504bccd9ba6 100644 --- a/devel/p5-Event/Makefile +++ b/devel/p5-Event/Makefile @@ -21,8 +21,8 @@ PORTDOCS= ANNOUNCE ChangeLog INSTALL MANIFEST README TODO Tutorial.pdf post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .endif .include diff --git a/devel/p5-Log-Dispatch/Makefile b/devel/p5-Log-Dispatch/Makefile index 7f18a2108a59..1f33b7ec7598 100644 --- a/devel/p5-Log-Dispatch/Makefile +++ b/devel/p5-Log-Dispatch/Makefile @@ -55,8 +55,8 @@ RUN_DEPENDS+= p5-Mail-Sendmail>=0:${PORTSDIR}/mail/p5-Mail-Sendmail post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .endif .include diff --git a/devel/p5-Module-Build/Makefile b/devel/p5-Module-Build/Makefile index 6c4134b734ea..8b6d3f4a8f14 100644 --- a/devel/p5-Module-Build/Makefile +++ b/devel/p5-Module-Build/Makefile @@ -49,8 +49,8 @@ post-patch: post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif diff --git a/devel/p5-MooseX-Log-Log4perl/Makefile b/devel/p5-MooseX-Log-Log4perl/Makefile index dac8136be061..51f3280146c8 100644 --- a/devel/p5-MooseX-Log-Log4perl/Makefile +++ b/devel/p5-MooseX-Log-Log4perl/Makefile @@ -24,6 +24,6 @@ post-patch: ${WRKSRC}/Makefile.PL regression-test: build - cd ${WRKSRC}/ && ${MAKE} test + cd ${WRKSRC} && ${MAKE} test .include diff --git a/devel/p5-Params-Check/Makefile b/devel/p5-Params-Check/Makefile index 31b9d0a60936..5fb9cc6318d7 100644 --- a/devel/p5-Params-Check/Makefile +++ b/devel/p5-Params-Check/Makefile @@ -22,8 +22,8 @@ PORTDOCS= CHANGES post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .endif .include diff --git a/devel/p5-Path-Class/Makefile b/devel/p5-Path-Class/Makefile index 8aeadd3955bd..e34e1ec465ae 100644 --- a/devel/p5-Path-Class/Makefile +++ b/devel/p5-Path-Class/Makefile @@ -26,7 +26,7 @@ PORTDOCS= Changes README post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .endif .include diff --git a/devel/p5-Proc-ProcessTable/Makefile b/devel/p5-Proc-ProcessTable/Makefile index e32d78b6adc4..6da94d86d3ee 100644 --- a/devel/p5-Proc-ProcessTable/Makefile +++ b/devel/p5-Proc-ProcessTable/Makefile @@ -19,7 +19,7 @@ PORTDOCS= README README.freebsd-kvm README.freebsd-procfs .if !defined(NOPORTDOCS) post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .endif .include diff --git a/devel/p5-Set-Infinite/Makefile b/devel/p5-Set-Infinite/Makefile index 4368fdfbbd2a..47cbc81f23dc 100644 --- a/devel/p5-Set-Infinite/Makefile +++ b/devel/p5-Set-Infinite/Makefile @@ -21,8 +21,8 @@ PORTDOCS= Changes README TODO post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .endif .include diff --git a/devel/p5-Spiffy/Makefile b/devel/p5-Spiffy/Makefile index 3c6cce8182a9..fe5e82418b50 100644 --- a/devel/p5-Spiffy/Makefile +++ b/devel/p5-Spiffy/Makefile @@ -25,8 +25,8 @@ PORTDOCS= Changes README post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .endif .include diff --git a/devel/p5-Time-Local/Makefile b/devel/p5-Time-Local/Makefile index 831634e10614..9fac86b791c1 100644 --- a/devel/p5-Time-Local/Makefile +++ b/devel/p5-Time-Local/Makefile @@ -25,8 +25,8 @@ PORTDOCS= Changes post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .endif .include diff --git a/finance/p5-Finance-Currency-Convert-XE/Makefile b/finance/p5-Finance-Currency-Convert-XE/Makefile index 5d1b6b27a6b4..17184994bc63 100644 --- a/finance/p5-Finance-Currency-Convert-XE/Makefile +++ b/finance/p5-Finance-Currency-Convert-XE/Makefile @@ -27,8 +27,8 @@ PORTDOCS= Changes README post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif diff --git a/ftp/p5-Net-FTPServer/Makefile b/ftp/p5-Net-FTPServer/Makefile index 28394fd76687..4fbb0dec98fb 100644 --- a/ftp/p5-Net-FTPServer/Makefile +++ b/ftp/p5-Net-FTPServer/Makefile @@ -67,7 +67,7 @@ post-install: .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}) .endif @${CAT} ${PKGMESSAGE} diff --git a/graphics/dri/Makefile b/graphics/dri/Makefile index c3b67b99447d..87380ebaf3d2 100644 --- a/graphics/dri/Makefile +++ b/graphics/dri/Makefile @@ -103,13 +103,13 @@ pre-everything:: do-install: .if !defined(WITH_NEW_XORG) - cd ${WRKSRC}/src/mesa; ${GMAKE} install-dri + (cd ${WRKSRC}/src/mesa && ${GMAKE} install-dri) .else - cd ${WRKSRC}/src/mesa/libdricore; ${GMAKE} install - cd ${WRKSRC}/src/mesa/drivers/dri; ${GMAKE} install + (cd ${WRKSRC}/src/mesa/libdricore && ${GMAKE} install) + (cd ${WRKSRC}/src/mesa/drivers/dri && ${GMAKE} install) . if defined(WITH_GALLIUM) && (${ARCH} == i386 || ${ARCH} == amd64) - cd ${WRKSRC}/src/gallium/drivers/radeon; ${GMAKE} install - cd ${WRKSRC}/src/gallium/targets; ${GMAKE} install + (cd ${WRKSRC}/src/gallium/drivers/radeon && ${GMAKE} install) + (cd ${WRKSRC}/src/gallium/targets && ${GMAKE} install) . endif .endif diff --git a/graphics/p5-PGPLOT/Makefile b/graphics/p5-PGPLOT/Makefile index 614712cdb203..7a68fe5fad75 100644 --- a/graphics/p5-PGPLOT/Makefile +++ b/graphics/p5-PGPLOT/Makefile @@ -22,8 +22,8 @@ USES= perl5 .if !defined(NOPORTEXAMPLES) post-install: - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} LICENSE test* ${STAGEDIR}${EXAMPLESDIR}/ + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} LICENSE test* ${STAGEDIR}${EXAMPLESDIR}) .endif .if defined(MAINTAINER_MODE) && !defined(BATCH) diff --git a/mail/p5-Mail-Graph/Makefile b/mail/p5-Mail-Graph/Makefile index d4f8d8ab250f..caacd18fd96f 100644 --- a/mail/p5-Mail-Graph/Makefile +++ b/mail/p5-Mail-Graph/Makefile @@ -28,14 +28,11 @@ MAN3= Mail::Graph.3 NO_STAGE= yes post-install: - @${MKDIR} ${EXAMPLESDIR} - @${MKDIR} ${EXAMPLESDIR}/archive - @${MKDIR} ${EXAMPLESDIR}/index - @${MKDIR} ${EXAMPLESDIR}/output - cd ${WRKSRC} && \ + @${MKDIR} ${EXAMPLESDIR}/archive ${EXAMPLESDIR}/index ${EXAMPLESDIR}/output + (cd ${WRKSRC} && \ ${INSTALL_SCRIPT} ${EXAMPLESCRIPT} ${EXAMPLESDIR} && \ ${INSTALL_SCRIPT} ${EXAMPLEDUMMY} ${EXAMPLESDIR}/index && \ ${INSTALL_SCRIPT} ${EXAMPLEOUTPUT} ${EXAMPLESDIR}/output && \ - ${INSTALL_SCRIPT} ${EXAMPLEARCHIVE} ${EXAMPLESDIR}/archive + ${INSTALL_SCRIPT} ${EXAMPLEARCHIVE} ${EXAMPLESDIR}/archive) .include diff --git a/mail/p5-qpsmtpd/Makefile b/mail/p5-qpsmtpd/Makefile index 40de795f0a7e..50f1c8fded5f 100644 --- a/mail/p5-qpsmtpd/Makefile +++ b/mail/p5-qpsmtpd/Makefile @@ -58,16 +58,16 @@ pre-configure: @${RM} ${WRKSRC}/plugins/milter post-install: - @${MKDIR} ${DATADIR}/ + @${MKDIR} ${DATADIR} @${MKDIR} ${DATADIR}/plugins - cd ${WRKSRC}/plugins/ && ${COPYTREE_SHARE} \* ${DATADIR}/plugins/ + (cd ${WRKSRC}/plugins && ${COPYTREE_SHARE} . ${DATADIR}/plugins) .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR}/ + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR}/ - cd ${WRKSRC}/config.sample/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/ + @${MKDIR} ${EXAMPLESDIR} + (cd ${WRKSRC}/config.sample/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif .include diff --git a/security/p5-Authen-Radius/Makefile b/security/p5-Authen-Radius/Makefile index 5782de18a10a..23a99195e7eb 100644 --- a/security/p5-Authen-Radius/Makefile +++ b/security/p5-Authen-Radius/Makefile @@ -39,6 +39,6 @@ post-patch: post-install: @${MKDIR} ${STAGEDIR}${DATADIR} - cd ${WRKSRC}/raddb/ && ${INSTALL_DATA} ${RADDBFILES} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}/raddb/ && ${INSTALL_DATA} ${RADDBFILES} ${STAGEDIR}${DATADIR}) .include diff --git a/security/p5-Digest-MD4/Makefile b/security/p5-Digest-MD4/Makefile index 97a60f5e97b2..7791e0d44deb 100644 --- a/security/p5-Digest-MD4/Makefile +++ b/security/p5-Digest-MD4/Makefile @@ -24,8 +24,8 @@ PORTDOCS= Changes rfc1320.txt post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif diff --git a/security/p5-Net-SAML/Makefile b/security/p5-Net-SAML/Makefile index 8cd8c649874c..5d410fffc1d7 100644 --- a/security/p5-Net-SAML/Makefile +++ b/security/p5-Net-SAML/Makefile @@ -29,8 +29,8 @@ post-patch: post-install: .if !defined(NOPORTEXAMPLES) - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ - cd ${WRKSRC}/../ && ${INSTALL_SCRIPT} zxid.pl zxidhlo.pl ${STAGEDIR}${EXAMPLESDIR}/ + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/.. && ${INSTALL_SCRIPT} zxid.pl zxidhlo.pl ${STAGEDIR}${EXAMPLESDIR}) .endif .include diff --git a/shells/p5-Term-ShellUI/Makefile b/shells/p5-Term-ShellUI/Makefile index db390e47a40a..2dc0725caed8 100644 --- a/shells/p5-Term-ShellUI/Makefile +++ b/shells/p5-Term-ShellUI/Makefile @@ -19,10 +19,10 @@ USE_PERL5= configure post-install: .if !defined(NOPORTEXAMPLES) - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" - cd ${WRKSRC}/examples/ && ${INSTALL_SCRIPT} \ - fileman-example synopsis synopsis-big tui-sample ${STAGEDIR}${EXAMPLESDIR}/ + (cd ${WRKSRC}/examples/ && ${INSTALL_SCRIPT} \ + fileman-example synopsis synopsis-big tui-sample ${STAGEDIR}${EXAMPLESDIR}) .endif .include diff --git a/textproc/p5-HTML-Tidy/Makefile b/textproc/p5-HTML-Tidy/Makefile index 85b503899b47..910fa6a67e15 100644 --- a/textproc/p5-HTML-Tidy/Makefile +++ b/textproc/p5-HTML-Tidy/Makefile @@ -28,8 +28,8 @@ post-patch: post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif diff --git a/textproc/p5-PerlPoint-Converters/Makefile b/textproc/p5-PerlPoint-Converters/Makefile index 3fdbf76e8e29..1241f75a46d3 100644 --- a/textproc/p5-PerlPoint-Converters/Makefile +++ b/textproc/p5-PerlPoint-Converters/Makefile @@ -29,15 +29,15 @@ MAN3= Bundle::PerlPoint.3 \ PORTDOCS= # suck all DOCSDIR post-patch: - @cd ${WRKSRC}; ${CP} -R pp2html_styles images doc + @(cd ${WRKSRC} && ${CP} -R pp2html_styles images doc) @${PERL} -pi -e 's!../(images|pp2html_styles)!$$1!g' ${WRKSRC}/doc/*.cfg post-build: - @cd ${WRKSRC}/doc; make + @(cd ${WRKSRC}/doc && make) post-install: @${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/doc; ${FIND} . | ${CPIO} -padm ${DOCSDIR} + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}) .endif .include diff --git a/textproc/p5-PerlPoint-Package/Makefile b/textproc/p5-PerlPoint-Package/Makefile index fbed0c64f1b5..16614bc213ff 100644 --- a/textproc/p5-PerlPoint-Package/Makefile +++ b/textproc/p5-PerlPoint-Package/Makefile @@ -23,10 +23,10 @@ PORTDOCS= # suck all DOCSDIR post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/doc; ${FIND} . | ${CPIO} -padm ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}; ${FIND} utilities | ${CPIO} -padm ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + (cd ${WRKSRC} && ${COPYTREE_SHARE} utilities ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC}/demo; ${FIND} . | ${CPIO} -padm ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .endif .include diff --git a/textproc/p5-Text-NSP/Makefile b/textproc/p5-Text-NSP/Makefile index 0730ada75e56..6df62fc665c2 100644 --- a/textproc/p5-Text-NSP/Makefile +++ b/textproc/p5-Text-NSP/Makefile @@ -20,7 +20,7 @@ PORTDOCS= CHANGES README doc/FAQ.pod doc/NSP-Class-diagram.pdf \ .ifndef (NOPORTDOCS) post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Installing documentation in ${DOCSDIR}" .endif diff --git a/www/p5-WWW-Mechanize-Shell/Makefile b/www/p5-WWW-Mechanize-Shell/Makefile index f51dbd374a44..2c08b0a9d616 100644 --- a/www/p5-WWW-Mechanize-Shell/Makefile +++ b/www/p5-WWW-Mechanize-Shell/Makefile @@ -34,13 +34,13 @@ EXAMPLES= banking.postbank.de.mech hotmail.signup.mech wwwshell.pl post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif .if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ - cd ${WRKSRC}/bin/ && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/ + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/bin && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}) @${ECHO_MSG} "===> Documentation installed in ${EXAMPLESDIR}." .endif diff --git a/www/p5-WWW-Mechanize/Makefile b/www/p5-WWW-Mechanize/Makefile index 6ffc0104582b..e9a00fe3f3c0 100644 --- a/www/p5-WWW-Mechanize/Makefile +++ b/www/p5-WWW-Mechanize/Makefile @@ -33,8 +33,8 @@ PORTDOCS= ${DOCS:T} post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif