summaryrefslogtreecommitdiffstats
path: root/devel/hs-c2hs
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2002-08-26 11:50:13 +0000
committerobraun <obraun@FreeBSD.org>2002-08-26 11:50:13 +0000
commitea68d03aeaa2480c5d6ac077a05b905addc94b60 (patch)
tree0507bbba64851352006c1f41b812d2a7bdc6b56f /devel/hs-c2hs
parent93209de879da7aea6c054ee8ed158c4e6cad7707 (diff)
downloadFreeBSD-ports-ea68d03aeaa2480c5d6ac077a05b905addc94b60.zip
FreeBSD-ports-ea68d03aeaa2480c5d6ac077a05b905addc94b60.tar.gz
Install manpages.
Approved by: dwcjr (mentor)
Diffstat (limited to 'devel/hs-c2hs')
-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 91d90f1..5af3f17 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>
OpenPOWER on IntegriCloud