diff options
Diffstat (limited to 'www/mod_frontpage/Makefile')
-rw-r--r-- | www/mod_frontpage/Makefile | 7 |
1 files changed, 6 insertions, 1 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> |