aboutsummaryrefslogtreecommitdiffstats
path: root/www/b2evolution/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/b2evolution/Makefile')
-rw-r--r--www/b2evolution/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/b2evolution/Makefile b/www/b2evolution/Makefile
index 49d7f89c5b3..2b6d285ba6d 100644
--- a/www/b2evolution/Makefile
+++ b/www/b2evolution/Makefile
@@ -42,14 +42,14 @@ pre-install:
&& ${ECHO_CMD} @dirrm ${B2EVO_DIR} >> ${PLIST}
do-install:
- ${MKDIR} ${TARGETDIR}/${B2EVO_DIR}
- @${CHMOD} 755 ${TARGETDIR}/${B2EVO_DIR}
- @${CP} -R ${WRKSRC}/ ${TARGETDIR}/${B2EVO_DIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TARGETDIR}/${B2EVO_DIR}
- @${CHMOD} 665 ${TARGETDIR}/${B2EVO_DIR}/blogs/conf/_config.php
+ ${MKDIR} ${PREFIX}/${B2EVO_DIR}
+ @${CHMOD} 755 ${PREFIX}/${B2EVO_DIR}
+ @${CP} -R ${WRKSRC}/ ${PREFIX}/${B2EVO_DIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${B2EVO_DIR}
+ @${CHMOD} 665 ${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php
post-install:
- @${SED} -e 's|%%TARGETDIR%%|${TARGETDIR}|' \
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
-e 's|%%B2EVO_DIR%%|${B2EVO_DIR}|; s|%%B2EVO_URL%%|${B2EVO_URL}|' \
${PKGMESSAGE}