diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2002-08-26 11:50:13 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2002-08-26 11:50:13 +0000 |
commit | 330683ade7a5d6e8d2688129c0061c64f5d840a5 (patch) | |
tree | a95ca376b3f2d1b8753478028ac564bd26188ab6 /devel | |
parent | Upgrade to 1.3. (diff) |
Install manpages.
Approved by: dwcjr (mentor)
Notes
Notes:
svn path=/head/; revision=65038
Diffstat (limited to 'devel')
-rw-r--r-- | devel/c2hs/Makefile | 9 | ||||
-rw-r--r-- | devel/hs-c2hs/Makefile | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/devel/c2hs/Makefile b/devel/c2hs/Makefile index 91d90f1c8601..5af3f17d1eda 100644 --- a/devel/c2hs/Makefile +++ b/devel/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> 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> |