summaryrefslogtreecommitdiff
path: root/www/mod_frontpage/Makefile
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-05-16 10:59:57 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-05-16 10:59:57 +0000
commitd51fd9087e5d7604d85501ea5606270eab3e5de5 (patch)
tree4c5c3c1161509632bd9c684cba43b8cae1f5798b /www/mod_frontpage/Makefile
parentInstall 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
Diffstat (limited to 'www/mod_frontpage/Makefile')
-rw-r--r--www/mod_frontpage/Makefile7
1 files changed, 6 insertions, 1 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>