diff options
author | obraun <obraun@FreeBSD.org> | 2002-08-26 11:50:13 +0000 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2002-08-26 11:50:13 +0000 |
commit | ea68d03aeaa2480c5d6ac077a05b905addc94b60 (patch) | |
tree | 0507bbba64851352006c1f41b812d2a7bdc6b56f /devel/hs-c2hs | |
parent | 93209de879da7aea6c054ee8ed158c4e6cad7707 (diff) | |
download | FreeBSD-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/Makefile | 9 |
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> |