summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/mod_frontpage/Makefile7
-rw-r--r--www/mod_frontpage/pkg-message10
2 files changed, 15 insertions, 2 deletions
diff --git a/www/mod_frontpage/Makefile b/www/mod_frontpage/Makefile
index e5c2e374bacb..2d188b29e76e 100644
--- a/www/mod_frontpage/Makefile
+++ b/www/mod_frontpage/Makefile
@@ -65,6 +65,11 @@ pre-fetch:
post-install:
- @${CAT} ${PKGMESSAGE}
+.if (${PREFIX} != "/usr/local")
+ @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|'
+.else
+ @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
+ | ${GREP} -v "ln"
+.endif
.include <bsd.port.post.mk>
diff --git a/www/mod_frontpage/pkg-message b/www/mod_frontpage/pkg-message
index 2fab9e381064..b9e799d6bf70 100644
--- a/www/mod_frontpage/pkg-message
+++ b/www/mod_frontpage/pkg-message
@@ -27,6 +27,14 @@ FrontPageAdminDisable # Disable Frontpage Extensions fpadmcgi.exe
After you have made these changes, you'll have to execute:
-/usr/local/frontpage/version5.0/fp_install.sh
+%%PREFIX%%/frontpage/version5.0/fp_install.sh
+
+
+If you have installed the port in another PREFIX than "/usr/local"
+you have to create a symlink. Microsoft has hardcoded the local
+path in their binarys. If you do not use fp_install.sh, you have
+to create the link manually:
+
+ln -s %%PREFIX%%/frontpage /usr/local/frontpage
************************************************************************