diff options
author | mbr <mbr@FreeBSD.org> | 2002-05-16 10:59:57 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-05-16 10:59:57 +0000 |
commit | eb290ac86547c03ca9a5d135e10a5a91d40feee3 (patch) | |
tree | 0435f5484b151f9486186ff080413c03cb1d490d /www/mod_frontpage | |
parent | fbe935e9f111bd169fde07dab8ec5ab75a98667a (diff) | |
download | FreeBSD-ports-eb290ac86547c03ca9a5d135e10a5a91d40feee3.zip FreeBSD-ports-eb290ac86547c03ca9a5d135e10a5a91d40feee3.tar.gz |
Add a note about the hardcoded /usr/local in the frontpage binaries.
Diffstat (limited to 'www/mod_frontpage')
-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 e5c2e37..2d188b2 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 2fab9e3..b9e799d 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 ************************************************************************ |