diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-05-16 10:59:57 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-05-16 10:59:57 +0000 |
commit | d51fd9087e5d7604d85501ea5606270eab3e5de5 (patch) | |
tree | 4c5c3c1161509632bd9c684cba43b8cae1f5798b | |
parent | Install the exec wrappers into $(prefix)/sbin/fpstatic (diff) |
Add a note about the hardcoded /usr/local in the frontpage binaries.
Notes
Notes:
svn path=/head/; revision=59256
-rw-r--r-- | www/mod_frontpage/Makefile | 7 | ||||
-rw-r--r-- | www/mod_frontpage/pkg-message | 10 |
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 ************************************************************************ |