aboutsummaryrefslogtreecommitdiff
path: root/www/hs-http-server
diff options
context:
space:
mode:
Diffstat (limited to 'www/hs-http-server')
-rw-r--r--www/hs-http-server/Makefile7
-rw-r--r--www/hs-http-server/files/pkg-message.in7
2 files changed, 9 insertions, 5 deletions
diff --git a/www/hs-http-server/Makefile b/www/hs-http-server/Makefile
index 71316b1653f8..2a539cba4684 100644
--- a/www/hs-http-server/Makefile
+++ b/www/hs-http-server/Makefile
@@ -14,17 +14,18 @@ LICENSE= BSD
USE_CABAL= HTTP>=4000.2.0 mime>=0.3 network>=2 url>=2 utf8-string>=0.3.4
INSTALL_PORTEXAMPLES= cd ${WRKSRC}/example && \
- ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
+ ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
OPTIONS_DEFINE= EXAMPLES
OPTIONS_DEFAULT= EXAMPLES
-NO_STAGE= yes
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
.if ${PORT_OPTIONS:MEXAMPLES}
SUB_FILES= pkg-message
-SHOW_PKGMSG= yes
+
+post-install::
+ @${CAT} ${PKGMESSAGE}
.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/www/hs-http-server/files/pkg-message.in b/www/hs-http-server/files/pkg-message.in
index 0932f20ea899..d549047b1b56 100644
--- a/www/hs-http-server/files/pkg-message.in
+++ b/www/hs-http-server/files/pkg-message.in
@@ -1,5 +1,8 @@
- You have installed the directory:
+
+------------------------------------------------------------------------
+Note that the examples have been installed into this directory:
%%EXAMPLESDIR%%
- you'll have to install the port converters/hs-json to use it.
+The port converters/hs-json has to be installed in order to use them.
+------------------------------------------------------------------------