summaryrefslogtreecommitdiff
path: root/devel/hs-c2hs/Makefile
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-08-26 11:50:13 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-08-26 11:50:13 +0000
commit330683ade7a5d6e8d2688129c0061c64f5d840a5 (patch)
treea95ca376b3f2d1b8753478028ac564bd26188ab6 /devel/hs-c2hs/Makefile
parentUpgrade to 1.3. (diff)
Install manpages.
Approved by: dwcjr (mentor)
Notes
Notes: svn path=/head/; revision=65038
Diffstat (limited to 'devel/hs-c2hs/Makefile')
-rw-r--r--devel/hs-c2hs/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/devel/hs-c2hs/Makefile b/devel/hs-c2hs/Makefile
index 91d90f1c8601..5af3f17d1eda 100644
--- a/devel/hs-c2hs/Makefile
+++ b/devel/hs-c2hs/Makefile
@@ -20,4 +20,13 @@ USE_GMAKE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX} --enable-add-package
+MAN1= c2hs-config.1 c2hs.1
+
+post-build:
+ @(cd ${WRKSRC}/doc/c2hs && ${GMAKE} man1/c2hs-config.1 man1/c2hs.1)
+
+post-install:
+ @(cd ${WRKSRC}/doc/c2hs/man1 && \
+ ${INSTALL_MAN} c2hs-config.1 c2hs.1 ${MANPREFIX}/man/man1)
+
.include <bsd.port.mk>