aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-08-15 22:43:55 +0800
committermiwi <miwi@FreeBSD.org>2006-08-15 22:43:55 +0800
commit5eb099c1690f8a3554335191a9bdd1511b9e6783 (patch)
treee94a21465f4b20e8f54fb960168d306cb6bd0e37 /www
parent26ac23e7260d3396ec0c988e32e2c471ed41bfc8 (diff)
downloadfreebsd-ports-gnome-5eb099c1690f8a3554335191a9bdd1511b9e6783.tar.gz
freebsd-ports-gnome-5eb099c1690f8a3554335191a9bdd1511b9e6783.tar.zst
freebsd-ports-gnome-5eb099c1690f8a3554335191a9bdd1511b9e6783.zip
- Respect DESTDIR
PR: ports/101889 Submitted by: chinsan <chinsan.tw(at)gmail.com> Approved by: krion (mentor)
Diffstat (limited to 'www')
-rw-r--r--www/b2evolution/Makefile12
-rw-r--r--www/b2evolution/pkg-message2
2 files changed, 7 insertions, 7 deletions
diff --git a/www/b2evolution/Makefile b/www/b2evolution/Makefile
index 20d7d3e20fee..57d440fc15eb 100644
--- a/www/b2evolution/Makefile
+++ b/www/b2evolution/Makefile
@@ -42,14 +42,14 @@ pre-install:
&& ${ECHO_CMD} @dirrm ${B2EVO_DIR} >> ${PLIST}
do-install:
- -${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
+ ${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
post-install:
- @${SED} -e 's|%%PREFIX%%|${PREFIX}|; s|%%PORTNAME%%|${PORTNAME}|' \
+ @${SED} -e 's|%%TARGETDIR%%|${TARGETDIR}|; s|%%PORTNAME%%|${PORTNAME}|' \
-e 's|%%B2EVO_DIR%%|${B2EVO_DIR}|; s|%%B2EVO_URL%%|${B2EVO_URL}|' \
${PKGMESSAGE}
diff --git a/www/b2evolution/pkg-message b/www/b2evolution/pkg-message
index 6155d17acc8e..5f4c7080d0e7 100644
--- a/www/b2evolution/pkg-message
+++ b/www/b2evolution/pkg-message
@@ -19,7 +19,7 @@ you may have to follow this steps to make it work correctly.
#
# Directives to allow use of b2evolution
#
- Alias /%%PORTNAME%% "%%PREFIX%%/%%B2EVO_DIR%%/"
+ Alias /%%PORTNAME%% "%%TARGETDIR%%/%%B2EVO_DIR%%/"
4.Open b2evo installation page in your web browser
and login with b2evouser/b2evopassword