aboutsummaryrefslogtreecommitdiff
path: root/www/openacs/Makefile
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2008-04-14 15:33:52 +0000
committerMartin Matuska <mm@FreeBSD.org>2008-04-14 15:33:52 +0000
commit4c68fbe1bef2d9a6d3e5a0e16141c24579ab5c45 (patch)
tree003f810fa2c460b673d017bdc643c2c56cd4aae3 /www/openacs/Makefile
parent2db079eaedbc63d79444e67b20c1aaf1a35513fd (diff)
downloadports-4c68fbe1bef2d9a6d3e5a0e16141c24579ab5c45.tar.gz
ports-4c68fbe1bef2d9a6d3e5a0e16141c24579ab5c45.zip
Notes
Diffstat (limited to 'www/openacs/Makefile')
-rw-r--r--www/openacs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/openacs/Makefile b/www/openacs/Makefile
index 794b33a36f07..502b27fad0f6 100644
--- a/www/openacs/Makefile
+++ b/www/openacs/Makefile
@@ -106,7 +106,7 @@ pre-install:
@ ${ECHO} @unexec if cmp -hsz %D/%%EXAMPLESDIR%%/config.tcl %D/${OPENACSBASE:S/${PREFIX}\///}/etc/${PORTNAME}-config.tcl \; then ${RM} %D/${OPENACSBASE:S/${PREFIX}\///}/etc/${PORTNAME}-config.tcl \; fi >> ${PLIST}
@ ${FIND} ${WRKSRC}/etc ! -type d | \
${SED} 's|${WRKSRC}/etc|%%EXAMPLESDIR%%|' >> ${PLIST}
- @ ${ECHO} @exec if ! [ -f ${OPENACSBASE:S/%D\///}/etc/${PORTNAME}-config.tcl ] \; then ${CP} %D/%%EXAMPLESDIR%%/config.tcl %D/${OPENACSBASE:S/${PREFIX}\///}/etc/${PORTNAME}-config.tcl \; fi >> ${PLIST}
+ @ ${ECHO} @exec if ! [ -f ${OPENACSBASE:S/%D\///}/etc/${PORTNAME}-config.tcl ] \; then ${MKDIR} %D/${OPENACSBASE:S/${PREFIX}\///}/etc \; ${CP} %D/%%EXAMPLESDIR%%/config.tcl %D/${OPENACSBASE:S/${PREFIX}\///}/etc/${PORTNAME}-config.tcl \; fi >> ${PLIST}
@ ${ECHO} @dirrmtry ${OPENACSBASE:S/${PREFIX}\///}/etc >> ${PLIST}
@ ${FIND} ${WRKSRC} -type d ! -path '${WRKSRC}/etc*' | \
${SORT} -r | \